You can handle the "matching" part by defining the correct analyzer for the
source field. So for example, if you set define source as "not_analyzed",
it should perform a case-sensitive exact match without going through text
analysis.
On Tuesday, January 21, 2014 10:55:12 AM UTC-5, Tomasz Romanczuk wrote:
I'm going to use percolate option to index my queries. Some of them
contains special characters (like "-", "+"). For given document i.e.:
Where should I define source as not_analyzed? During index creation (in
mapping)? or in queries?
W dniu wtorek, 21 stycznia 2014 17:50:02 UTC+1 użytkownik Binh Ly napisał:
You can handle the "matching" part by defining the correct analyzer for
the source field. So for example, if you set define source as
"not_analyzed", it should perform a case-sensitive exact match without
going through text analysis.
On Tuesday, January 21, 2014 10:55:12 AM UTC-5, Tomasz Romanczuk wrote:
I'm going to use percolate option to index my queries. Some of them
contains special characters (like "-", "+"). For given document i.e.:
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.