# Lucene API

**URL:** <https://discuss.elastic.co/t/lucene-api/4960>\
**Category:** Elasticsearch\
**Created:** [July 26, 2011, 7:16am UTC](https://discuss.elastic.co/t/lucene-api/4960 "2011-07-26T07:16:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![OlgaT](https://avatars.discourse-cdn.com/v4/letter/o/fbc32d/32.png) [@OlgaT](https://discuss.elastic.co/u/OlgaT)\
**Post date:** [July 26, 2011, 7:16am UTC](https://discuss.elastic.co/t/lucene-api/4960/1 "2011-07-26T07:16:28Z")

</div>

Hi,

Do I have direct access to the Lucene API in the elastic search (like  
access Lucene Query or Document) ?

Thank you,  
Olga

---

<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:** [July 26, 2011, 7:18am UTC](https://discuss.elastic.co/t/lucene-api/4960/2 "2011-07-26T07:18:34Z")

</div>

Only by writing plugins / extensions, depending on what exactly you want to  
do. What one needs to think about when doing it, is how to expose it through  
the API. elasticsearch is quite open, for example, to add a custom query by  
building your own query parser, and then it is exposed through the API.

On Tue, Jul 26, 2011 at 10:16 AM, OlgaT [tubmano@gmail.com](mailto:tubmano@gmail.com) wrote:

> Hi,
> 
> Do I have direct access to the Lucene API in the Elasticsearch (like  
> access Lucene Query or Document) ?
> 
> Thank you,  
> Olga

---

<div class="post-metadata">

**Author:** ![OlgaT](https://avatars.discourse-cdn.com/v4/letter/o/fbc32d/32.png) [@OlgaT](https://discuss.elastic.co/u/OlgaT)\
**Post date:** [July 26, 2011, 7:20am UTC](https://discuss.elastic.co/t/lucene-api/4960/3 "2011-07-26T07:20:05Z")

</div>

Thanks.

On Tue, Jul 26, 2011 at 10:18 AM, Shay Banon  
[shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> Only by writing plugins / extensions, depending on what exactly you want to  
> do. What one needs to think about when doing it, is how to expose it through  
> the API. elasticsearch is quite open, for example, to add a custom query by  
> building your own query parser, and then it is exposed through the API.
> 
> On Tue, Jul 26, 2011 at 10:16 AM, OlgaT [tubmano@gmail.com](mailto:tubmano@gmail.com) wrote:
> 
> > Hi,
> > 
> > Do I have direct access to the Lucene API in the Elasticsearch (like  
> > access Lucene Query or Document) ?
> > 
> > Thank you,  
> > Olga

---

<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:59am UTC](https://discuss.elastic.co/t/lucene-api/4960/4 "2017-07-06T03:59:24Z")

</div>


