Apache Lucene open-source search software
javadocs
Grant Ingersoll1169caa51b4f
diff --git a/src/java/org/apache/solr/util/SolrPluginUtils.java b/src/java/org/apache/solr/util/SolrPluginUtils.javaindex 32bc5980bb6..0763d72ce98 100644--- a/src/java/org/apache/solr/util/SolrPluginUtils.java+++ b/src/java/org/apache/solr/util/SolrPluginUtils.java@@ -893,9 +893,15 @@ public class SolrPluginUtils {* The optional param "ids" is populated with the lucene document id* for each SolrDocument.*+ * @param docs The {@link org.apache.solr.search.DocList} to convert+ * @param searcher The {@link org.apache.solr.search.SolrIndexSearcher} to use to load the docs from the Lucene index+ * @param fields The names of the Fields to load+ * @param ids A map to store the ids of the docs+ * @return The new {@link org.apache.solr.common.SolrDocumentList} containing all the loaded docs+ * @throws java.io.IOException if there was a problem loading the docs* @since solr 1.4*/- public static SolrDocumentList docListToSolrDocumentList(+ public static SolrDocumentList docListToSolrDocumentList(DocList docs,SolrIndexSearcher searcher,Set<String> fields,