org.apache.lucene.facet.params
Class FacetSearchParams

java.lang.Object
  extended by org.apache.lucene.facet.params.FacetSearchParams

public class FacetSearchParams
extends Object

Defines parameters that are needed for faceted search: the list of facet facet requests which should be aggregated as well as the indexing params that were used to index them.

WARNING: This API is experimental and might change in incompatible ways in the next release.

Field Summary
 List<FacetRequest> facetRequests
           
 FacetIndexingParams indexingParams
           
 
Constructor Summary
FacetSearchParams(FacetIndexingParams indexingParams, FacetRequest... facetRequests)
          Initializes with the given requests and FacetIndexingParams.
FacetSearchParams(FacetIndexingParams indexingParams, List<FacetRequest> facetRequests)
          Initializes with the given requests and FacetIndexingParams.
FacetSearchParams(FacetRequest... facetRequests)
          Initializes with the given requests and default FacetIndexingParams.DEFAULT.
FacetSearchParams(List<FacetRequest> facetRequests)
          Initializes with the given requests and default FacetIndexingParams.DEFAULT.
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

indexingParams

public final FacetIndexingParams indexingParams

facetRequests

public final List<FacetRequest> facetRequests
Constructor Detail

FacetSearchParams

public FacetSearchParams(FacetRequest... facetRequests)
Initializes with the given requests and default FacetIndexingParams.DEFAULT. If you used a different FacetIndexingParams, you should use FacetSearchParams(FacetIndexingParams, List).


FacetSearchParams

public FacetSearchParams(List<FacetRequest> facetRequests)
Initializes with the given requests and default FacetIndexingParams.DEFAULT. If you used a different FacetIndexingParams, you should use FacetSearchParams(FacetIndexingParams, List).


FacetSearchParams

public FacetSearchParams(FacetIndexingParams indexingParams,
                         FacetRequest... facetRequests)
Initializes with the given requests and FacetIndexingParams.


FacetSearchParams

public FacetSearchParams(FacetIndexingParams indexingParams,
                         List<FacetRequest> facetRequests)
Initializes with the given requests and FacetIndexingParams.

Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.