I have single node cluster. Not sure what you mean by round robin in concurrent searches.
Regards, Vishal On Apr 17, 2015 7:26 PM, "joergpra...@gmail.com" <joergpra...@gmail.com> wrote: > Do you round-robin the four concurrent searches over the cluster nodes? > > Jörg > > On Fri, Apr 17, 2015 at 3:38 PM, Vishal Mahajan <vishal...@gmail.com> > wrote: > >> I doubt that's the cause as it should also affect sequential searches. >> >> Regards, >> Vishal >> >> On Friday, April 17, 2015 at 6:34:24 PM UTC+5:30, Jörg Prante wrote: >>> >>> Sorry I overlooked it, you use getTookInMillis() >>> >>> Maybe the extra time is spent because you use a range filter which is >>> not cached? >>> >>> Jörg >>> >>> On Fri, Apr 17, 2015 at 3:02 PM, joerg...@gmail.com <joerg...@gmail.com> >>> wrote: >>> >>>> What time do you measure? The ES query time, or the network latency? >>>> >>>> Jörg >>>> >>>> On Fri, Apr 17, 2015 at 2:25 PM, Vishal Mahajan <vish...@gmail.com> >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> I was trying Filtered query (default search type) to fetch first 8k >>>>> out of approx 170k matched records. I noticed that on an average query >>>>> took >>>>> around 500ms (response.getTookInMillis()). But, when I tried 4 concurrent >>>>> searches over same dataset (in ideal scenario dataset will be different), >>>>> I >>>>> noticed that the performance degraded and each query took more than 1sec >>>>> on >>>>> average. Is this degradation in search response expected? >>>>> I still haven't tried with scroll and scan as order is not important, >>>>> but, curious to know if anything wrong with query or the way I executed. >>>>> >>>>> I am executing search on single index having around 850k docs (each >>>>> doc contains around 5 fields), with 1g allocated to ES and using java node >>>>> client to execute searches. Following is the query JSON: >>>>> >>>>> { >>>>> "from" : 0, >>>>> "size" : 8000, >>>>> "query" : { >>>>> "filtered" : { >>>>> "query" : { >>>>> "match_all" : { } >>>>> }, >>>>> "filter" : { >>>>> "and" : { >>>>> "filters" : [ { >>>>> "term" : { >>>>> "details" : "Holiday" >>>>> } >>>>> }, { >>>>> "range" : { >>>>> "createdOn" : { >>>>> "from" : 0, >>>>> "to" : 1429260645351, >>>>> "include_lower" : true, >>>>> "include_upper" : true >>>>> } >>>>> } >>>>> }, { >>>>> "terms" : { >>>>> "priority" : [ 1, 2 ] >>>>> } >>>>> } ] >>>>> } >>>>> } >>>>> } >>>>> }, >>>>> >>>>> -- >>>>> 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. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/elasticsearch/d4075dd3-f711-458e-a89c-522f32fa3e18%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/elasticsearch/d4075dd3-f711-458e-a89c-522f32fa3e18%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> >>> -- >> 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+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/32c073c6-bef8-465c-8e70-de55a1e195c8%40googlegroups.com >> <https://groups.google.com/d/msgid/elasticsearch/32c073c6-bef8-465c-8e70-de55a1e195c8%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "elasticsearch" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/elasticsearch/jzK56eE8Pd0/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > elasticsearch+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CAKdsXoE2-7kSh7t892QXEVYhqU5g6TnTVAZR-hb5%3Ds07xajMdw%40mail.gmail.com > <https://groups.google.com/d/msgid/elasticsearch/CAKdsXoE2-7kSh7t892QXEVYhqU5g6TnTVAZR-hb5%3Ds07xajMdw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAG2s5vN_5GGXexCCh4sBXKeoPDcdogPh18fCQwbLrrR2hvxXMg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.