public class FacetContext extends Object
Modifier and Type | Field and Description |
---|---|
static int |
IS_REFINEMENT |
static int |
IS_SHARD |
static int |
SKIP_FACET |
Constructor and Description |
---|
FacetContext() |
Modifier and Type | Method and Description |
---|---|
DocSet |
getBase() |
FacetDebugInfo |
getDebugInfo() |
Map<String,Object> |
getFacetInfo() |
FacetProcessor<?> |
getFacetProcessor() |
Query |
getFilter() |
int |
getFlags() |
FacetContext |
getParent() |
QueryContext |
getQueryContext() |
SolrQueryRequest |
getRequest() |
SolrIndexSearcher |
getSearcher() |
boolean |
isShard() |
void |
setDebugInfo(FacetDebugInfo debugInfo) |
FacetContext |
sub(Query filter,
DocSet domain) |
public static final int IS_SHARD
public static final int IS_REFINEMENT
public static final int SKIP_FACET
public void setDebugInfo(FacetDebugInfo debugInfo)
public FacetDebugInfo getDebugInfo()
public boolean isShard()
public FacetProcessor<?> getFacetProcessor()
public QueryContext getQueryContext()
public SolrQueryRequest getRequest()
public SolrIndexSearcher getSearcher()
public Query getFilter()
public DocSet getBase()
public FacetContext getParent()
public int getFlags()
public FacetContext sub(Query filter, DocSet domain)
filter
- The filter for the bucket that resulted in this context/domain. Can be null if this is the root context.domain
- The resulting set of documents for this facet.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.