|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.facet.search.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. |
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.categoryPath
public final int getNumValidDescendants()
root facet result
node
, up till the requested depth. 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 |