My client has an installation with 3 different clients using the same Solr
index. These clients all append a * wildcard suffix in the query: user
enters abc def while search is performed against (abc* def*).
In order to move away from this way of searching, we'd like to move the
clients away from
It can be done by extending LuceneQParser/SolrQueryParser see
http://wiki.apache.org/solr/SolrPlugins#QParserPlugin
there is newTermQuery(Term) it should be overridden and delegate to
newPrefixQuery() method.
Overall, I suggest you consider to use EdgeNGramTokenFilter in index time,
and then
Thanks Mikhail,
I'll go for your EdgeNGramTokenFilter suggestion.
-
Kind regards,
Paul