The query size parameter is 200. Actual hit totals vary widely, generally around 1000-10000. A minority are much lower. About 10% of queries end up with just 1 or 0 hits.
On Tuesday, August 12, 2014 6:31:29 AM UTC-7, Adrien Grand wrote: > > Hi Ashish, > > How many documents do your queries typically retrieve? (the value of the > `size` parameter) > > > On Tue, Aug 12, 2014 at 12:48 AM, Ashish Mishra <[email protected] > <javascript:>> wrote: > >> I recently added a binary type field to all documents with mapping >> "store": "true". The field contents are large and as a result the on-disk >> index size rose by 3x, from 2.5Gb/shard to ~8Gb/shard. >> >> After this change I've seen a big jump in query latency. Searches which >> previously took 40-60ms now take 800ms and longer. This is the case even >> for queries which *don't* return the binary field. >> I tried optimizing the index down to max_num_segments=1, but query >> latency remains high. >> >> Is this expected? Obviously queries returning the new field will take a >> hit (since field data needs to be loaded from disk). But I would've >> expected other queries should not be much affected. >> >> Is the problem that larger file sizes make memory-mapping and the FS >> cache less efficient? Or are stored fields still getting loaded from disk >> even when not included in the "fields" term? >> >> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/6ef50cab-3004-490b-bc2d-ea7e71a824a5%40googlegroups.com >> >> <https://groups.google.com/d/msgid/elasticsearch/6ef50cab-3004-490b-bc2d-ea7e71a824a5%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Adrien Grand > -- 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/1105d739-114e-4047-994e-aba8e27066b3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
