Increase results from completion suggester


(AnthonyNystrom) #1

I know this has been asked before...

However, is there anyway currently to increase the return results size
within the completion suggester?

mod to source? Upcoming Beta? Anything?

--
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/c2002b0f-5b66-4912-936f-dc3ce40c2f40%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Dan Tuffery) #2

I don't think it is documented, but you can use the size parameter:

curl -X POST localhost:9200/hotels/_suggest -d '
{
"hotels" : {
"text" : "m",
"completion" : {
"field" : "name_suggest"
"size": 20
}
}
}

Dan

On Thursday, April 24, 2014 2:21:10 AM UTC+1, AnthonyNystrom wrote:

I know this has been asked before...

However, is there anyway currently to increase the return results size
within the completion suggester?

mod to source? Upcoming Beta? Anything?

--
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/b6087cf4-d961-4ce6-8194-eb2ac7f89362%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(AnthonyNystrom) #3

Awesome, thanks

On Apr 24, 2014, at 3:31 AM, Dan Tuffery dan.tuffery@gmail.com wrote:

I don't think it is documented, but you can use the size parameter:

curl -X POST localhost:9200/hotels/_suggest -d '
{
"hotels" : {
"text" : "m",
"completion" : {
"field" : "name_suggest"
"size": 20
}
}
}

Dan

On Thursday, April 24, 2014 2:21:10 AM UTC+1, AnthonyNystrom wrote:
I know this has been asked before...

However, is there anyway currently to increase the return results size within the completion suggester?

mod to source? Upcoming Beta? Anything?

--
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/b6087cf4-d961-4ce6-8194-eb2ac7f89362%40googlegroups.com.
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/E00B6715-A6A7-457F-B51A-66127AC88E10%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4