Elastic Search Notes
  • Introduction
  • Full Text
  • Aggregations
    • Facets Vs Aggregations
  • Filters
  • References
  • Tools
  • Query DSL
    • Query and filter context
      • Query context
      • Filter context
      • Filtered Vs filter
      • termQuery vs. termFilter
    • Term level queries vs full text queries
  • Parent Child Relationship
  • Nodes
    • Master Node
  • Elastic Search Networking
  • Logstash
    • HighAvailability
    • Grok patterns
  • KeyConcepts
    • Shard
    • Segment
    • Translog
  • Document CRUD operations
    • Updates
  • adv topics
  • Relevance
    • BM25 Scoring Formula
  • Named Queries
Powered by GitBook
On this page

Was this helpful?

  1. Query DSL
  2. Query and filter context

Query context

PreviousQuery and filter contextNextFilter context

Last updated 5 years ago

Was this helpful?

Query context is in effect whenever a query clause is passed to a query parameter, such as the query parameter in the API.

A query clause used in query context answers the question “How well does this document match this query clause? ” Besides deciding whether or not the document matches, the query clause also calculates a _score representing how well the document matches, relative to other documents.

search