ComplexPhraseQueryParser; part of Lucene, but not ElasticSearch?


(LittleGrimmy) #1

Hi!

I'm a bit confused, and slightly desperate. I need the functionality of
the ComplexPhraseQueryParser. It's a part of Lucene 3.6.1, so why isn't it
available in ElasticSearch?

Thanks in advance!

--


(Shay Banon) #2

Its simply not exposed as part of the query DSL, though it potentially can be. You could write your own plugin that introduces a new query type into the DSL that does that if you urgently need it.

On Sep 18, 2012, at 4:37 PM, LittleGrimmy toreau@gmail.com wrote:

Hi!

I'm a bit confused, and slightly desperate. I need the functionality of the ComplexPhraseQueryParser. It's a part of Lucene 3.6.1, so why isn't it available in ElasticSearch?

Thanks in advance!

--

--


(LittleGrimmy) #3

Are there any plans to expose it in the near future? :slight_smile: If not, what's the
best way to get introduced to writing ES plugins?

Thanks!

On Tuesday, September 18, 2012 9:50:31 PM UTC+2, kimchy wrote:

Its simply not exposed as part of the query DSL, though it potentially can
be. You could write your own plugin that introduces a new query type into
the DSL that does that if you urgently need it.

On Sep 18, 2012, at 4:37 PM, LittleGrimmy <tor...@gmail.com <javascript:>>
wrote:

Hi!

I'm a bit confused, and slightly desperate. I need the functionality of
the ComplexPhraseQueryParser. It's a part of Lucene 3.6.1, so why isn't it
available in ElasticSearch?

Thanks in advance!

--

--


(Shay Banon) #4

No, there aren't plans to do that, but open an issue, so we can track it. The best way is to simply write a plugin that implements it.

On Sep 19, 2012, at 8:58 AM, LittleGrimmy toreau@gmail.com wrote:

Are there any plans to expose it in the near future? :slight_smile: If not, what's the best way to get introduced to writing ES plugins?

Thanks!

On Tuesday, September 18, 2012 9:50:31 PM UTC+2, kimchy wrote:
Its simply not exposed as part of the query DSL, though it potentially can be. You could write your own plugin that introduces a new query type into the DSL that does that if you urgently need it.

On Sep 18, 2012, at 4:37 PM, LittleGrimmy tor...@gmail.com wrote:

Hi!

I'm a bit confused, and slightly desperate. I need the functionality of the ComplexPhraseQueryParser. It's a part of Lucene 3.6.1, so why isn't it available in ElasticSearch?

Thanks in advance!

--

--

--


(system) #5