|
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.source.SearchEngineBaseDescriptor.AttributeBuilder
org.carrot2.source.SimpleSearchEngineDescriptor.AttributeBuilder
org.carrot2.source.xml.RemoteXmlSimpleSearchEngineBaseDescriptor.AttributeBuilder
org.carrot2.source.google.GoogleDesktopDocumentSourceDescriptor.AttributeBuilder
public static class GoogleDesktopDocumentSourceDescriptor.AttributeBuilder
Attribute map builder for the GoogleDesktopDocumentSource 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 |
GoogleDesktopDocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map. |
| Method Summary | |
|---|---|
GoogleDesktopDocumentSourceDescriptor.AttributeBuilder |
keepHighlights(boolean value)
Keep query word highlighting. |
GoogleDesktopDocumentSourceDescriptor.AttributeBuilder |
queryUrl(String value)
Query URL. |
| 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 GoogleDesktopDocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
| Method Detail |
|---|
public GoogleDesktopDocumentSourceDescriptor.AttributeBuilder queryUrl(String value)
HKEY_CURRENT_USER\Software\Google\Google Desktop\API\search_url system
registry key and Carrot2 will attempt to automatically read the value from the
registry when run with Administrator provileges. Please consult Google
Desktop API documentation for further instructions on how to determine the
query URL on other systems.
GoogleDesktopDocumentSource.queryUrlpublic GoogleDesktopDocumentSourceDescriptor.AttributeBuilder keepHighlights(boolean value)
true to keep these
highlights.
GoogleDesktopDocumentSource.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 | ||||||||