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 org.apache.lucene.search.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()
FacetDocument field name this facet is targeting.
The field needs to be indexed with Analyze.NO.getFieldName in interface FacetDocument field name this facet is targeting.public String getFacetingName()
getFacetingName in interface FacetFacet belongs to.FacetingRequest.getFacetingName()public abstract org.apache.lucene.search.Query getFacetQuery()
getFacetQuery in interface FacetQuery which which can be executed to retrieve all
documents matching the value of this facet.Copyright © 2006–2016 Hibernate. All rights reserved.