|
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.ambient.FubDocumentSourceDescriptor.AttributeBuilder
public static class FubDocumentSourceDescriptor.AttributeBuilder
Attribute map builder for the FubDocumentSource 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 |
FubDocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map. |
| Method Summary | |
|---|---|
List<Document> |
documents()
|
FubDocumentSourceDescriptor.AttributeBuilder |
minTopicSize(int value)
Minimum topic size. |
String |
query()
|
Set<Object> |
topicIds()
Topics and subtopics covered in the output documents. |
| 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 FubDocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
| Method Detail |
|---|
public List<Document> documents()
FubDocumentSource.documentspublic Set<Object> topicIds()
FubDocumentSource.documents and it may vary for the same main topic based e.g. on the
requested number of requested results or FubDocumentSource.minTopicSize.
FubDocumentSource.topicIdspublic String query()
FubDocumentSource.querypublic FubDocumentSourceDescriptor.AttributeBuilder minTopicSize(int value)
FubDocumentSource.minTopicSize
|
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 | ||||||||