Re: fragment_size not used for simple queries

2014-02-25 Thread Matthieu Neamar
Sadly, i can't make a full recreation for now. Regarding your questions, I use the default highlighter, with the following (simplified) mapping: { "properties": { "id": { "type": "string", "index": "not_analyzed" }, "metadatas": { "type": "object", "dynamic":

Re: fragment_size not used for simple queries

2014-02-25 Thread Luca Cavanna
It would be useful if you can post a complete recreation, mappings included. Which highlighter are you using? On Tuesday, February 25, 2014 10:39:10 AM UTC+1, Neamar Tucote wrote: > > Hello, > > Using the highlight API for a simple query like this: > > curl localhost:9200/company_52fb7b90c8318c4d

fragment_size not used for simple queries

2014-02-25 Thread Neamar Tucote
Hello, Using the highlight API for a simple query like this: curl localhost:9200/company_52fb7b90c8318c4dc86b/_search -d'{ "fields": [], "query": { "filtered": { "query": { "match": { "_all": "i do not" } } } }, "highlight": { "fields"