Stop phrase removal or remove phrases from search query

Does elasticsearch handle stop phrase removal ? I would like to remove some
phrases (only if they appear in that order) from the search query.
Currently i am trying to do this only on the search side. I tried it as
follows, but it didnt work

curl -XPUT 'localhost:9200/designs_v1/_settings' -d '
{
"analysis": {
"filter": {
"shingle_omit_unigrams": {
"type": "shingle",
"max_shingle_size": 3,
"output_unigrams": false
},
"my_stop": {
"type": "stop",
"stopwords": ["walt disney", "magic kingdom", "disney",
"kingdom"]
}
},
"analyzer": {
"shingle": {
"type": "custom",
"tokenizer": "standard",
"filter": ["lowercase", "my_stop", "kstem",
"shingle_omit_unigrams"]
}
}
}
}
'

Does anyone know whether this feature is supported in elasticsearch ?

Thanks
Srini

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8bc84b82-45fc-47fc-8c3b-5f809120033b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.