# New to ES

**URL:** <https://discuss.elastic.co/t/new-to-es/5996>\
**Category:** Elasticsearch\
**Created:** [November 28, 2011, 2:37pm UTC](https://discuss.elastic.co/t/new-to-es/5996 "2011-11-28T14:37:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![project2501](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@project2501](https://discuss.elastic.co/u/project2501)\
**Post date:** [November 28, 2011, 2:37pm UTC](https://discuss.elastic.co/t/new-to-es/5996/1 "2011-11-28T14:37:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [November 28, 2011, 6:23pm UTC](https://discuss.elastic.co/t/new-to-es/5996/2 "2011-11-28T18:23:40Z")

</div>

Yes, check the query DSL which maps to all available Lucene queries, and  
has some extensions: [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/query-dsl/)  
.

On Mon, Nov 28, 2011 at 4:37 PM, project2501 [darreng5150@gmail.com](mailto: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

---

<div class="post-metadata">

**Author:** ![project2501](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@project2501](https://discuss.elastic.co/u/project2501)\
**Post date:** [November 28, 2011, 6:35pm UTC](https://discuss.elastic.co/t/new-to-es/5996/3 "2011-11-28T18:35:23Z")

</div>

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](mailto:kim...@gmail.com) wrote:

> Yes, check the query DSL which maps to all available Lucene queries, and  
> has some extensions:[Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/query-dsl/)  
> .
> 
> On Mon, Nov 28, 2011 at 4:37 PM, project2501 [darreng5...@gmail.com](mailto: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

---

<div class="post-metadata">

**Author:** ![Jeremie\_BORDIER1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jeremie_bordier1/32/2860_2.png) [@Jeremie\_BORDIER1](https://discuss.elastic.co/u/Jeremie_BORDIER1)\
**Post date:** [November 28, 2011, 6:38pm UTC](https://discuss.elastic.co/t/new-to-es/5996/4 "2011-11-28T18:38:57Z")

</div>

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](mailto: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](mailto:kim...@gmail.com) wrote:
> 
> > Yes, check the query DSL which maps to all available Lucene queries, and  
> > has some extensions:[Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/query-dsl/)  
> > .
> > 
> > On Mon, Nov 28, 2011 at 4:37 PM, project2501 [darreng5...@gmail.com](mailto: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

---

<div class="post-metadata">

**Author:** ![project2501](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@project2501](https://discuss.elastic.co/u/project2501)\
**Post date:** [November 28, 2011, 6:49pm UTC](https://discuss.elastic.co/t/new-to-es/5996/5 "2011-11-28T18:49:02Z")

</div>

Very nice. Thank you.

On Nov 28, 1:38 pm, Jérémie BORDIER [jeremie.bord...@gmail.com](mailto: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](mailto: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](mailto:kim...@gmail.com) wrote:
> > 
> > > Yes, check the query DSL which maps to all available Lucene queries, and  
> > > has some extensions:[Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/query-dsl/)  
> > > .
> 
> > > On Mon, Nov 28, 2011 at 4:37 PM, project2501 [darreng5...@gmail.com](mailto: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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:47am UTC](https://discuss.elastic.co/t/new-to-es/5996/6 "2017-07-06T03:47:12Z")

</div>


