Completion Suggest - Set Returned Result Size

Is there some way to configure the number of results that's returned by
using completion suggestion?

I looked at

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters-completion.html

and

http://www.elasticsearch.org/guide/reference/api/search/completion-suggest/

but there doesn't seem to be anything about configuring the result set size.

The _suggest REST endpoint doesn't take a "size" parameter and if I use the
_search endpoint, the size parameter doesn't affect the suggest results.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Hey,

the completion suggester accepts a 'size' parameter, see the samples at

Can you maybe put your query online as a gist, so we can check out, what is
wrong?

--Alex

On Thu, Oct 3, 2013 at 4:12 AM, Johny Lam johny.lam@gmail.com wrote:

Is there some way to configure the number of results that's returned by
using completion suggestion?

I looked at

Elasticsearch Platform — Find real-time answers at scale | Elastic

and

Elasticsearch Platform — Find real-time answers at scale | Elastic

but there doesn't seem to be anything about configuring the result set
size.

The _suggest REST endpoint doesn't take a "size" parameter and if I use
the _search endpoint, the size parameter doesn't affect the suggest results.

--
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.
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

1 Like

Thanks, I apparently missed that.

On Thursday, October 3, 2013 9:05:55 AM UTC-7, Alexander Reelsen wrote:

Hey,

the completion suggester accepts a 'size' parameter, see the samples at
Elasticsearch Platform — Find real-time answers at scale | Elastic

Can you maybe put your query online as a gist, so we can check out, what
is wrong?

--Alex

On Thu, Oct 3, 2013 at 4:12 AM, Johny Lam <john...@gmail.com <javascript:>

wrote:

Is there some way to configure the number of results that's returned by
using completion suggestion?

I looked at

Elasticsearch Platform — Find real-time answers at scale | Elastic

and

Elasticsearch Platform — Find real-time answers at scale | Elastic

but there doesn't seem to be anything about configuring the result set
size.

The _suggest REST endpoint doesn't take a "size" parameter and if I use
the _search endpoint, the size parameter doesn't affect the suggest results.

--
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 elasticsearc...@googlegroups.com <javascript:>.
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.