I would really like to use this module but I don't know how to get it correctly running if you are using a EdgeNGramFilterFactory for full text fields.

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

The problem is that a word is splitted. For example test would be:

  • t
  • te
  • tes
  • test

This is good for search results but bad for autocomplete :-) So if you type into the input field with autocomplete you will get the same results to select (t,te,tes,test) but it should be only "test".

Is there something conceptually i do totally wrong? Every hints are welcome. Thx!

(I'm using apache-solr-3.6.2)

Comments

drunken monkey’s picture

Status: Active » Fixed

No, you're not doing anything wrong, this is currently not supported. Please see #2091995: Autocomplete suggestions with stemming enabled for a discussion, and later maybe also a fix.

Status: Fixed » Closed (fixed)

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

f0ns’s picture

I got this working with a small workaround:

https://drupal.org/comment/8402883#comment-8402883