Query works in Luke but not in code...

2008-05-22 Thread Casey Dement
Hi - trying to execute a search in Lucene and getting results I don't understand :( The index contains fields search_text and type - both indexed tokenized. I'm attempting to execute the query: +(search_text:austell~0.9 search_text:ga~0.9) +(type:1 type:4) And expect to match document 156297 (

Re: Query works in Luke but not in code...

2008-05-28 Thread Casey Dement
hanks! Casey On 5/23/08 5:00 AM, "Ian Lea" <[EMAIL PROTECTED]> wrote: >> ... >> And expect to match document 156297 (search_text=="Austell GA", type==1). >> ... >> System.out.println(searcher.explain(query, 156296)); > > 156297 != 156296 &g

Re: Query works in Luke but not in code...

2008-06-02 Thread Casey Dement
eby adding unseen characters to the end of the String that just monkey up everything :) This is of course mentioned in the documentation - I just overlooked that little detail... On 5/28/08 5:10 PM, "Casey Dement" <[EMAIL PROTECTED]> wrote: > LOL - I sure wish it was! :) >