# NRT Get API - VS - IDS Filters

**URL:** <https://discuss.elastic.co/t/nrt-get-api-vs-ids-filters/20676>\
**Category:** Elasticsearch\
**Created:** [November 11, 2014, 5:09am UTC](https://discuss.elastic.co/t/nrt-get-api-vs-ids-filters/20676 "2014-11-11T05:09:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael\_4](https://avatars.discourse-cdn.com/v4/letter/m/cc9497/32.png) [@michael\_4](https://discuss.elastic.co/u/michael_4)\
**Post date:** [November 11, 2014, 5:09am UTC](https://discuss.elastic.co/t/nrt-get-api-vs-ids-filters/20676/1 "2014-11-11T05:09:37Z")

</div>

Hey guys,

I'm creating a custom Elasticsearch plugin that would take in a Bitset  
containing document IDs, and returns a filtered search result based on the  
IDs given. Ideally, this would utilize the same near-realtime feature as  
the GET by ID request does.

I've come to conclude (via some local testing) that the IDs query/filter  
does not support realtime... Is there a way to make this custom filter work  
with NRT? If not, would different approach should I be considering?

Here's the filter plugin so  
far: [https://gist.github.com/schonfeld/5a487b34e786f0c52244](https://gist.github.com/schonfeld/5a487b34e786f0c52244)

Thanks,

- Michael

--  
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/91078127-cd70-45c5-b21f-eab4f7321ea2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/91078127-cd70-45c5-b21f-eab4f7321ea2%40googlegroups.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, 12:50am UTC](https://discuss.elastic.co/t/nrt-get-api-vs-ids-filters/20676/2 "2017-07-06T00:50:55Z")

</div>


