bitsofinfo
(Bitsof Info)
April 15, 2015, 10:15pm
1
Hi,
Via the REST api I can get an listing of all snapshots within a given
repository such as
"_snapshot/myrepo/_all"
How can I do this via the Java API? It appears I can only specify "known"
snapshots via "GetSnapshotsRequest"
Is there anyway via the Java API to get a complete listing without any
prior knowledge of snapshot names?
--
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 .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a198c928-3805-4ef3-b52e-8f3aff8d3a37%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
bitsofinfo
(Bitsof Info)
April 15, 2015, 10:30pm
2
Answered my own question here (just pass an empty array to snapshots)
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.elasticsearch.rest.action.admin.cluster.snapshots.status;
This file has been truncated. show original
On Wednesday, April 15, 2015 at 4:16:00 PM UTC-6, bitsof...@gmail.com wrote:
Hi,
Via the REST api I can get an listing of all snapshots within a given
repository such as
"_snapshot/myrepo/_all"
How can I do this via the Java API? It appears I can only specify "known"
snapshots via "GetSnapshotsRequest"
Is there anyway via the Java API to get a complete listing without any
prior knowledge of snapshot names?
--
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 .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d3f620fa-3595-4cf4-80c4-6cfca856452c%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .