Can I ask you why you need to concatenate the tokens ? Maybe we can find a better solution to concat all the tokens in one single big token . I find it difficult to understand the reasons behind tokenising, token filtering and then un-tokenizing again :) It would be great if you explain a little bit better what you would like to do !
Cheers 2015-06-16 13:26 GMT+01:00 Aman Tandon <amantandon...@gmail.com>: > Hi, > > I have a requirement to create the concatenated token of all the tokens > created from the last item of my analyzer chain. > > *Suppose my analyzer chain is :* > > > > > > * <tokenizer class="solr.WhitespaceTokenizerFactory" /> <filter > class="solr.WordDelimiterFilterFactory" catenateAll="1" splitOnNumerics="1" > preserveOriginal="1"/> <filter class="solr.EdgeNGramFilterFactory" > minGramSize="2" maxGramSize="15" side="front" /> <filter > class="solr.PorterStemmerFilterFactory"/>* > I want to create a concatenated token plugin to add at concatenated token > along with the last token. > > e.g. Solr training > > *Porter:-* "solr" "train" > Position 1 2 > > *Concatenated :-* "solr" "train" > "solrtrain" > Position 1 2 > > Please help me out. How to create custom filter for this requirement. > > With Regards > Aman Tandon > -- -------------------------- Benedetti Alessandro Visiting card : http://about.me/alessandro_benedetti "Tyger, tyger burning bright In the forests of the night, What immortal hand or eye Could frame thy fearful symmetry?" William Blake - Songs of Experience -1794 England