lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Benedetti <>
Subject Re: Keyword match distance rule issue
Date Wed, 30 Sep 2015 15:48:31 GMT
Hi, Solr does not support more than 2 as an edit distance !
You need to customise this at code level if you want to.

If in the index we have :


Bridgewater (3)
Bridffwater (3)

This is really weird, but please , can you tell me what exactly have
indexed for that field ? Can you check the analysis tool and show me the
tokens produced for that field, at indexing and query time ?
The analysis tool is reachable from the core in the admin UI and is really
useful in this kind of situations.


2015-09-30 14:32 GMT+01:00 anil.vadhavane <>:

> Hi Benedetti,
> Yes, at first it looks like a user error and I am surprised as well with
> the
> case.
> We tested this on two different system. We tried it with lower case input
> but it is not matching. We are using the standard title column to store the
> data. Even we tried with 3, 4 and 5 edit distance but, this particular
> query
> is not matching.
> I wonder if anyone really try this on their own system to confirm if that
> is
> the case with others as well or not.
> Just to clarify -
> We want to match "emma bridwater radios", stored in title column, with the
> search query "Bridgewater~2" (you can use 3 edit distance if you want). We
> observed that, Solr not matching it. However, if we try "Bridffwater~2",
> Solr matching it.
> It might be a silly mistack from our side but, we are not able to find the
> solution at present.
> Thanks
> --
> View this message in context:
> Sent from the Solr - User mailing list archive at


Benedetti Alessandro
Visiting card -
Blog -

"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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message