public class ScopeFacetRequest extends FacetRequest
Performance Note: it is recommended you only use a ScopeFacetRequest
on
fields that have highlight.method
schema
field property set to "index".
Modifier and Type | Class and Description |
---|---|
static class |
ScopeFacetRequest.CaseMode
Case Normalization Method To Apply To Extracted Scopes.
|
FacetRequest.SortBy
DEFAULT_MAX_MEMORY_USAGE, DEFAULT_PRIMARY_SORT, DEFAULT_SAMPLE_MODE, DEFAULT_SECONDARY_SORT, DEFAULT_SORT_BY
Constructor and Description |
---|
ScopeFacetRequest() |
ScopeFacetRequest(FieldExpression field,
String scope) |
ScopeFacetRequest(String field,
String scope) |
Modifier and Type | Method and Description |
---|---|
protected int |
addName(StringBuilder buffer) |
protected int |
addParameters(StringBuilder buffer,
int index) |
boolean |
equals(Object other) |
ScopeFacetRequest.CaseMode |
getCaseMode() |
String |
getScope() |
int |
hashCode() |
boolean |
isFacetFinder()
true if the facet finder can replace this FacetRequest with a suggested FacetRequest. |
void |
setCaseMode(ScopeFacetRequest.CaseMode value) |
void |
setFacetFinder(boolean value)
Set if FacetFinder is allowed to provide a suggestion for this FacetRequest.
|
void |
setScope(String value) |
addParameter, clone, getBucketComparator, getDistributedMaxBuckets, getDistributedMinBucketCount, getField, getFieldExpression, getMaxBuckets, getMaxMemoryUsage, getMinBucketCount, getName, getPrimarySortOrder, getRawDistributedMaxBuckets, getRawDistributedMinBucketCount, getRawMaxBuckets, getRawMinBucketCount, getSecondarySortOrder, getShallowMode, getSortBy, isCalculateStatistics, isFacetTokens, setCalculateStatistics, setDefaults, setDistributedMaxBuckets, setDistributedMaxBuckets, setDistributedMinBucketCount, setDistributedMinBucketCount, setFacetTokens, setField, setFieldExpression, setMaxBuckets, setMaxBuckets, setMaxMemoryUsage, setMinBucketCount, setMinBucketCount, setName, setPrimarySortOrder, setSecondarySortOrder, setShallowMode, setSortOrder, setSortOrder, setSortOrder, toString, valueOf
public ScopeFacetRequest()
public ScopeFacetRequest(FieldExpression field, String scope)
public final boolean isFacetFinder()
true
if the facet finder can replace this FacetRequest with a suggested FacetRequest.
This will replace a FacetRequest for a numeric field with a RangeFacetRequest when facet finder runs.
isFacetFinder
in class FacetRequest
public final void setFacetFinder(boolean value)
setFacetFinder
in class FacetRequest
public String getScope()
public void setScope(String value)
public ScopeFacetRequest.CaseMode getCaseMode()
public void setCaseMode(ScopeFacetRequest.CaseMode value)
protected int addName(StringBuilder buffer)
addName
in class FacetRequest
protected int addParameters(StringBuilder buffer, int index)
addParameters
in class FacetRequest
public int hashCode()
hashCode
in class FacetRequest
public boolean equals(Object other)
equals
in class FacetRequest
Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.