|
Carrot2 v3.6.0-SNAPSHOT
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.source.SearchEngineBaseDescriptor.AttributeBuilder
org.carrot2.source.SimpleSearchEngineDescriptor.AttributeBuilder
org.carrot2.source.xml.RemoteXmlSimpleSearchEngineBaseDescriptor.AttributeBuilder
org.carrot2.source.solr.SolrDocumentSourceDescriptor.AttributeBuilder
public static class SolrDocumentSourceDescriptor.AttributeBuilder
Attribute map builder for the SolrDocumentSource component. You can use this
builder as a type-safe alternative to populating the attribute map using attribute keys.
| Field Summary | |
|---|---|
Map<String,Object> |
map
The attribute map populated by this builder. |
| Constructor Summary | |
|---|---|
protected |
SolrDocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map. |
| Method Summary | |
|---|---|
SolrDocumentSourceDescriptor.AttributeBuilder |
serviceUrlBase(String value)
Solr service URL base. |
SolrDocumentSourceDescriptor.AttributeBuilder |
solrSummaryFieldName(String value)
Summary field name. |
SolrDocumentSourceDescriptor.AttributeBuilder |
solrTitleFieldName(String value)
Title field name. |
SolrDocumentSourceDescriptor.AttributeBuilder |
solrUrlFieldName(String value)
URL field name. |
| Methods inherited from class org.carrot2.source.xml.RemoteXmlSimpleSearchEngineBaseDescriptor.AttributeBuilder |
|---|
xmlDocumentSourceHelper |
| Methods inherited from class org.carrot2.source.SearchEngineBaseDescriptor.AttributeBuilder |
|---|
compressed, documents, query, results, resultsTotal, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final Map<String,Object> map
| Constructor Detail |
|---|
protected SolrDocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
| Method Detail |
|---|
public SolrDocumentSourceDescriptor.AttributeBuilder serviceUrlBase(String value)
SolrDocumentSource.serviceUrlBasepublic SolrDocumentSourceDescriptor.AttributeBuilder solrTitleFieldName(String value)
SolrDocumentSource.solrTitleFieldNamepublic SolrDocumentSourceDescriptor.AttributeBuilder solrSummaryFieldName(String value)
SolrDocumentSource.solrSummaryFieldNamepublic SolrDocumentSourceDescriptor.AttributeBuilder solrUrlFieldName(String value)
SolrDocumentSource.solrUrlFieldName
|
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 | ||||||||