@Deprecated public class DocumentSearchByPropertySuggester extends Object implements Suggester
Modifier and Type | Field and Description |
---|---|
protected String |
description
Deprecated.
|
protected boolean |
disabled
Deprecated.
|
protected String |
iconURL
Deprecated.
|
protected String |
label
Deprecated.
|
protected String |
searchField
Deprecated.
|
protected String[] |
searchFields
Deprecated.
|
protected String |
suggesterId
Deprecated.
|
Constructor and Description |
---|
DocumentSearchByPropertySuggester()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
initWithParameters(SuggesterDescriptor descriptor)
Deprecated.
Configure the Suggester instance with the parameters from the XML descriptor.
|
List<Suggestion> |
suggest(String userInput,
SuggestionContext context)
Deprecated.
Compute a list of possible user actions or intents given their input and context.
|
protected String searchField
protected String suggesterId
protected String[] searchFields
protected String description
protected boolean disabled
public DocumentSearchByPropertySuggester()
public List<Suggestion> suggest(String userInput, SuggestionContext context) throws SuggestionException
Suggester
suggest
in interface Suggester
userInput
- 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
Suggester
initWithParameters
in interface Suggester
descriptor
- XMap descriptor with the aggregate configuration information of the component.ComponentInitializationException
Copyright © 2015 Nuxeo SA. All rights reserved.