Re: prefix query works, term query does not

2012-02-16 Thread Francisco A. Lozano
Use luke to see what terms are in your index and what your query looks like when parsed. Also, when I want to search the field with all the analysis stuff but also be able to search by exact keyword, I index it twice, with two fields with the same name: one of them is analyzed and the other not. I

Re: prefix query works, term query does not

2012-02-16 Thread Ian Lea
http://wiki.apache.org/lucene-java/LuceneFAQ#Why_am_I_getting_no_hits_.2BAC8_incorrect_hits.3F Different analyzers for indexing and searching would be my first guess. -- Ian. On Thu, Feb 16, 2012 at 8:34 AM, mete wrote: > Hello, > I have a noobie question. I am trying to implement a small poc