Revision 7725
Added by Jing Tao over 11 years ago
src/edu/ucsb/nceas/metacat/index/MetacatSolrIndex.java | ||
---|---|---|
28 | 28 |
import java.io.InputStream; |
29 | 29 |
import java.io.OutputStreamWriter; |
30 | 30 |
import java.io.Writer; |
31 |
import java.net.URL; |
|
32 | 31 |
import java.sql.SQLException; |
33 |
import java.util.ArrayList; |
|
34 | 32 |
import java.util.Hashtable; |
35 |
import java.util.List; |
|
33 |
|
|
36 | 34 |
import java.util.Set; |
37 | 35 |
|
38 | 36 |
import javax.xml.parsers.ParserConfigurationException; |
... | ... | |
40 | 38 |
import org.apache.commons.io.IOUtils; |
41 | 39 |
import org.apache.commons.logging.Log; |
42 | 40 |
import org.apache.commons.logging.LogFactory; |
43 |
import org.apache.solr.client.solrj.SolrServer; |
|
44 | 41 |
import org.apache.solr.client.solrj.SolrServerException; |
45 |
import org.apache.solr.client.solrj.embedded.EmbeddedSolrServer; |
|
46 |
import org.apache.solr.client.solrj.impl.CommonsHttpSolrServer; |
|
47 |
import org.apache.solr.client.solrj.response.QueryResponse; |
|
48 |
import org.apache.solr.common.params.AppendedSolrParams; |
|
49 | 42 |
import org.apache.solr.common.params.ModifiableSolrParams; |
50 | 43 |
import org.apache.solr.common.params.SolrParams; |
51 |
import org.apache.solr.common.util.NamedList; |
|
52 |
import org.apache.solr.core.CoreContainer; |
|
53 |
import org.apache.solr.core.SolrCore; |
|
44 |
|
|
54 | 45 |
import org.apache.solr.servlet.SolrRequestParsers; |
55 | 46 |
import org.dataone.service.exceptions.NotFound; |
56 | 47 |
import org.dataone.service.exceptions.NotImplemented; |
57 | 48 |
import org.dataone.service.exceptions.UnsupportedType; |
58 | 49 |
import org.dataone.service.types.v1.Subject; |
59 |
import org.dataone.service.util.Constants; |
|
60 | 50 |
import org.xml.sax.SAXException; |
61 | 51 |
|
62 | 52 |
import edu.ucsb.nceas.metacat.DBTransform; |
63 |
import edu.ucsb.nceas.metacat.common.SolrQueryResponseTransformer; |
|
64 |
import edu.ucsb.nceas.metacat.common.SolrQueryResponseWriterFactory; |
|
65 |
import edu.ucsb.nceas.metacat.common.SolrServerFactory; |
|
53 |
import edu.ucsb.nceas.metacat.common.query.SolrQueryResponseWriterFactory; |
|
66 | 54 |
import edu.ucsb.nceas.metacat.common.query.SolrQueryService; |
67 | 55 |
import edu.ucsb.nceas.metacat.common.query.SolrQueryServiceController; |
68 | 56 |
import edu.ucsb.nceas.utilities.PropertyNotFoundException; |
Also available in: Unified diff
Change the package of SolrQueryReponseWriterFactory and SolrQueryResponseTransformer.