jamescarr/mongoosastic — pull request #110 by marsanla (2014-07-25 11:30:48+00:00)
Title: Update mongoosastic.js

Add settings options.

```js
TagsSchema.plugin(elastiSearch, {
host: ....,
port: ....,
settings: {
analysis: {
filter: {
autocomplete_filter: {
type: 'edge_ngram',
min_gram: 1,
max_gram: 25
}
},
analyzer: {
autocomplete: {
type: 'custom',
tokenizer: 'standard',
filter: [
'lowercase',
'autocomplete_filter'
]
}
}
}
}
});
```