Re: KeywordTokenizer and multiValued field
So I have a field named "key" that uses KeywordTokenizer and has multiValued="true" set. A doc like val one yet another value third My field will have exactly three indexed tokens val one yet another value third Best, Erick On Wed, Apr 12, 2017 at 2:38 PM, Ahmet Arslanwrote: > I don't understand the first option, what is each value? Keyword tokenizer > emits single token, analogous to string type. > > > > On Wednesday, April 12, 2017, 7:45:52 PM GMT+3, Walter Underwood > wrote: > Does the KeywordTokenizer make each value into a unitary string or does it > take the whole list of values and make that a single string? > > I really hope it is the former. I can’t find this in the docs (including > JavaDocs). > > wunder > Walter Underwood > wun...@wunderwood.org > http://observer.wunderwood.org/ (my blog)
Re: KeywordTokenizer and multiValued field
I don't understand the first option, what is each value? Keyword tokenizer emits single token, analogous to string type. On Wednesday, April 12, 2017, 7:45:52 PM GMT+3, Walter Underwoodwrote: Does the KeywordTokenizer make each value into a unitary string or does it take the whole list of values and make that a single string? I really hope it is the former. I can’t find this in the docs (including JavaDocs). wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog)
Re: KeywordTokenizer and multiValued field
Hi Wunder, I think it's the first option: if you have 3 values then the analyzer chain is executed three times. Andrea On 12/04/17 18:45, Walter Underwood wrote: Does the KeywordTokenizer make each value into a unitary string or does it take the whole list of values and make that a single string? I really hope it is the former. I can’t find this in the docs (including JavaDocs). wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog)
KeywordTokenizer and multiValued field
Does the KeywordTokenizer make each value into a unitary string or does it take the whole list of values and make that a single string? I really hope it is the former. I can’t find this in the docs (including JavaDocs). wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog)