Is there a way to search a ferret index and have it only display exact matches? I read in other posts that you should have an untokenized field for the exact matches, but I also use the same field for doing unexact matches too (with the stemming analyzer). Would I need a copy of this field in the index untokenized to do an exact match or is there any sort of flag or something I could pass to make it only match exactly when i want to do an exact search? Thanks, Ray -- Posted via http://www.ruby-forum.com/.
you may have to use 2 different search finds. one without the # and another with the # for exact matches? Raymond O''connor wrote:> Is there a way to search a ferret index and have it only display exact > matches? > > I read in other posts that you should have an untokenized field for the > exact matches, but I also use the same field for doing unexact matches > too (with the stemming analyzer). Would I need a copy of this field in > the index untokenized to do an exact match or is there any sort of flag > or something I could pass to make it only match exactly when i want to > do an exact search? > > Thanks, > Ray-- Posted via http://www.ruby-forum.com/.