Re: Using stored value of a field to build suggester index

2014-11-24 Thread Faisal Mansoor
Thanks Erick, This makes things clearer. Thanks, Faisal On Sun, Nov 23, 2014 at 2:17 PM, Erick Erickson erickerick...@gmail.com wrote: You can't build the suggester from the stored values, it's constructed from indexed terms only. You probably want to create a copyField to a less-analyzed

Using stored value of a field to build suggester index

2014-11-23 Thread Faisal Mansoor
Hi, I am trying to build a suggester for a field which is both index and stored. The field is whitespace tokenized, lowercased, stemmed etc while indexing. It looks like that the indexed terms are used as a source for building the suggester index. Which is what the following line in the

Re: Using stored value of a field to build suggester index

2014-11-23 Thread Erick Erickson
You can't build the suggester from the stored values, it's constructed from indexed terms only. You probably want to create a copyField to a less-analyzed (indexed) field and suggest from _that_. You'll probably want to do things like remove punctuation, perhaps lowercase and the like but not