I am building some auto-complete functionality using compass and I need to add an EdgeNGramTokenFilter to the compass query but I cannot see how I can add it.
Is this possible?
I am building some auto-complete functionality using compass and I need to add an EdgeNGramTokenFilter to the compass query but I cannot see how I can add it.
Is this possible?
I managed to add the
EdgeNGramTokenFilter
filter by creating a provider class adding a reference to it in thecompass.config.xml
file by adding the following line within the<searchEngine>
tagsHere is the class: