Re: Automatically build `input` for `completion` fields?

2014-04-25 Thread Alexander Reelsen
Hey, it is exactly the same functionality index/search analyzers serve when indexing/querying any other fields.. It defines the analysis process chain (consisting of tokenizer, token filters and optionally char filters), when a field is either indexed or queried, to make sure the terms are in the

Re: Automatically build `input` for `completion` fields?

2014-04-23 Thread Sviatoslav Abakumov
What about fields `index_analyzer` and `search_analyzer`? I had hope that `index_analyzer` would split string `message_suggest.input` into array, but it doesn't seem to do it. What are they for then? On Mon, Apr 7, 2014 at 11:20 AM, Alexander Reelsen a...@spinscale.de wrote: Hey, there is no

Re: Automatically build `input` for `completion` fields?

2014-04-07 Thread Alexander Reelsen
Hey, there is no automation for this. The main reason why your solution might work in your specific use-case is, that you do not have billions of documents. Otherwise there would be a lot of documents, which contain for example piece (pi suggestions) or winner (wi), and you would get a lot of