What are the differences between fieldquery vs termquery in elasticsearch? -
What are the differences between fieldquery vs termquery in elasticsearch? -
what differences , similarities between fieldquery , termquery
filterbuilders.queryfilter(querybuilders.fieldquery("truckname", "joshi")); filterbuilders.queryfilter(querybuilders.termquery("truckname", "joshi"));
both returning same results. please give examples
a term query looking exact match of terms field without doing analysis of parameter.
it looks fieldquery (from http://www.elasticsearch.org/guide/en/elasticsearch/reference/0.90/query-dsl-field-query.html) simple form of query_string on specific field, doing analysis.
the 2 deed same single word "truckname", termquery faster.
elasticsearch
Comments
Post a Comment