Reputation: 621
I'm trying to create a searchable list of names (1M names+) and need some loose matching for the names. I've tried a few ways of configuring the server/querying the instance, but either ONLY exact matches are returned, or I get huge, inappropriate result sets missing the exact matches.
I'm new to Solr, is there a good example of doing this, or at least a good starting point I can work from to achieve what I need?
Many thanks in advance
Upvotes: 2
Views: 113
Reputation: 52809
If you want to search similar sounding names you can also check PhoneticFilterFactory
Upvotes: 0
Reputation: 26733
Have a look at fuzzy searches. They provide Levenstein distance which is what you refer as "loose matching".
Upvotes: 2