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 |
---|---|
FacetDebugInfo |
getDebugInfo() |
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 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-2020 Apache Software Foundation. All Rights Reserved.