Skip to content

Instantly share code, notes, and snippets.

@vic
Created December 14, 2012 18:48
Show Gist options
  • Save vic/4287643 to your computer and use it in GitHub Desktop.
Save vic/4287643 to your computer and use it in GitHub Desktop.
Copy and paste this fragment at the end of your elasticsearch.yml file. If you're on mac, and installed elasticsearch using brew, this configuration should be at /usr/local/Cellar/elasticsearch/0.19.10/config/elasticsearch.yml
index:
analysis:
analyzer:
spa:
type: custom
tokenizer: standard
filter: [standard, asciifolding, lowercase, stop, snow_spa]
default:
type: custom
tokenizer: standard
filter: [standard, asciifolding, lowercase, stop, snow_spa]
filter:
snow_spa:
type: snowball
language: Spanish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment