2 years ago

#41121

test-img

Yatin

Solr or Elasticserach catenate_words to generate all combination of catenated tokens

Consider the following case with word delimeter graph token filter and catenate_words set to true I will get the following tokens super-duper-xl → [ superduperxl, super, duper, xl ]

However the desired tokens are all sequential combination around the delimeter super-duper-xl → [ superduperxl, superduper, duperxl, super, duper, xl ]

Can anyone suggest what could be the best way to do it? any config available in wdgf itself that can be utlised or writing a custom analyzer is the only option that we have?

elasticsearch

solr

lucene

full-text-search

stringtokenizer

0 Answers

Your Answer

Accepted video resources