You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ja...@apache.org on 2021/03/26 16:45:01 UTC

[lucene] tag history/branches/lucene-solr/jira/solr14712 created (now 052aa21)

This is an automated email from the ASF dual-hosted git repository.

janhoy pushed a change to tag history/branches/lucene-solr/jira/solr14712
in repository https://gitbox.apache.org/repos/asf/lucene.git.


      at 052aa21  (commit)
This tag includes the following new commits:

     new 052aa21  PathSupplier

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[lucene] 01/01: PathSupplier

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

janhoy pushed a commit to tag history/branches/lucene-solr/jira/solr14712
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit 052aa2180d650601465e397f5d17095571848c8b
Author: noblepaul <no...@gmail.com>
AuthorDate: Tue Aug 11 19:46:37 2020 +1000

    PathSupplier
---
 solr/solrj/src/java/org/apache/solr/cluster/api/PathSupplier.java | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/solr/solrj/src/java/org/apache/solr/cluster/api/PathSupplier.java b/solr/solrj/src/java/org/apache/solr/cluster/api/PathSupplier.java
index 291febe..f346dd8 100644
--- a/solr/solrj/src/java/org/apache/solr/cluster/api/PathSupplier.java
+++ b/solr/solrj/src/java/org/apache/solr/cluster/api/PathSupplier.java
@@ -16,11 +16,13 @@
  */
 package org.apache.solr.cluster.api;
 
-/**For a given route, we may have multiple url prefix.
+import java.util.Iterator;
+
+/**For a given route, we may have multiple url paths.
  * This implementation would give one after the other. If one fails, try next
  *
  */
 public interface PathSupplier {
 
-    String nextPath(ApiType apiType);
+    Iterator<String> getPaths(ApiType apiType);
 }