Skip to content

Instantly share code, notes, and snippets.

@sameek
Created January 17, 2012 12:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sameek/1626452 to your computer and use it in GitHub Desktop.
Save sameek/1626452 to your computer and use it in GitHub Desktop.
River Mapping
{ "index" : { "_index" :"idx_testtable", "_type" :"test_type", "_id" :"7"},{"analysis": {"analyzer":{"myindexanalyzer": {"type" :"custom","tokenizer": "whitespace","filter": ["lowercase", "customstopfilter", "asciifolding"]},"mysearchanalyzer": {"type" :"custom","tokenizer": "whitespace" }},{"filter":{"customstopfilter":{"type":"stop" ,"stopwords_path" :"F:\ElasticIndexManagementService\resources\stopwords_eng.txt" ,"ignore_case":true}}}}}}
{ "test_type" :{"index_analyzer" : "myindexanalyzer","search_analyzer" : "mysearchanalyzer"}}
{ "test_type" :{"id":7,"Description":" Technologies Inc"}}
{ "create" : { "_index" :"idx_testtable", "_type" :"test_type", "_id" :"7" }}
{ "test_type" :{"id":7,"Description":" Technologies Inc"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment