public class SolrSearcher extends Object
Modifier and Type | Field and Description |
---|---|
SimpleDateFormat |
Brief_Format |
Map<String,String> |
datasourceMapNames |
DataSourceMapNamesBean |
dsmnb |
HashMap<String,String> |
filterslist |
FilterslistMapBean |
flmb |
SimpleMapBean |
mlt_bean |
HashMap<String,String> |
mlt_terms |
SimpleDateFormat |
PRT_Format |
SimpleDateFormat |
Solr_ISO8601FORMAT |
SimpleDateFormat |
Solr_RFC822DATEFORMAT |
Constructor and Description |
---|
SolrSearcher(String _url) |
Modifier and Type | Method and Description |
---|---|
String |
convertToBrief(String date) |
String |
convertToPRT(String date) |
protected Response |
createResponse(String _xml,
List<String> _fields) |
List<D1DocTransferObject> |
findRelatedDocByResourceMap(String pid,
org.dataone.service.types.v1.Session d1Session) |
CoinsBean |
getCoinsData(String pid,
org.dataone.service.types.v1.Session d1Session) |
D1DocTransferObject |
getD1DocInfo(String pid,
org.dataone.service.types.v1.Session d1Session) |
String |
getTransform(File xslFilename,
InputStream is) |
Response |
search(String _query,
int _start,
int _rows,
List<String> _fields,
String _type,
String _schema,
String _dismaxSort,
String _facet,
String _facetLimit,
List<String> _facetField,
boolean isRSS,
String feedValue,
boolean isMLT,
String spell,
List<String> queryFilters,
org.dataone.service.types.v1.Session d1Session) |
Response |
search(String _query,
int _start,
int _rows,
List<String> _fields,
String _type,
String _schema,
String _dismaxSort,
String _facet,
String _facetLimit,
List<String> _facetField,
List<String> queryFilters,
org.dataone.service.types.v1.Session d1Session) |
Response |
search(String _query,
int _start,
int _rows,
List<String> _fields,
String _type,
String _schema,
String _dismaxSort,
String _facet,
String _facetLimit,
List<String> _facetField,
String imitlessFacet,
String limtlessFieldValue,
boolean isRSS,
String feedValue,
boolean isMLT,
String spell,
List<String> queryFilters,
org.dataone.service.types.v1.Session d1Session) |
String |
solrPass(Map parameters,
org.dataone.service.types.v1.Session d1Session) |
public SimpleMapBean mlt_bean
public DataSourceMapNamesBean dsmnb
public FilterslistMapBean flmb
public SimpleDateFormat Solr_ISO8601FORMAT
public SimpleDateFormat Brief_Format
public SimpleDateFormat Solr_RFC822DATEFORMAT
public SimpleDateFormat PRT_Format
public SolrSearcher(String _url) throws MalformedURLException
MalformedURLException
public Response search(String _query, int _start, int _rows, List<String> _fields, String _type, String _schema, String _dismaxSort, String _facet, String _facetLimit, List<String> _facetField, String imitlessFacet, String limtlessFieldValue, boolean isRSS, String feedValue, boolean isMLT, String spell, List<String> queryFilters, org.dataone.service.types.v1.Session d1Session)
public Response search(String _query, int _start, int _rows, List<String> _fields, String _type, String _schema, String _dismaxSort, String _facet, String _facetLimit, List<String> _facetField, List<String> queryFilters, org.dataone.service.types.v1.Session d1Session)
public List<D1DocTransferObject> findRelatedDocByResourceMap(String pid, org.dataone.service.types.v1.Session d1Session)
public D1DocTransferObject getD1DocInfo(String pid, org.dataone.service.types.v1.Session d1Session)
public CoinsBean getCoinsData(String pid, org.dataone.service.types.v1.Session d1Session)
public Response search(String _query, int _start, int _rows, List<String> _fields, String _type, String _schema, String _dismaxSort, String _facet, String _facetLimit, List<String> _facetField, boolean isRSS, String feedValue, boolean isMLT, String spell, List<String> queryFilters, org.dataone.service.types.v1.Session d1Session)
public String getTransform(File xslFilename, InputStream is)
protected Response createResponse(String _xml, List<String> _fields) throws SAXException, IOException, ParserConfigurationException, org.jdom.JDOMException
_xml
- _fields
- SAXException
IOException
ParserConfigurationException
org.jdom.JDOMException
Copyright © 2016. All rights reserved.