Combining tokenizers


(Maciej Dziardziel) #1

Is there way to combine lists of tokenizers? Say that I'd like to generate "by product", "by-product" and "byproduct" from "by Product". I can configure tokenizers to generate every variant, but not all of them at once.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Martijn Van Groningen) #2

You can't combine tokenizers. Perhaps the multi field is useful in your
case?
http://www.elasticsearch.org/guide/reference/mapping/multi-field-type/

On 29 August 2013 21:31, Maciej Dziardziel fiedzia@gmail.com wrote:

Is there way to combine lists of tokenizers? Say that I'd like to generate
"by product", "by-product" and "byproduct" from "by Product". I can
configure tokenizers to generate every variant, but not all of them at once.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Met vriendelijke groet,

Martijn van Groningen

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Jörg Prante) #3

You can try the word delimiter token filter
http://www.elasticsearch.org/guide/reference/index-modules/analysis/word-delimiter-tokenfilter/

Jörg

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4