can I have such a phrasequery?

2010-03-21 Thread luocanrao
Can I have suche a phrasequery. Exact match document add some score All other match document add 0 score. But all the documents that have the terms are valid. For example: Document 1: little boy is running Document 2:boy is little, I query little boy, Document 1 add score 100(Exact ma

Re: Trying to simplify MappingCharFilter to match whole field

2010-03-21 Thread Paul Taylor
Koji Sekiguchi wrote: Paul Taylor wrote: I'm trying to create a CharFilter which works like MappingCharFilter but only changes the matchString if the match String matches the whole field rather than a portion in the field (this is to handle some exceptions wiyout effecting other data). Trouble