Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-4270

Elasticsearch Collapse Query is not supported

    XMLWordPrintableJSON

Details

    Description

      Allows to collapse search results based on field values. The collapsing is done by selecting only the top sorted document per collapse key. This can be used while querying on multi-indices and get top sorted results.

      Query for collapse - 
      {"query": {"match": {"message": "elasticsearch"}},"collapse" : {"field" : "user"
      }}
       

      Currently we can query on multiple indices via calcite but collapse is not supported - https://www.elastic.co/guide/en/elasticsearch/reference/6.8/search-request-collapse.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            shlok7296 Shlok Srivastava
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: