public final class QueryConstants extends Object
Query objects.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ENCODING
The query encoding used by Elasticsearch.
|
static int |
VIEW_ALL
Deprecated.
QueryParser.setListViewSize(int) currently treats every
negative number identically; -1 is not special. Furthermore,
(1) QueryParser.setListViewSize(int) maps -1 onto the
string
"all", which FAS interprets as the value 2000;
(2) as such the only guaranteed way to get all items
is to pass the value Integer.MAX_VALUE; (3) FAS takes
fh_view_size=-1 to mean that the
default number of items is to be shown; that
is confusing. This constant in likely to be removed from the
next release of the Elasticsearch Query Language. |
public static final String DEFAULT_ENCODING
@Deprecated public static final int VIEW_ALL
"all", which FAS interprets as the value 2000;
(2) as such the only guaranteed way to get all items
is to pass the value Integer.MAX_VALUE; (3) FAS takes
fh_view_size=-1 to mean that the
default number of items is to be shown; that
is confusing. This constant in likely to be removed from the
next release of the Elasticsearch Query Language.Copyright © 2021 RWS Group for and on behalf of its affiliates and subsidiaries. All rights reserved.