Sha256: db838955106ce3bf15369a7ca381a484f52a1ad331a71522567ffad78e4783af

Contents?: true

Size: 1.93 KB

Versions: 8

Compression:

Stored size: 1.93 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://localhost:3002/api/as/v1/engines/books/search/?query=Herman
    body:
      encoding: UTF-8
      string: "{}"
    headers:
      User-Agent:
      - 'elastic-enteprise-search-ruby/0.0.1 (RUBY_VERSION: 2.7.1; linux x86_64; elasticsearch-transport:
        7.9.0)'
      Content-Type:
      - application/json
      Authorization:
      - Bearer api_key
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 200
      message: OK
    headers:
      X-Frame-Options:
      - SAMEORIGIN
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      X-App-Search-Version:
      - 7.10.0
      X-St-Internal-Rails-Version:
      - 4.2.11.3
      Content-Type:
      - application/json;charset=utf-8
      Vary:
      - Origin
      Etag:
      - W/"1a01d8266da629691e392eb8e94f1b17"
      Cache-Control:
      - max-age=0, private, must-revalidate
      X-Request-Id:
      - ee597b23-112f-4656-b7b7-11107557145b
      X-Runtime:
      - '0.040581'
      Transfer-Encoding:
      - chunked
      Server:
      - Jetty(9.4.30.v20200611)
    body:
      encoding: UTF-8
      string: '{"meta":{"alerts":[],"warnings":[],"page":{"current":1,"total_pages":1,"total_results":2,"size":10},"engine":{"name":"books","type":"default"},"request_id":"ee597b23-112f-4656-b7b7-11107557145b"},"results":[{"title":{"raw":"Moby
        Dick; Or, The Whale"},"_meta":{"id":"doc-5fa5b01a2a88e93a83aa1c59","engine":"books","score":2.2699733},"id":{"raw":"doc-5fa5b01a2a88e93a83aa1c59"},"author":{"raw":"Herman
        Melville"}},{"title":{"raw":"Siddhartha"},"_meta":{"id":"doc-5fa5b6e52a88e93a83aa1c69","engine":"books","score":0.26182064},"id":{"raw":"doc-5fa5b6e52a88e93a83aa1c69"},"author":{"raw":"Hermann
        Hesse"}}]}'
    http_version: 
  recorded_at: Fri, 06 Nov 2020 22:13:10 GMT
recorded_with: VCR 3.0.3

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
elastic-enterprise-search-7.14.1 spec/fixtures/vcr/app_search/single_query_search.yml
elastic-enterprise-search-7.14.0 spec/fixtures/vcr/app_search/single_query_search.yml
elastic-enterprise-search-7.12.1 spec/fixtures/vcr/app_search/single_query_search.yml
elastic-enterprise-search-7.13.0 spec/fixtures/vcr/app_search/single_query_search.yml
elastic-enterprise-search-7.13.0.pre spec/fixtures/vcr/app_search/single_query_search.yml
elastic-enterprise-search-7.12.0 spec/fixtures/vcr/app_search/single_query_search.yml
elastic-enterprise-search-7.11.0 spec/fixtures/vcr/app_search/single_query_search.yml
elastic-enterprise-search-7.10.0.beta.1 spec/fixtures/vcr/app_search/single_query_search.yml