# Outdated doc - what is the 1.0 equivalent?

**URL:** https://discuss.elastic.co/t/outdated-doc-what-is-the-1-0-equivalent/15770
**Category:** Elasticsearch
**Created:** [February 13, 2014, 2:39am UTC](https://discuss.elastic.co/t/outdated-doc-what-is-the-1-0-equivalent/15770 "2014-02-13T02:39:11Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![benmccann](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/benmccann/32/420_2.png) [@benmccann](https://discuss.elastic.co/u/benmccann)
#### Post date: [February 13, 2014, 2:39am UTC](https://discuss.elastic.co/t/outdated-doc-what-is-the-1-0-equivalent/15770/1 "2014-02-13T02:39:11Z")

</div>

Hi,

The method setFilter on this page no longer exists:  
[http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/search.html](http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/search.html)

Any tips on what that has changed to?

Thanks,  
Ben

--  
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/f333eed8-2bd2-4a4f-b11f-a0f8c9a4178e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f333eed8-2bd2-4a4f-b11f-a0f8c9a4178e%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Kevin\_Wang](https://avatars.discourse-cdn.com/v4/letter/k/f6c823/32.png) [@Kevin\_Wang](https://discuss.elastic.co/u/Kevin_Wang)
#### Post date: [February 13, 2014, 3:25am UTC](https://discuss.elastic.co/t/outdated-doc-what-is-the-1-0-equivalent/15770/2 "2014-02-13T03:25:16Z")

</div>

It has been changed to setPostFilter(...)

On Thursday, February 13, 2014 1:39:11 PM UTC+11, Ben McCann wrote:

> Hi,
> 
> The method setFilter on this page no longer exists:
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/search.html)
> 
> Any tips on what that has changed to?
> 
> Thanks,  
> Ben

