Uploaded image for project: 'Hibernate Search'
  1. HSEARCH-2360

Elasticsearch queries should use source filtering

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6.0.Beta2
    • Fix Version/s: 5.6.0.Beta4, 5.7.0.Beta1
    • Component/s: elasticsearch
    • Labels:
      None

      Description

      See https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-source-filtering.html

      I think not using source filtering may involve unnecessary high network bandwidth usage when querying indices containing large documents.

      We could probably disable the _source attribute altogether most of the time.

      If we've got some time, we also may use more fine-grained source filtering when the "SOURCE" projection is not requested, but only a stored field is asked for.

      (As explained in HSEARCH-2358 Pull Request Sent , we must use "_source" when retrieving stored field values)

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                yrodiere Yoann Rodière
                Reporter:
                yrodiere Yoann Rodière
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: