Re: query syntax problem

2006-08-07 Thread Yiqun \"Eddie\" Cao
Setting field to Field.Index.UN_TOKENIZED works perfectly. Thanks to all. Regards, Eddie On 8/7/06, Nicolas Lalevée <[EMAIL PROTECTED]> wrote: Le Lundi 07 Août 2006 19:28, Yiqun "Eddie" Cao a écrit: > Hi, > > We are using lucene in a chemistry database, and we are dealing with > special words

Re: query syntax problem

2006-08-07 Thread Nicolas Lalevée
Le Lundi 07 Août 2006 19:28, Yiqun "Eddie" Cao a écrit : > Hi, > > We are using lucene in a chemistry database, and we are dealing with > special words containing both digits and characters in English alphabets, > such as PFC-0234. To prevent lucene from cutting the word into two, we have > replace

Re: query syntax problem

2006-08-07 Thread Erick Erickson
When you say "we've tried the whitespace analyzer", did you mean for BOTH indexing and searching? If you ony use it for one of those, you'd see results like this. And do you use Luke? It'll let you examine your index and see what's *actually* in it. It's the first place I go when I don't get resu