ComplexPhraseQueryParser in ElasticSearch

Hi to all,

can I use ComplexPhraseQueryParser (if yes - how to enable it to use)
in elasticsearch for complex phrases?
In Solr i put that class to solr.war and was able to define as default
query parser.
Thing is that I need to use complex phrases like "craz* driv*" to
match variations of phrases "crazy drivers", "craziest drivers" "crazy
driving" "crazy driver" "crazyes drivers" etc. Language is not English
by default so variations of phrases are much more that in english
language.

Can someone point me to right direction?
Thanks

Not sure if there is such an easy config change. But why not use a
custom stemmer?

Peter.

On Nov 9, 8:50 am, Ksaveras Šakys xawi...@gmail.com wrote:

Hi to all,

can I use ComplexPhraseQueryParser (if yes - how to enable it to use)
in elasticsearch for complex phrases?
In Solr i put that class to solr.war and was able to define as default
query parser.
Thing is that I need to use complex phrases like "craz* driv*" to
match variations of phrases "crazy drivers", "craziest drivers" "crazy
driving" "crazy driver" "crazyes drivers" etc. Language is not English
by default so variations of phrases are much more that in english
language.

Can someone point me to right direction?
Thanks

Could You explain how it could work ?

On Nov 9, 11:18 am, Karussell tableyourt...@googlemail.com wrote:

Not sure if there is such an easy config change. But why not use a
custom stemmer?

Peter.