|
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.MultipageSearchEngineDescriptor.AttributeBuilder
org.carrot2.source.google.GoogleDocumentSourceDescriptor.AttributeBuilder
public static class GoogleDocumentSourceDescriptor.AttributeBuilder
Attribute map builder for the GoogleDocumentSource 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 |
GoogleDocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map. |
| Method Summary | |
|---|---|
GoogleDocumentSourceDescriptor.AttributeBuilder |
keepHighlights(boolean value)
Keep query word highlighting. |
GoogleDocumentSourceDescriptor.AttributeBuilder |
referer(String value)
Request referer. |
GoogleDocumentSourceDescriptor.AttributeBuilder |
serviceUrl(String value)
Service URL. |
| Methods inherited from class org.carrot2.source.MultipageSearchEngineDescriptor.AttributeBuilder |
|---|
searchMode, searchMode |
| 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 GoogleDocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
| Method Detail |
|---|
public GoogleDocumentSourceDescriptor.AttributeBuilder serviceUrl(String value)
GoogleDocumentSource.serviceUrlpublic GoogleDocumentSourceDescriptor.AttributeBuilder referer(String value)
GoogleDocumentSource.refererpublic GoogleDocumentSourceDescriptor.AttributeBuilder keepHighlights(boolean value)
true to keep these
highlights.
GoogleDocumentSource.keepHighlights
|
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 | ||||||||