The link on how to enable fuzzy search for solr is dead:

"Important: To have partial string search, you have to enable fuzzy search in your solr configuration (schema.xml). You can find more info on how to enable this here."

^ Leads to a site a not found. Can someone update the documentation?

Thank you,

-Andy

Comments

asauterChicago’s picture

Title: "Learn how to enabled Solr Fuzzy Search Here" leads to a dead link. » "Learn how to enable Solr Fuzzy Search by Clicking Here" leads to a dead link.
Issue summary: View changes

edit: grammar

Exploratus’s picture

Link is still dead, any new links / reference? Thanks!

meecect’s picture

I don't know what is going on with the dead link, but there is information here:

https://www.drupal.org/node/2009760

Basically, you need to enable the ngramfilter in solr. I can provide more details if the link above is not sufficient.

sgurlt’s picture

To enable part word search with Solr, you have to add the following to the schema.xml configuration file:

Below the part:

<fieldType name="text" class="solr.TextField" positionIncrementGap="100">
  <analyzer type="index">

Add:

<filter class="solr.EdgeNGramFilterFactory" minGramSize="2" maxGramSize="25" side="front"/>
<filter class="solr.EdgeNGramFilterFactory" minGramSize="2" maxGramSize="25" side="back"/>

And reindex. Hope this helps ;-)

dakku’s picture

Status: Needs review » Closed (fixed)
protools’s picture

#sg88 and with solr 5 how to ? side="back and side="front"/> deprecated.
Something like this
http://stackoverflow.com/questions/19995804/search-suffix-word-solr-4-5-...

but how to right ?