# Is it possible to register a RestFilter without creating a plugin?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-register-a-restfilter-without-creating-a-plugin/19448>\
**Category:** Elasticsearch\
**Created:** [August 25, 2014, 9:11pm UTC](https://discuss.elastic.co/t/is-it-possible-to-register-a-restfilter-without-creating-a-plugin/19448 "2014-08-25T21:11:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jinyuan\_Zhou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jinyuan_zhou/32/90185_2.png) [@Jinyuan\_Zhou](https://discuss.elastic.co/u/Jinyuan_Zhou)\
**Post date:** [August 25, 2014, 9:11pm UTC](https://discuss.elastic.co/t/is-it-possible-to-register-a-restfilter-without-creating-a-plugin/19448/1 "2014-08-25T21:11:07Z")

</div>

Thanks,

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/41dab07d-b7f1-4622-8c77-a9d56b19abed%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/41dab07d-b7f1-4622-8c77-a9d56b19abed%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![vineeth\_mohan\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vineeth_mohan_2/32/747_2.png) [@vineeth\_mohan\_2](https://discuss.elastic.co/u/vineeth_mohan_2)\
**Post date:** [August 26, 2014, 12:57pm UTC](https://discuss.elastic.co/t/is-it-possible-to-register-a-restfilter-without-creating-a-plugin/19448/2 "2014-08-26T12:57:28Z")

</div>

Hello Jinyuan ,

I dont feel this is possible.  
In such a provision , how will you define what the REST API will do ?

Thanks  
Vineeth

On Tue, Aug 26, 2014 at 2:41 AM, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com)  
wrote:

> Thanks,
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/41dab07d-b7f1-4622-8c77-a9d56b19abed%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/41dab07d-b7f1-4622-8c77-a9d56b19abed%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/41dab07d-b7f1-4622-8c77-a9d56b19abed%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/41dab07d-b7f1-4622-8c77-a9d56b19abed%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAGdPd5kEkN%3DsgLqmkT-vwQ%2BptCs0LmPa0BDw5hX3A5Yzg-Wx\_A%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGdPd5kEkN%3DsgLqmkT-vwQ%2BptCs0LmPa0BDw5hX3A5Yzg-Wx_A%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jinyuan\_Zhou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jinyuan_zhou/32/90185_2.png) [@Jinyuan\_Zhou](https://discuss.elastic.co/u/Jinyuan_Zhou)\
**Post date:** [August 27, 2014, 5:37am UTC](https://discuss.elastic.co/t/is-it-possible-to-register-a-restfilter-without-creating-a-plugin/19448/3 "2014-08-27T05:37:58Z")

</div>

Thanks Vineeth,  
But I guess it does not change anything about REST API if elasticsearch  
offer some way that is easier than building a plugin to allow registering  
RestFiles to rest api calls. For a lot of frameworks, it is very common to  
provide configuration based approach to register some of pre/pro  
processors around services. I hope ES provide this kind of mechanism. But  
my first impression, it does not have such support at this time.  
Regards,  
Jack

Jinyuan (Jack) Zhou

On Tue, Aug 26, 2014 at 5:57 AM, vineeth mohan [vm.vineethmohan@gmail.com](mailto:vm.vineethmohan@gmail.com)  
wrote:

> Hello Jinyuan ,
> 
> I dont feel this is possible.  
> In such a provision , how will you define what the REST API will do ?
> 
> Thanks  
> Vineeth
> 
> On Tue, Aug 26, 2014 at 2:41 AM, Jinyuan Zhou [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com)  
> wrote:
> 
> > Thanks,
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/41dab07d-b7f1-4622-8c77-a9d56b19abed%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/41dab07d-b7f1-4622-8c77-a9d56b19abed%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/41dab07d-b7f1-4622-8c77-a9d56b19abed%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/41dab07d-b7f1-4622-8c77-a9d56b19abed%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/g\_veXqDhQP4/unsubscribe](https://groups.google.com/d/topic/elasticsearch/g_veXqDhQP4/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/CAGdPd5kEkN%3DsgLqmkT-vwQ%2BptCs0LmPa0BDw5hX3A5Yzg-Wx\_A%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGdPd5kEkN%3DsgLqmkT-vwQ%2BptCs0LmPa0BDw5hX3A5Yzg-Wx_A%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAGdPd5kEkN%3DsgLqmkT-vwQ%2BptCs0LmPa0BDw5hX3A5Yzg-Wx\_A%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAGdPd5kEkN%3DsgLqmkT-vwQ%2BptCs0LmPa0BDw5hX3A5Yzg-Wx_A%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CANBTPCFM0VWQJcwkdfF%3DEecEXOPicQQ5K7m26aWsLwycSfpLiQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCFM0VWQJcwkdfF%3DEecEXOPicQQ5K7m26aWsLwycSfpLiQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:06am UTC](https://discuss.elastic.co/t/is-it-possible-to-register-a-restfilter-without-creating-a-plugin/19448/4 "2017-07-06T01:06:08Z")

</div>


