Uploaded image for project: 'Spring Data Elasticsearch'
  1. Spring Data Elasticsearch
  2. DATAES-643

RestTemplate ignores search_type

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2 RC2 (Moore)
    • Fix Version/s: 3.2 RC3 (Moore)
    • Component/s: Core
    • Labels:
      None

      Description

      In the prepareSearch(Query, Optional<QueryBuilder>, Class<?>) - Method the SearchRequest is created with its default searchType without setting it from the Query.
      So every search with ElasticsearchRestTemplate defaults to searchType = QUERY_THEN_FETCH.

        Attachments

          Activity

            People

            Assignee:
            sothawo sothawo
            Reporter:
            glenroy37 glenroy37
            Last updater:
            Mark Paluch
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: