Revision 7716
Added by Jing Tao almost 11 years ago
SolrQueryService.java | ||
---|---|---|
38 | 38 |
import org.apache.solr.common.params.SolrParams; |
39 | 39 |
import org.apache.solr.common.util.NamedList; |
40 | 40 |
import org.apache.solr.schema.SchemaField; |
41 |
import org.dataone.cn.indexer.solrhttp.SolrDoc; |
|
42 | 41 |
import org.dataone.service.types.v1.Subject; |
43 | 42 |
import org.dataone.service.util.Constants; |
44 | 43 |
|
... | ... | |
96 | 95 |
public abstract InputStream query(SolrParams query, Set<Subject>subjects) throws Exception; |
97 | 96 |
|
98 | 97 |
|
99 |
/** |
|
100 |
* Get the list of SolrDocs for the specified ids from the solr server. |
|
101 |
* * Note: each id only can have one SolrDoc or null SolrDoc. If it is null, it |
|
102 |
* wouldn't be added to the list. |
|
103 |
* @param ids the specified ids |
|
104 |
* @return the SolrDocs of the ids. |
|
105 |
* @throws Exception |
|
106 |
*/ |
|
107 |
public abstract List<SolrDoc> query(List<String> ids) throws Exception; |
|
98 |
|
|
108 | 99 |
|
109 |
|
|
110 | 100 |
/** |
111 | 101 |
* Get the fields list of the index schema |
112 | 102 |
* @return |
Also available in: Unified diff
Remove the depency on the d1_cn_index_processor.