I search in the Discover tab in the following ways:
1- field:True
2- field IS True
('True' is string not the boolean here)
and get the different number of results.
What is the difference between above two search queries? (':' between 'is')
I search in the Discover tab in the following ways:
1- field:True
2- field IS True
('True' is string not the boolean here)
and get the different number of results.
What is the difference between above two search queries? (':' between 'is')
Hi @Lyncean_Cura,
the query is interpreted as a lucene query string query. That means that field:True
matches all documents that contain True
in the field named field
. field IS True
on the other hand matches all documents that contain one or more of field
, is
or true
in any field.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.