I ran a term query and didn't get the expected results. So I read
through some of the past conversations, looked up Lucene TermQuery and
I'm still a little confused about what's going wrong. It seems what
I'm doing should work.
The inputs to a term query are not analyzed, implying that it must
match the exact term as stored in the index.
What analysis happens to the 'name' field on the index side?
If you used a non-lowercasing white space analyzer that should match.
I assume your analyzer is lower casing, so searching on term 'jenson'
should work.
Field queries are analyzed, which is why that works.
I ran a term query and didn't get the expected results. So I read
through some of the past conversations, looked up Lucene TermQuery and
I'm still a little confused about what's going wrong. It seems what
I'm doing should work.
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.