---
http_interactions:
- request:
    method: get
    uri: http://localhost:9200/_aliases
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Faraday v0.9.0
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - application/json; charset=UTF-8
      Content-Length:
      - '425'
    body:
      encoding: UTF-8
      string: '{"articles_development_20140702140018077":{"aliases":{"articles_development":{}}},"products_test_20140702123124089":{"aliases":{"products_test":{}}},"stores_test_20140702123122214":{"aliases":{"stores_test":{}}},"fbopen":{"aliases":{"fbopen":{}}},"articles_test_20140728144958021":{"aliases":{"articles_test":{}}},"items_test_20130801000000000":{"aliases":{}},"animals-2014_20140702123205314":{"aliases":{"animals-2014":{}}}}'
    http_version: 
  recorded_at: Mon, 28 Jul 2014 18:49:58 GMT
- request:
    method: put
    uri: http://localhost:9200/articles_test_20140728144958138
    body:
      encoding: UTF-8
      string: '{"settings":{"analysis":{"analyzer":{"searchkick_keyword":{"type":"custom","tokenizer":"keyword","filter":["lowercase","searchkick_stemmer"]},"default_index":{"type":"custom","tokenizer":"standard","filter":["standard","lowercase","asciifolding","searchkick_index_shingle","searchkick_stemmer"]},"searchkick_search":{"type":"custom","tokenizer":"standard","filter":["standard","lowercase","asciifolding","searchkick_search_shingle","searchkick_stemmer"]},"searchkick_search2":{"type":"custom","tokenizer":"standard","filter":["standard","lowercase","asciifolding","searchkick_stemmer"]},"searchkick_autocomplete_index":{"type":"custom","tokenizer":"searchkick_autocomplete_ngram","filter":["lowercase","asciifolding"]},"searchkick_autocomplete_search":{"type":"custom","tokenizer":"keyword","filter":["lowercase","asciifolding"]},"searchkick_word_search":{"type":"custom","tokenizer":"standard","filter":["lowercase","asciifolding"]},"searchkick_suggest_index":{"type":"custom","tokenizer":"standard","filter":["lowercase","asciifolding","searchkick_suggest_shingle"]},"searchkick_text_start_index":{"type":"custom","tokenizer":"keyword","filter":["lowercase","asciifolding","searchkick_edge_ngram"]},"searchkick_text_middle_index":{"type":"custom","tokenizer":"keyword","filter":["lowercase","asciifolding","searchkick_ngram"]},"searchkick_text_end_index":{"type":"custom","tokenizer":"keyword","filter":["lowercase","asciifolding","reverse","searchkick_edge_ngram","reverse"]},"searchkick_word_start_index":{"type":"custom","tokenizer":"standard","filter":["lowercase","asciifolding","searchkick_edge_ngram"]},"searchkick_word_middle_index":{"type":"custom","tokenizer":"standard","filter":["lowercase","asciifolding","searchkick_ngram"]},"searchkick_word_end_index":{"type":"custom","tokenizer":"standard","filter":["lowercase","asciifolding","reverse","searchkick_edge_ngram","reverse"]}},"filter":{"searchkick_index_shingle":{"type":"shingle","token_separator":""},"searchkick_search_shingle":{"type":"shingle","token_separator":"","output_unigrams":false,"output_unigrams_if_no_shingles":true},"searchkick_suggest_shingle":{"type":"shingle","max_shingle_size":5},"searchkick_edge_ngram":{"type":"edgeNGram","min_gram":1,"max_gram":50},"searchkick_ngram":{"type":"nGram","min_gram":1,"max_gram":50},"searchkick_stemmer":{"type":"snowball","language":"English"}},"tokenizer":{"searchkick_autocomplete_ngram":{"type":"edgeNGram","min_gram":1,"max_gram":50}}},"number_of_shards":1,"number_of_replicas":0},"mappings":{"_default_":{"properties":{},"dynamic_templates":[{"string_template":{"match":"*","match_mapping_type":"string","mapping":{"type":"multi_field","fields":{"{name}":{"type":"string","index":"not_analyzed"},"analyzed":{"type":"string","index":"analyzed"}}}}}]}}}'
    headers:
      User-Agent:
      - Faraday v0.9.0
      Content-Type:
      - application/x-www-form-urlencoded
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - application/json; charset=UTF-8
      Content-Length:
      - '21'
    body:
      encoding: UTF-8
      string: '{"acknowledged":true}'
    http_version: 
  recorded_at: Mon, 28 Jul 2014 18:49:58 GMT
