Hi,


is there a query performance difference between "type filter" and filtering 
with type-url-segment

if an index contains a huge amount of documents?

POST /<index>/<type>/_search

{

      "query": {"match_all": {}}

}


vs.


POST /<index>/_search

{

   "query": {

       "filtered": {

          "query": {"match_all": {}},

          "filter": {

              "type": {

                 "value": "<type>"

             }

          }

       }

    }

}


Best regards,

       Bjoern

-- 
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/1d716665-b9a4-42b6-ad84-36764b69bd62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to