Is fuzzy search possible with Drupal Apache Solr integration.

As I understand current configuration is using DisMaxRequestHandler which does not support fuzzy search currently.
Although there is a Sorl patch: https://issues.apache.org/jira/browse/SOLR-629?page=com.atlassian.jira.p...

What do I lose if I choose to switch from dismax to standard request handler, just to get fuzzy search?

Comments

pwolanin’s picture

A big advantage of dismax is that it can search across multiple fields for keywords, and use boost functions and boost queries. We rely on that in the module, so basically a lot of the module functionality would break if you switched.

If you have a specific query that you need to run using fuzzy, you can try the q.alt param and an empty q param

mikgreen’s picture

OK, thanks.

Will try that.

I guess the other approach is to use DoubleMetaphone filter: http://www.elctech.com/snippets/advanced-solr-filters-with-phonetics

drewish’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

aufumy’s picture

noticed that there is an issue on apache.org to allow dismax to support fuzzy searches
http://issues.apache.org/jira/browse/SOLR-629

Vote the issue up on apache.org if you want to see it fixed.

Thanks
Audrey