Completion Suggester - Suggestions (Otions) Count

I am using the Completion Suggester
(http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters-completion.html)
and works a treat.

I was wondering though if it's possible to increase the number of results
(options, as they're called)? It seems that this defaults to 5, but the
documentation doesn't show how to override this.

Cheers
Cos

--
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/909f0cff-082c-4a56-842e-aaf51ebd2277%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nevermind. Found it:

"suggestion_name" : {
    "text" : "N",
    "completion" : {
        "size" : "7",
        "field" : "suggestion_field"
    }
}

I still think the Docs should reference this though.

On Saturday, 15 March 2014 20:29:58 UTC, Cosmin Marginean wrote:

I am using the Completion Suggester (
Elasticsearch Platform — Find real-time answers at scale | Elastic)
and works a treat.

I was wondering though if it's possible to increase the number of results
(options, as they're called)? It seems that this defaults to 5, but the
documentation doesn't show how to override this.

Cheers
Cos

--
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/f1f3ad68-b5b1-476e-978e-4beb8662fadd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.