--  
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/04de0b3c-5f43-4bf3-ab2f-5ae638e5e35c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/04de0b3c-5f43-4bf3-ab2f-5ae638e5e35c%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Ben\_McCann\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ben_mccann_2/32/1097_2.png) [@Ben\_McCann\_2](https://discuss.elastic.co/u/Ben_McCann_2)
#### Post date: [February 13, 2014, 3:56am UTC](https://discuss.elastic.co/t/outdated-doc-what-is-the-1-0-equivalent/15770/3 "2014-02-13T03:56:36Z")

</div>

Thanks! I take it that's just a name change for clarity and not a  
functional change...

Thanks,  
Ben

On Wed, Feb 12, 2014 at 7:25 PM, Kevin Wang [kevin807359@gmail.com](mailto:kevin807359@gmail.com) wrote:

> It has been changed to setPostFilter(...)
> 
> On Thursday, February 13, 2014 1:39:11 PM UTC+11, Ben McCann wrote:
> 
> > Hi,
> > 
> > The method setFilter on this page no longer exists:  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/client/)  
> > java-api/current/search.html
> > 
> > Any tips on what that has changed to?
> > 
> > Thanks,  
> > Ben
> > 
> > --  
> > 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/eaJkL7arUrQ/unsubscribe](https://groups.google.com/d/topic/elasticsearch/eaJkL7arUrQ/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/04de0b3c-5f43-4bf3-ab2f-5ae638e5e35c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/04de0b3c-5f43-4bf3-ab2f-5ae638e5e35c%40googlegroups.com)  
> > .
> 
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--

> **[Ben McCann on about.me](https://about.me/benmccann)**
>
> I am a Founder, Entrepreneur, and Investor in Mountain View, California. Visit my website.

--  
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/CAH3cagMZF11caNkpA-%2BtruGi2mnyAUOUw%3D6giRUNLVKKHy9PQw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAH3cagMZF11caNkpA-%2BtruGi2mnyAUOUw%3D6giRUNLVKKHy9PQw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)
#### Post date: [February 13, 2014, 4:45am UTC](https://discuss.elastic.co/t/outdated-doc-what-is-the-1-0-equivalent/15770/4 "2014-02-13T04:45:16Z")

</div>

Hey Ben, check out a recent thread from earlier today:  
[https://groups.google.com/forum/?fromgroups#!topic/elasticsearch/xZGnyTI6lmo](https://groups.google.com/forum/?fromgroups#!topic/elasticsearch/xZGnyTI6lmo)

--  
Ivan

On Wed, Feb 12, 2014 at 7:56 PM, Ben McCann [ben@benmccann.com](mailto:ben@benmccann.com) wrote:

> Thanks! I take it that's just a name change for clarity and not a  
> functional change...
> 
> Thanks,  
> Ben
> 
> On Wed, Feb 12, 2014 at 7:25 PM, Kevin Wang [kevin807359@gmail.com](mailto:kevin807359@gmail.com) wrote:
> 
> > It has been changed to setPostFilter(...)
> > 
> > On Thursday, February 13, 2014 1:39:11 PM UTC+11, Ben McCann wrote:
> > 
> > > Hi,
> > > 
> > > The method setFilter on this page no longer exists:  
> > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/client/)  
> > > java-api/current/search.html
> > > 
> > > Any tips on what that has changed to?
> > > 
> > > Thanks,  
> > > Ben
> > > 
> > > --  
> > > 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/eaJkL7arUrQ/unsubscribe](https://groups.google.com/d/topic/elasticsearch/eaJkL7arUrQ/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/04de0b3c-5f43-4bf3-ab2f-5ae638e5e35c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/04de0b3c-5f43-4bf3-ab2f-5ae638e5e35c%40googlegroups.com)  
> > > .
> > 
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> [Ben McCann - Mountain View, California, Connectifier, Carnegie Mellon University | about.me](http://about.me/benmccann)
> 
> --  
> 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/CAH3cagMZF11caNkpA-%2BtruGi2mnyAUOUw%3D6giRUNLVKKHy9PQw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAH3cagMZF11caNkpA-%2BtruGi2mnyAUOUw%3D6giRUNLVKKHy9PQw%40mail.gmail.com)  
> .
> 
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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/CALY%3DcQAkTHzT5Jx5PgDQSpf5E9sKqzZy3C9VEgUZyzd5MVqnng%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkTHzT5Jx5PgDQSpf5E9sKqzZy3C9VEgUZyzd5MVqnng%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Ben\_McCann\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ben_mccann_2/32/1097_2.png) [@Ben\_McCann\_2](https://discuss.elastic.co/u/Ben_McCann_2)
#### Post date: [February 13, 2014, 5:06pm UTC](https://discuss.elastic.co/t/outdated-doc-what-is-the-1-0-equivalent/15770/5 "2014-02-13T17:06:26Z")

</div>

Awesome. Thanks for the explanation, Ivan. It is much clearer with the  
method renamed as I wasn't previously aware the some filtering happened  
before querying and some happened after.

On Wed, Feb 12, 2014 at 8:45 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:

> Hey Ben, check out a recent thread from earlier today:  
> [Redirecting to Google Groups](https://groups.google.com/forum/?fromgroups#!topic/elasticsearch/xZGnyTI6lmo)
> 
> --  
> Ivan
> 
> On Wed, Feb 12, 2014 at 7:56 PM, Ben McCann [ben@benmccann.com](mailto:ben@benmccann.com) wrote:
> 
> > Thanks! I take it that's just a name change for clarity and not a  
> > functional change...
> > 
> > Thanks,  
> > Ben
> > 
> > On Wed, Feb 12, 2014 at 7:25 PM, Kevin Wang [kevin807359@gmail.com](mailto:kevin807359@gmail.com)wrote:
> > 
> > > It has been changed to setPostFilter(...)
> > > 
> > > On Thursday, February 13, 2014 1:39:11 PM UTC+11, Ben McCann wrote:
> > > 
> > > > Hi,
> > > > 
> > > > The method setFilter on this page no longer exists:  
> > > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/client/)  
> > > > java-api/current/search.html
> > > > 
> > > > Any tips on what that has changed to?
> > > > 
> > > > Thanks,  
> > > > Ben
> > > > 
> > > > --  
> > > > 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/eaJkL7arUrQ/unsubscribe](https://groups.google.com/d/topic/elasticsearch/eaJkL7arUrQ/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/04de0b3c-5f43-4bf3-ab2f-5ae638e5e35c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/04de0b3c-5f43-4bf3-ab2f-5ae638e5e35c%40googlegroups.com)  
> > > > .
> > > 
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > [Ben McCann - Mountain View, California, Connectifier, Carnegie Mellon University | about.me](http://about.me/benmccann)
> > 
> > --  
> > 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/CAH3cagMZF11caNkpA-%2BtruGi2mnyAUOUw%3D6giRUNLVKKHy9PQw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAH3cagMZF11caNkpA-%2BtruGi2mnyAUOUw%3D6giRUNLVKKHy9PQw%40mail.gmail.com)  
> > .
> > 
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> 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/eaJkL7arUrQ/unsubscribe](https://groups.google.com/d/topic/elasticsearch/eaJkL7arUrQ/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/CALY%3DcQAkTHzT5Jx5PgDQSpf5E9sKqzZy3C9VEgUZyzd5MVqnng%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAkTHzT5Jx5PgDQSpf5E9sKqzZy3C9VEgUZyzd5MVqnng%40mail.gmail.com)  
> .
> 
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--

> **[Ben McCann on about.me](https://about.me/benmccann)**
>
> I am a Founder, Entrepreneur, and Investor in Mountain View, California. Visit my website.

--  
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/CAH3cagOEpsF-Lg5wNgtqj62sJuCQ1JheGKWch-kkVJJ8VLXv8w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAH3cagOEpsF-Lg5wNgtqj62sJuCQ1JheGKWch-kkVJJ8VLXv8w%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:50am UTC](https://discuss.elastic.co/t/outdated-doc-what-is-the-1-0-equivalent/15770/6 "2017-07-06T01:50:26Z")

</div>


