Re: FuzzyLikeThis query and exact matches

2009-08-27 Thread Mark Harwood
I think those boosts shown are reflecting the edit distance. What we can't see from this is that the Similarity class used in execution is using the same IDF for all terms. The other factors at play will be the term frequency in the doc, its length and any doc boost. I don't have access to the c

Re: FuzzyLikeThis query and exact matches

2009-08-27 Thread Berkes Adam
After searching for term "desy" which has lot of variants in our index a rewritten (sub)query will look like this: (text:dey^0.22828968 text:des^0.22828968 text:dest^1.1557184 text:desk^1.1557184 text:desi^1.1557184 text:desf^1.1557184 text:desc^1.1557184 text:deny^1.1557184 text:defy^1.155718

Re: FuzzyLikeThis query and exact matches

2009-08-27 Thread Mark Harwood
Despite making IDF a constant the edit distance should remain a factor in the rankings so I would have thought this would give you what you need. Can you supply a more detailed example? Either print the rewritten query or use the explain function Cheers Mark On 27 Aug 2009, at 13:22, Ber