|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.facet.search.results.FacetResult
public class FacetResult
Result of faceted search.
Constructor Summary | |
---|---|
FacetResult(FacetRequest facetRequest,
FacetResultNode rootNode,
int numValidDescendants)
|
Method Summary | |
---|---|
FacetRequest |
getFacetRequest()
Request for which this result was obtained. |
FacetResultNode |
getFacetResultNode()
Facet result node matching the root of the facet request . |
int |
getNumValidDescendants()
Number of descendants of root facet result node ,
up till the requested depth, which are valid by the
results handler in effect . |
String |
toString()
|
String |
toString(String prefix)
String representation of this facet result. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FacetResult(FacetRequest facetRequest, FacetResultNode rootNode, int numValidDescendants)
Method Detail |
---|
public final FacetResultNode getFacetResultNode()
facet request
.
getFacetRequest()
,
FacetRequest.getCategoryPath()
public final int getNumValidDescendants()
root facet result node
,
up till the requested depth, which are valid by the
results handler in effect
. Typically -- have value != 0.
This number does not include the root node.
getFacetRequest()
,
FacetRequest.getDepth()
public final FacetRequest getFacetRequest()
public String toString(String prefix)
prefix
- prefix for each result linetoString()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |