Search by part of word with solr dismax -
how can search part of word dismax? example when query "wor" want results "word" "world" "adwords" etc. fields values. possible?
check edgengramfilterfactory filter
<filter class="solr.edgengramfilterfactory" mingramsize="3" maxgramsize="25" side="front"/>
edgengramfilterfactory generates edge grams token e.g.
word
generate -> wo, wor, word .....
you can use @ index time generate tokens. when search wor
, documents word
match
however, if want search in mid of words check ngramfilterfactory
Comments
Post a Comment