I'm trying to add NGram token filter (from Lucene contrib) into my Compass configuration. Following Compass documentation i'm tries with:
<searchEngine>
<analyzer name="ngram" type="Simple" filters="ngram-filter"/>
<analyzerFilter name="ngram-filter" type="org.apache.lucene.analysis.ngram.NGramTokenFilter">
</analyzerFilter>
</searchEngine>
but always receive following exception:
Exception in thread "main" org.compass.core.engine.SearchEngineException: Failed to find analyzer [ngram] for alias [myalias] and property [title]
What i'm doing wrong?