taku333
(Taku333)
July 8, 2019, 2:21am
1
Hi Everyone,
Currently, I am creating an application that acquires data from Elasticsearch using Java High Level REST Client.
So I want to implement a search for the Freeze Index, but can't find something in the documentation, is there any way to do it?(Search API using)
dadoonet
(David Pilato)
July 8, 2019, 6:08am
2
taku333
(Taku333)
July 8, 2019, 6:51am
3
@dadoonet
Excuse me, I was missing words.
I meant that a standard search should work then, no?
→In Freeze Index API, I could read that I could freeze the index but not search.
I know that you can get a frozen index by granting 「ignore_throttled=false 」by Search API .
When I checked the following, it was described that there was a bug and it was reflected from 7.1 OR 6.8.
If you are using 6.7.1, is it the only way to upgrade?
opened 01:50PM - 22 May 19 UTC
closed 11:44AM - 29 May 19 UTC
>bug
:Clients/Java High Level REST Client
SearchRequest don't include ignore_throttled=false in the request.
` SearchRe… quest searchRequest = new SearchRequest();
searchRequest.indicesOptions(IndicesOptions.fromOptions(true, true,
true, false, searchRequest.indicesOptions().allowAliasesToMultipleIndices(),
searchRequest.indicesOptions().forbidClosedIndices(), searchRequest.indicesOptions().ignoreAliases(), false));
SearchResponse response = client.search(searchRequest, RequestOptions.DEFAULT);
`
elastic:master
← kfuksman:master
opened 07:05PM - 22 May 19 UTC
dadoonet
(David Pilato)
July 8, 2019, 7:09am
4
I'd upgrade indeed to the latest 6.x available.
taku333
(Taku333)
July 8, 2019, 7:12am
5
@dadoonet
Thanks for answer!
taku333
(Taku333)
July 9, 2019, 1:47am
6
system
(system)
Closed
August 6, 2019, 1:47am
7
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.