What is the difference between Term-based and Full-text queries?

devquora
devquora

Posted On: Feb 22, 2018

 

  • Term-based Queries : Queries like the term query or fuzzy query are the low-level queries that do not have analysis phase.A term Query for the term Foo searches for the exact term in the inverted index and calculates the IDF/TF relevance score for every document that has a term.
  • Full-text Queries : Queries like match query or query string queries are the high-level queries that understand that mapping of a field.As soon as the query assembles the complete list of items it executes the appropriate low-level query for every term, and finally combines their results to produce the relevance score of every document.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    ElasticSearch Interview Questions

    What is Elasticsearch?

    Elasticsearch is a search engine that is based on Lucene.It offers a distributed, multitenant – capable full-text sea..

    ElasticSearch Interview Questions

    What is a current stable version of Elasticsearch?

    As on Jan 2020, version 7.5 is the latest and stable version of Elasticsearch...

    ElasticSearch Interview Questions

    List the software requirements to install Elasticsearch?

    Since Elasticsearch is built using Java, we require any of the following software to run Elasticsearch on our device. T..