public interface ResultFilter extends QueryFilter
| Modifier and Type | Method and Description |
|---|---|
ResultFilter |
enableHighlightInAll()
Enables highlight in all fields.
|
ResultFilter |
enableHighlighting()
Enables highlighting for the results.
|
ResultFilter |
excludeFields(Set<String> fields)
Excludes Fields from the results.
|
ResultFilter |
maxResults(int maxResults)
Sets the maximum number of results to retrieve.
|
ResultFilter |
setIndex(String index)
Sets the index.
|
ResultFilter |
withResultSetRange(int start,
int end)
Gets a result set range.
|
getEndOfRange, getExcludeFields, getIndex, getMaxResults, getStartOfRange, highLightInAllIsEnabled, highLightingIsEnabledResultFilter excludeFields(Set<String> fields)
fields - a String array of field names to exclude.ResultFilter withResultSetRange(int start, int end)
Used to page results.
start - The start offsetend - The end offsetResultFilter maxResults(int maxResults)
maxResults - the maximum number of results.ResultFilter enableHighlighting()
ResultFilter enableHighlightInAll()
ResultFilter setIndex(String index)
index - the index name.Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries