All queries can be constructed using the QueryBuilders static factory
methods (filters can be created using FilterBuilders).
QueryBuilders#fieldQuery is the one you are after.
Yes, I know of fieldQuery, but would specifying fieldQuery("_all",
value) search across all fields in the document, because I thought in
fieldQuery("fieldkey","value"), it would look for that specific
field.
Is my understanding wrong or fieldQuery("_all", value) will work for
me?
All queries can be constructed using the QueryBuilders static factory
methods (filters can be created using FilterBuilders).
QueryBuilders#fieldQuery is the one you are after.
Yes, I know of fieldQuery, but would specifying fieldQuery("_all",
value) search across all fields in the document, because I thought in
fieldQuery("fieldkey","value"), it would look for that specific
field.
Is my understanding wrong or fieldQuery("_all", value) will work for
me?
All queries can be constructed using the QueryBuilders static factory
methods (filters can be created using FilterBuilders).
QueryBuilders#fieldQuery is the one you are after.
Yes, I know of fieldQuery, but would specifying fieldQuery("_all",
value) search across all fields in the document, because I thought in
fieldQuery("fieldkey","value"), it would look for that specific
field.
Is my understanding wrong or fieldQuery("_all", value) will work for
me?
All queries can be constructed using the QueryBuilders static factory
methods (filters can be created using FilterBuilders).
QueryBuilders#fieldQuery is the one you are after.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.