Hi ,
is it possible with the kuery language to do an exact match on a field ?
By example :
to match "url":"http://myDomaine.com/" but exclude all the http://myDomaine.com/* possibility
Thanks and Regards
Hi ,
is it possible with the kuery language to do an exact match on a field ?
By example :
to match "url":"http://myDomaine.com/" but exclude all the http://myDomaine.com/* possibility
Thanks and Regards
Hmm, I'm not sure, maybe @Bargs can answer this one?
Exact matches are easier to query for if your field is mapped as a keyword
. It looks like your url
field is a text
field. Do you have a url.keyword
field? (Elasticsearch would create this multi field by default) If so you should be able to do search for an exact match with it e.g. url.keyword:"http://mydomain.com/"
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.