|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.core.ProcessingComponentBase
org.carrot2.source.SearchEngineBase
org.carrot2.source.SimpleSearchEngine
org.carrot2.source.xml.RemoteXmlSimpleSearchEngineBase
org.carrot2.source.solr.SolrDocumentSource
public class SolrDocumentSource
Fetches documents from an instance of Solr.
| Field Summary | |
|---|---|
String |
serviceUrlBase
Solr service URL base. |
String |
solrSummaryFieldName
Summary field name. |
String |
solrTitleFieldName
Title field name. |
String |
solrUrlFieldName
URL field name. |
| Fields inherited from class org.carrot2.source.SearchEngineBase |
|---|
compressed, documents, query, results, resultsTotal, start, statistics |
| Constructor Summary | |
|---|---|
SolrDocumentSource()
|
|
| Method Summary | |
|---|---|
protected String |
buildServiceUrl()
Builds the URL from which XML stream will be fetched. |
protected Map<String,String> |
getXsltParameters()
Returns parameters to be passed to the XSLT transformer. |
protected IResource |
getXsltResource()
Returns the XSLT stylesheet that transforms the custom XML into Carrot2 compliant XML. |
| Methods inherited from class org.carrot2.source.xml.RemoteXmlSimpleSearchEngineBase |
|---|
beforeProcessing, fetchSearchResponse, getPassword, getUser, init |
| Methods inherited from class org.carrot2.source.SimpleSearchEngine |
|---|
process |
| Methods inherited from class org.carrot2.source.SearchEngineBase |
|---|
afterFetch, clean, urlEncode |
| Methods inherited from class org.carrot2.core.ProcessingComponentBase |
|---|
afterProcessing, dispose, getContext, getSharedExecutor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.carrot2.core.IProcessingComponent |
|---|
afterProcessing, dispose |
| Field Detail |
|---|
public String serviceUrlBase
public String solrTitleFieldName
public String solrSummaryFieldName
public String solrUrlFieldName
| Constructor Detail |
|---|
public SolrDocumentSource()
| Method Detail |
|---|
protected String buildServiceUrl()
RemoteXmlSimpleSearchEngineBase
buildServiceUrl in class RemoteXmlSimpleSearchEngineBaseprotected IResource getXsltResource()
RemoteXmlSimpleSearchEngineBase
getXsltResource in class RemoteXmlSimpleSearchEngineBaseprotected Map<String,String> getXsltParameters()
RemoteXmlSimpleSearchEngineBasenull.
getXsltParameters in class RemoteXmlSimpleSearchEngineBase
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||