|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.facet.search.params.FacetSearchParams
public class FacetSearchParams
Faceted search parameters indicate for which facets should info be gathered.
The contained facet requests define for which facets should info be gathered.
Contained faceted indexing parameters provide required info on how to read and interpret the underlying faceted information in the search index.
Field Summary | |
---|---|
protected List<FacetRequest> |
facetRequests
|
protected FacetIndexingParams |
indexingParams
|
Constructor Summary | |
---|---|
FacetSearchParams()
Construct with default faceted indexing parameters. |
|
FacetSearchParams(FacetIndexingParams indexingParams)
Construct with specific faceted indexing parameters. |
Method Summary | |
---|---|
void |
addFacetRequest(FacetRequest facetRequest)
Add a facet request to apply for this faceted search. |
CategoryListCache |
getClCache()
|
FacetIndexingParams |
getFacetIndexingParams()
A list of FacetRequest objects, determining what to count. |
List<FacetRequest> |
getFacetRequests()
Parameters which controlled the indexing of facets, and which are also needed during search. |
void |
setClCache(CategoryListCache clCache)
Set Cached Category Lists data to be used in Faceted search. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final FacetIndexingParams indexingParams
protected final List<FacetRequest> facetRequests
Constructor Detail |
---|
public FacetSearchParams(FacetIndexingParams indexingParams)
addFacetRequest(FacetRequest)
must be called at least once
for this faceted search to find any faceted result.
indexingParams
- Indexing faceted parameters which were used at indexing time.addFacetRequest(FacetRequest)
public FacetSearchParams()
addFacetRequest(FacetRequest)
must be called at least once
for this faceted search to find any faceted result.
addFacetRequest(FacetRequest)
Method Detail |
---|
public final FacetIndexingParams getFacetIndexingParams()
FacetRequest
objects, determining what to count.
If the returned collection is empty, the faceted search will return no facet results!
public final List<FacetRequest> getFacetRequests()
public void addFacetRequest(FacetRequest facetRequest)
FacetResult
s
facetRequest
- facet request to be added.public String toString()
toString
in class Object
public CategoryListCache getClCache()
public void setClCache(CategoryListCache clCache)
clCache
- the cldCache to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |