No, that doesn't seem to work.

On Thu, Mar 6, 2014 at 5:29 PM, Amit Soni <[email protected]> wrote:

> I think you can do that by specifying a different id for each of the
> different suggestion types you want to include in the request.
>
> "suggest" : {
>     "id_1" : {
> ...............//put your suggestor for one field here
>     },
>     "id2" : {
> .................//put your suggestor for second field here
>     }
>   }
>
> -Amit.
>
>
> On Thu, Mar 6, 2014 at 9:10 AM, Dan Tuffery <[email protected]> wrote:
>
>> Thanks Amit. Is there anyway to execute the autocomplete suggest on
>> multiple fields within the same request?
>>
>>
>> On Thu, Mar 6, 2014 at 5:03 PM, Amit Soni <[email protected]> wrote:
>>
>>> This is another class for fuzzy match: CompletionSuggestionFuzzyBuilder
>>>
>>> -Amit.
>>>
>>>
>>> On Thu, Mar 6, 2014 at 8:56 AM, Dan <[email protected]> wrote:
>>>
>>>> I found an example in the tests, if anyone else is looking for it and
>>>> comes across this post:
>>>>
>>>>  SuggestResponse suggestResponse =
>>>> client().prepareSuggest(INDEX).addSuggestion(
>>>>                 new
>>>> CompletionSuggestionBuilder("testSuggestions").field(FIELD).text("foo").size(10)
>>>>
>>>> On Thursday, March 6, 2014 4:18:16 PM UTC, Dan wrote:
>>>>>
>>>>> I'm changing our current autocomplete implementation to use the new
>>>>> autocomplete suggester as below. Is there a Java API available to send the
>>>>> suggest search request to ElasticSearch?
>>>>>
>>>>> http://www.elasticsearch.org/blog/you-complete-me/
>>>>>
>>>>  --
>>>> 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 [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/elasticsearch/e0e3fca2-cb22-4653-8f39-7636b2379bdc%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/e0e3fca2-cb22-4653-8f39-7636b2379bdc%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>  --
>>> 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 [email protected].
>>>  To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/elasticsearch/CAAOGaQ%2BbMbmfymyXUgbnKkHVE-Fk%2BYfuZc3waCbhgec%3D76b-7Q%40mail.gmail.com<https://groups.google.com/d/msgid/elasticsearch/CAAOGaQ%2BbMbmfymyXUgbnKkHVE-Fk%2BYfuZc3waCbhgec%3D76b-7Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/elasticsearch/CAEyth3vSxQrXiQe6kTTM9-fbYGD9ojVhGOerG8KZtmB42yK3tg%40mail.gmail.com<https://groups.google.com/d/msgid/elasticsearch/CAEyth3vSxQrXiQe6kTTM9-fbYGD9ojVhGOerG8KZtmB42yK3tg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/CAAOGaQJxgWzuvr0eEm%2BE-pzwW2P4d9kN19PTUQTwKe6PSqh%2B0A%40mail.gmail.com<https://groups.google.com/d/msgid/elasticsearch/CAAOGaQJxgWzuvr0eEm%2BE-pzwW2P4d9kN19PTUQTwKe6PSqh%2B0A%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAEyth3tyjHnUgGVFsngU2y44O8zxV4BCO2SA6%3DOTdjjekNamEw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to