@Service public class IndexSearchServiceImpl extends Object implements IndexSearchService, SearchableService, FacetFieldValidationService
| Modifier and Type | Field and Description |
|---|---|
static String |
DISPLAY_NAME_FIELD
Constant to hold the display name option for the index search
|
static String |
MATCH_COLUMN_FIELD
Constant to hold the column match field option for the index search.
|
static int |
SEARCH_TERM_MINIMUM_ALLOWABLE_LENGTH
The minimum allowable length of a search term.
|
static String |
SHORT_DESCRIPTION_FIELD
Constant to hold the short description option for the index search.
|
| Constructor and Description |
|---|
IndexSearchServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getValidFacetFields()
Returns valid facet fields.
|
Set<String> |
getValidSearchResponseFields()
Returns valid search response fields.
|
IndexSearchResponse |
indexSearch(IndexSearchRequest request,
Set<String> fields,
Set<String> match)
The index indexSearch method will take as parameters an index indexSearch request that contains a indexSearch term string, and a set of field strings.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateSearchResponseFieldsvalidateFacetFieldspublic static final String DISPLAY_NAME_FIELD
public static final String MATCH_COLUMN_FIELD
public static final int SEARCH_TERM_MINIMUM_ALLOWABLE_LENGTH
public static final String SHORT_DESCRIPTION_FIELD
public IndexSearchResponse indexSearch(IndexSearchRequest request, Set<String> fields, Set<String> match)
IndexSearchServiceindexSearch in interface IndexSearchServicerequest - the index indexSearch request that contains a indexSearch term stringfields - the set of fields that are to be returned in the index indexSearch responsematch - the set of match fields that are to be searched upon in the index searchpublic Set<String> getValidSearchResponseFields()
SearchableServicegetValidSearchResponseFields in interface SearchableServicepublic Set<String> getValidFacetFields()
FacetFieldValidationServicegetValidFacetFields in interface FacetFieldValidationServiceCopyright © 2021. All rights reserved.