search - SOLR WordDelimiterFilterFactory -


i use worddelimiterfilterfactory split words have numbers solr tokens. example word php5 split in 2 tokens "php", "5".when searching, request executed solr q="php" , q="5". request finds results "5" only. want find documents "php5" or "php 5" only.

if has idea around please.

hope clear.

thank's.

this filter splits tokens @ word delimiters.

in case can opt splitonnumerics="0", wont spilt on numbers.

splitonnumerics: (integer, default 1) if 0, don't split words on transitions alpha numeric:"fembot3000" -> "fem", "bot3000"

the rules determining delimiters determined in below link

https://cwiki.apache.org/confluence/display/solr/filter+descriptions#filterdescriptions-worddelimiterfilter


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -