Re: Query text Tokenize issue

2005-07-28 Thread Erik Hatcher
On Jul 27, 2005, at 7:26 PM, Indu Abeyaratna wrote: I have a field index as keyword. And have two records "J400-C-V1- S10-T1" and "J400-C-V-S10-T1" When I search for "J400-C-V1-S10-T1", it returns me matching record, but when I Search for "J400-C-V-S10-T1" it doesn't return the matching

Re: Query text Tokenize issue

2005-07-27 Thread Otis Gospodnetic
Hi, I believe your problem is described on page 121 in the Lucene book: http://www.lucenebook.com/search?query=%22dealing+with+keyword+fields%22 The solution for you may be to write your own Analyzer that knows how to correctly tokenize or not tokenize certain fields in your index. Using PerFiel