Skip to content

Instantly share code, notes, and snippets.

@dclausen
Created June 9, 2015 20:48
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 dclausen/433334e9d1f6ac46873c to your computer and use it in GitHub Desktop.
Save dclausen/433334e9d1f6ac46873c to your computer and use it in GitHub Desktop.
mappings numeric_detection: false, dynamic_templates: [ { metadata: { path_match: "metadata.*", mapping: { type: "string" } } }] do
indexes :email, analyzer: "standard", fields: { raw: { type: "string", index: "not_analyzed" } }
indexes :metadata do
indexes :CardType, analyzer: "standard", fields: { raw: { type: "string", index: "not_analyzed" } }
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment