public interface Search extends Component
Search Sling Model used for the /apps/core/wcm/components/search component.| Modifier and Type | Field and Description |
|---|---|
static String |
PN_RESULTS_SIZE
Name of the configuration policy property that defines the maximal number of results fetched by a search request.
|
static String |
PN_SEARCH_ROOT
Name of the resource / configuration policy property that defines the site's search root from which to search.
|
static String |
PN_SEARCH_TERM_MINIMUM_LENGTH
Name of the configuration policy property that defines the minimum length of the search term to start the search.
|
| Modifier and Type | Method and Description |
|---|---|
default @NotNull String |
getExportedType()
Returns the type of the resource for which the export is performed.
|
default @NotNull String |
getRelativePath()
Relative path of the search component in the current page.
|
default int |
getResultsSize()
The maximal number of results fetched by a search request.
|
default int |
getSearchTermMinimumLength()
The minimum length of the search term to start the search.
|
static final String PN_SEARCH_ROOT
static final String PN_SEARCH_TERM_MINIMUM_LENGTH
static final String PN_RESULTS_SIZE
default int getResultsSize()
default int getSearchTermMinimumLength()
@NotNull default @NotNull String getRelativePath()
@NotNull default @NotNull String getExportedType()
ComponentExporterReturns the type of the resource for which the export is performed.
NOTE: methods whose JSON serialization would lead to the same JSON property name (":type") will not be serialized.
getExportedType in interface ComponentgetExportedType in interface ComponentExporterComponentExporter.getExportedType()Copyright © 2010 - 2020 Adobe. All Rights Reserved