public abstract class AbstractFacet extends Object implements Facet
Constructor and Description |
---|
AbstractFacet(String facetingName,
String fieldName,
String value,
int count) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getCount() |
String |
getFacetingName() |
abstract Query |
getFacetQuery() |
String |
getFieldName()
Return the
Document field name this facet is targeting. |
String |
getValue() |
int |
hashCode() |
String |
toString() |
public String getValue()
public String getFieldName()
Facet
Document
field name this facet is targeting.
The field needs to be indexed with Analyze.NO
.getFieldName
in interface Facet
Document
field name this facet is targeting.public String getFacetingName()
getFacetingName
in interface Facet
Facet
belongs to.FacetingRequest.getFacetingName()
public abstract Query getFacetQuery()
getFacetQuery
in interface Facet
Query
which which can be executed to retrieve all
documents matching the value of this facet.Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved