Hi,

I use the context suggester, well, for suggestions and I have more than 256 
different categories.

When I try to index a document with 257 categories, I get the following 
error:

{
   "error":"IllegalArgumentException[TokenStream expanded to 257 finite 
strings. Only <= 256 finite strings are supported]",
   "status":500
}

I have uploaded a simple curl example 
here: https://gist.github.com/goldmar/2c3f64575df420a5413a

Is this a bug or an expected limitation? How can I solve this problem (e.g. 
increase the number of possible categories)?

Also, please note that the documentation does not mention this 
limitation: 
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/suggester-context.html

Best regards,
Mark


-- 
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/0554d4a8-3ee9-4ecf-b030-bccd920b637c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to