I have a schema whereby each document contains a single array field named
"keywords_search". I was wondering whether it's possible to perform a
phrase match using filters alone. I'm using the default tokenizer/analyzer
and don't need ranking. Here's what I have so far:
A term query/filter will only match on an exact match since the term
is not analyzed (entire string is one token). Your keywords_search
field is analyzed (broken down into separate tokens) and therefore it
would not match (it can in some cases).
For filters, your only option is the Query Filter:
I have a schema whereby each document contains a single array field named
"keywords_search". I was wondering whether it's possible to perform a phrase
match using filters alone. I'm using the default tokenizer/analyzer and
don't need ranking. Here's what I have so far:
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.