Maybe it's a silly observation... But are you lowercasing at indexing/querying time ? Can you show us the schema analysis config for the field type you use ? Because strictly talking about Levenshtein distance bridwater is 3 edits from Bridgewater.
Cheers 2015-09-28 8:26 GMT+01:00 anil.vadhavane <an...@procentris.com>: > Hello, > > I'm using Lucene Solr 4.10.4 for Keyword match functionality. I found some > issues with distance rule. > I have added search keyword with distance 2 "Bridgewater~2". > When I make search it did not return "bridwater" in results which should > be. > > If I change placing of 'ge' at any other place it works. For e.g. > "Bridwgeater~2" > > Has anyone faced similar issues and possible solutions. > > Thanks. > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Keyword-match-distance-rule-issue-tp4231624.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- -------------------------- Benedetti Alessandro Visiting card - http://about.me/alessandro_benedetti Blog - http://alexbenedetti.blogspot.co.uk "Tyger, tyger burning bright In the forests of the night, What immortal hand or eye Could frame thy fearful symmetry?" William Blake - Songs of Experience -1794 England