New to ES


(project2501) #1

Hi,
I currently use Solr but am wanting to adopt ES. All my queries are
basic lucene fielded queries. Can ES accept low level lucene query
syntax queries?

thanks


(Shay Banon) #2

Yes, check the query DSL which maps to all available Lucene queries, and
has some extensions: http://www.elasticsearch.org/guide/reference/query-dsl/
.

On Mon, Nov 28, 2011 at 4:37 PM, project2501 darreng5150@gmail.com wrote:

Hi,
I currently use Solr but am wanting to adopt ES. All my queries are
basic lucene fielded queries. Can ES accept low level lucene query
syntax queries?

thanks


(project2501) #3

Hi Shay,
Thanks for the tip. However, from what I read it seems I need to
"map" my query to the DSL?

I want to take a lucene query string (e.g. "field_1:value1 AND
field_2:value2" etc.) and hand it over to ES without parsing or
mapping.
Is this possible?

thanks!

On Nov 28, 1:23 pm, Shay Banon kim...@gmail.com wrote:

Yes, check the query DSL which maps to all available Lucene queries, and
has some extensions:http://www.elasticsearch.org/guide/reference/query-dsl/
.

On Mon, Nov 28, 2011 at 4:37 PM, project2501 darreng5...@gmail.com wrote:

Hi,
I currently use Solr but am wanting to adopt ES. All my queries are
basic lucene fielded queries. Can ES accept low level lucene query
syntax queries?

thanks


(Jérémie BORDIER) #4

Have a look at the query_string part of the DSL.

Jérémie

On Mon, Nov 28, 2011 at 7:35 PM, project2501 darreng5150@gmail.com wrote:

Hi Shay,
Thanks for the tip. However, from what I read it seems I need to
"map" my query to the DSL?

I want to take a lucene query string (e.g. "field_1:value1 AND
field_2:value2" etc.) and hand it over to ES without parsing or
mapping.
Is this possible?

thanks!

On Nov 28, 1:23 pm, Shay Banon kim...@gmail.com wrote:

Yes, check the query DSL which maps to all available Lucene queries, and
has some extensions:http://www.elasticsearch.org/guide/reference/query-dsl/
.

On Mon, Nov 28, 2011 at 4:37 PM, project2501 darreng5...@gmail.com wrote:

Hi,
I currently use Solr but am wanting to adopt ES. All my queries are
basic lucene fielded queries. Can ES accept low level lucene query
syntax queries?

thanks

--
Jérémie 'ahFeel' BORDIER


(project2501) #5

Very nice. Thank you.

On Nov 28, 1:38 pm, Jérémie BORDIER jeremie.bord...@gmail.com wrote:

Have a look at the query_string part of the DSL.

Jérémie

On Mon, Nov 28, 2011 at 7:35 PM, project2501 darreng5...@gmail.com wrote:

Hi Shay,
Thanks for the tip. However, from what I read it seems I need to
"map" my query to the DSL?

I want to take a lucene query string (e.g. "field_1:value1 AND
field_2:value2" etc.) and hand it over to ES without parsing or
mapping.
Is this possible?

thanks!

On Nov 28, 1:23 pm, Shay Banon kim...@gmail.com wrote:

Yes, check the query DSL which maps to all available Lucene queries, and
has some extensions:http://www.elasticsearch.org/guide/reference/query-dsl/
.

On Mon, Nov 28, 2011 at 4:37 PM, project2501 darreng5...@gmail.com wrote:

Hi,
I currently use Solr but am wanting to adopt ES. All my queries are
basic lucene fielded queries. Can ES accept low level lucene query
syntax queries?

thanks

--
Jérémie 'ahFeel' BORDIER


(system) #6