- request:
    method: head
    uri: http://localhost:9200/_alias/articles_test
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Faraday v0.9.0
      Accept:
      - "*/*"
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/plain; charset=UTF-8
      Content-Length:
      - '0'
    body:
      encoding: UTF-8
      string: ''
    http_version: 
  recorded_at: Mon, 28 Jul 2014 18:49:58 GMT
- request:
    method: get
    uri: http://localhost:9200/_alias/articles_test
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Faraday v0.9.0
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - application/json; charset=UTF-8
      Content-Length:
      - '68'
    body:
      encoding: UTF-8
      string: '{"articles_test_20140728144958021":{"aliases":{"articles_test":{}}}}'
    http_version: 
  recorded_at: Mon, 28 Jul 2014 18:49:58 GMT
- request:
    method: post
    uri: http://localhost:9200/_aliases
    body:
      encoding: UTF-8
      string: '{"actions":[{"remove":{"index":"articles_test_20140728144958021","alias":"articles_test"}},{"add":{"index":"articles_test_20140728144958138","alias":"articles_test"}}]}'
    headers:
      User-Agent:
      - Faraday v0.9.0
      Content-Type:
      - application/x-www-form-urlencoded
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - application/json; charset=UTF-8
      Content-Length:
      - '21'
    body:
      encoding: UTF-8
      string: '{"acknowledged":true}'
    http_version: 
  recorded_at: Mon, 28 Jul 2014 18:49:58 GMT
- request:
    method: get
    uri: http://localhost:9200/_aliases
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Faraday v0.9.0
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - application/json; charset=UTF-8
      Content-Length:
      - '474'
    body:
      encoding: UTF-8
      string: '{"articles_development_20140702140018077":{"aliases":{"articles_development":{}}},"products_test_20140702123124089":{"aliases":{"products_test":{}}},"stores_test_20140702123122214":{"aliases":{"stores_test":{}}},"articles_test_20140728144958138":{"aliases":{"articles_test":{}}},"fbopen":{"aliases":{"fbopen":{}}},"articles_test_20140728144958021":{"aliases":{}},"items_test_20130801000000000":{"aliases":{}},"animals-2014_20140702123205314":{"aliases":{"animals-2014":{}}}}'
    http_version: 
  recorded_at: Mon, 28 Jul 2014 18:49:58 GMT
- request:
    method: delete
    uri: http://localhost:9200/articles_test_20140728144958021
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Faraday v0.9.0
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - application/json; charset=UTF-8
      Content-Length:
      - '21'
    body:
      encoding: UTF-8
      string: '{"acknowledged":true}'
    http_version: 
  recorded_at: Mon, 28 Jul 2014 18:49:58 GMT
- request:
    method: post
    uri: http://localhost:9200/articles_test_20140728144958138/_refresh
    body:
      encoding: UTF-8
      string: ''
    headers:
      User-Agent:
      - Faraday v0.9.0
      Content-Length:
      - '0'
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - application/json; charset=UTF-8
      Content-Length:
      - '49'
    body:
      encoding: UTF-8
      string: '{"_shards":{"total":1,"successful":1,"failed":0}}'
    http_version: 
  recorded_at: Mon, 28 Jul 2014 18:49:58 GMT
recorded_with: VCR 2.9.2