protected static class QueryElevationComponent.Elevation extends Object
| Modifier and Type | Field and Description |
|---|---|
Set<BytesRef> |
elevatedIds |
Set<BytesRef> |
excludedIds |
TermQuery[] |
excludeQueries |
BooleanQuery |
includeQuery |
public final BooleanQuery includeQuery
public final TermQuery[] excludeQueries
public Elevation(Set<BytesRef> elevatedIds, Set<BytesRef> excludedIds, String queryFieldName)
elevatedIds - The ids of the elevated documents that should appear on top of search results; can be null.
In configured order.excludedIds - The ids of the excluded documents that should not appear in search results; can be null.queryFieldName - The field name to use to create query terms.Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.