| Constructor and Description |
|---|
DocumentSearchByPropertySuggester() |
| Modifier and Type | Method and Description |
|---|---|
void |
initWithParameters(SuggesterDescriptor descriptor)
Configure the Suggester instance with the parameters from the XML
descriptor.
|
List<Suggestion> |
suggest(String userInput,
SuggestionContext context)
Compute a list of possible user actions or intents given their input and
context.
|
public List<Suggestion> suggest(String userInput, SuggestionContext context) throws SuggestionException
Suggestersuggest in interface SuggesteruserInput - text typed by the usercontext - user contextSuggestionException - if the configuration or context are
inconsistent, or a backing service is failing.public void initWithParameters(SuggesterDescriptor descriptor) throws ComponentInitializationException
SuggesterinitWithParameters in interface Suggesterdescriptor - XMap descriptor with the aggregate configuration
information of the component.ComponentInitializationExceptionCopyright © 2012 Nuxeo SA. All Rights Reserved.