# Where is SearchOperationThreading in ES 1.2

**URL:** <https://discuss.elastic.co/t/where-is-searchoperationthreading-in-es-1-2/17760>\
**Category:** Elasticsearch\
**Created:** [May 27, 2014, 7:11pm UTC](https://discuss.elastic.co/t/where-is-searchoperationthreading-in-es-1-2/17760 "2014-05-27T19:11:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![brian\_yoder](https://avatars.discourse-cdn.com/v4/letter/b/f1d935/32.png) [@brian\_yoder](https://discuss.elastic.co/u/brian_yoder)\
**Post date:** [May 27, 2014, 7:11pm UTC](https://discuss.elastic.co/t/where-is-searchoperationthreading-in-es-1-2/17760/1 "2014-05-27T19:11:20Z")

</div>

For all my previous ES versions (up to and including 1.1.1), my Java code  
passed the  
org.elasticsearch.action.search.SearchOperationThreading.THREAD\_PER\_SHARD value  
to the SearchRequestBuilder.setOperationThreading API.

Now with ES 1.2, the Javac build fails as the SearchOperationThreading enum  
cannot be found, and the SearchRequestBuilder.setOperationThreading API is also  
no longer present.

Is it safe to assume that this should be removed, or is there another way  
of specifying this?

Thanks in advance!

Brian

--  
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/72ad2f53-6b20-4f1f-ac5b-b3949f7b0077%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/72ad2f53-6b20-4f1f-ac5b-b3949f7b0077%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [May 27, 2014, 7:15pm UTC](https://discuss.elastic.co/t/where-is-searchoperationthreading-in-es-1-2/17760/2 "2014-05-27T19:15:42Z")

</div>

Removed: [Remove search operation threading option by kimchy · Pull Request #6042 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/pull/6042)

--  
Ivan

On Tue, May 27, 2014 at 12:11 PM, InquiringMind [brian.from.fl@gmail.com](mailto:brian.from.fl@gmail.com)wrote:

> For all my previous ES versions (up to and including 1.1.1), my Java code  
> passed the  
> org.elasticsearch.action.search.SearchOperationThreading.THREAD\_PER\_SHARD value  
> to the SearchRequestBuilder.setOperationThreading API.
> 
> Now with ES 1.2, the Javac build fails as the SearchOperationThreading enum  
> cannot be found, and the SearchRequestBuilder.setOperationThreading API is also  
> no longer present.
> 
> Is it safe to assume that this should be removed, or is there another way  
> of specifying this?
> 
> Thanks in advance!
> 
> Brian
> 
> --  
> 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/72ad2f53-6b20-4f1f-ac5b-b3949f7b0077%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/72ad2f53-6b20-4f1f-ac5b-b3949f7b0077%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/72ad2f53-6b20-4f1f-ac5b-b3949f7b0077%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/72ad2f53-6b20-4f1f-ac5b-b3949f7b0077%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/CALY%3DcQA9RUVz2Zc0BRgjiMUOurb\_vWi2a9s07L9kp3SfQr-AXA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQA9RUVz2Zc0BRgjiMUOurb_vWi2a9s07L9kp3SfQr-AXA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![brian\_yoder](https://avatars.discourse-cdn.com/v4/letter/b/f1d935/32.png) [@brian\_yoder](https://discuss.elastic.co/u/brian_yoder)\
**Post date:** [May 27, 2014, 7:23pm UTC](https://discuss.elastic.co/t/where-is-searchoperationthreading-in-es-1-2/17760/3 "2014-05-27T19:23:00Z")

</div>

Thanks, Ivan!

--  
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/d0869371-7c6b-400a-9fad-9f1b86ce4ea4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d0869371-7c6b-400a-9fad-9f1b86ce4ea4%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, 1:26am UTC](https://discuss.elastic.co/t/where-is-searchoperationthreading-in-es-1-2/17760/4 "2017-07-06T01:26:34Z")

</div>


