Completion Suggestor- Multi value field in a single document


(vineeth mohan-2) #1

Hello ,

Here its told how to index data for completion suggester -
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters-completion.html#search-suggesters-completion

But then it assumes that there is only one value for the field suggest.
What happens if there are multiple values for the field suggest.
How can we give separate input/output for multi values in the same field.

Thanks
Vineeth

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGdPd5n%2Br%3DYer9NAuzcBYkAjFBRjU7XC0yWcGwR-UhDVk46Z%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Alexander Reelsen) #2

Hey,

there is only one output for multiple suggestions. Maybe the accompanying
blog post will help you: http://www.elasticsearch.org/blog/you-complete-me/
I am not sure what you mean with 'only one value for the field suggest',
maybe you can explain that.
It would be great, if you could come up with a few examples of how you
expect the suggester to work and we can see, if the completion suggester
supports your requirements.

--Alex

On Mon, Mar 10, 2014 at 3:52 PM, vineeth mohan vm.vineethmohan@gmail.comwrote:

Hello ,

Here its told how to index data for completion suggester -
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters-completion.html#search-suggesters-completion

But then it assumes that there is only one value for the field suggest.
What happens if there are multiple values for the field suggest.
How can we give separate input/output for multi values in the same field.

Thanks
Vineeth

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAGdPd5n%2Br%3DYer9NAuzcBYkAjFBRjU7XC0yWcGwR-UhDVk46Z%3Dw%40mail.gmail.comhttps://groups.google.com/d/msgid/elasticsearch/CAGdPd5n%2Br%3DYer9NAuzcBYkAjFBRjU7XC0yWcGwR-UhDVk46Z%3Dw%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGCwEM_qg_FQa8z%2BtUq8OqSHQHEwsrZpm-KvawBBYTcAGGStmw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(vineeth mohan-2) #3

Hello Alexander ,

I got it working. What i wanted was to give multiple input/output pair and
in the example it was only for a single value. I gave the suggest value as
an array it worked like a charm.

Thanks
Vineeth

On Wed, Mar 12, 2014 at 3:27 PM, Alexander Reelsen alr@spinscale.de wrote:

Hey,

there is only one output for multiple suggestions. Maybe the accompanying
blog post will help you:
http://www.elasticsearch.org/blog/you-complete-me/
I am not sure what you mean with 'only one value for the field suggest',
maybe you can explain that.
It would be great, if you could come up with a few examples of how you
expect the suggester to work and we can see, if the completion suggester
supports your requirements.

--Alex

On Mon, Mar 10, 2014 at 3:52 PM, vineeth mohan vm.vineethmohan@gmail.comwrote:

Hello ,

Here its told how to index data for completion suggester -
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters-completion.html#search-suggesters-completion

But then it assumes that there is only one value for the field suggest.
What happens if there are multiple values for the field suggest.
How can we give separate input/output for multi values in the same field.

Thanks
Vineeth

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAGdPd5n%2Br%3DYer9NAuzcBYkAjFBRjU7XC0yWcGwR-UhDVk46Z%3Dw%40mail.gmail.comhttps://groups.google.com/d/msgid/elasticsearch/CAGdPd5n%2Br%3DYer9NAuzcBYkAjFBRjU7XC0yWcGwR-UhDVk46Z%3Dw%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAGCwEM_qg_FQa8z%2BtUq8OqSHQHEwsrZpm-KvawBBYTcAGGStmw%40mail.gmail.comhttps://groups.google.com/d/msgid/elasticsearch/CAGCwEM_qg_FQa8z%2BtUq8OqSHQHEwsrZpm-KvawBBYTcAGGStmw%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGdPd5mkrhZG_Ttu5hiF0JoOCwmEFHbgckk%3D4uqpXP4%3D0akFBg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4