public class SearchMonitorUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_SEARCH
Key for search event.
|
static String |
STRING_RESOURCE_PATH
The string resource path using for localizing search monitoring strings.
|
Constructor and Description |
---|
SearchMonitorUtil() |
Modifier and Type | Method and Description |
---|---|
static IMonitor |
getSearchMonitor(String searchQuery,
ITransaction transaction)
Returns a monitor for the "lumis.portal.monitor.ev.search" event.
|
static List<String> |
getSearchTerms(String searchQuery)
Returns the searched terms.
|
static List<String> |
getSearchWords(String searchQuery)
Returns the search query split into words
|
public static final String STRING_RESOURCE_PATH
public static final String EVENT_SEARCH
public static List<String> getSearchTerms(String searchQuery)
searchQuery
- the user input.public static List<String> getSearchWords(String searchQuery)
searchQuery
- public static IMonitor getSearchMonitor(String searchQuery, ITransaction transaction) throws PortalException
page
- the pagesearchServiceInstanceConfig
- the search service instance.searchQuery
- the search's query.transaction
- the transaction for persistence access.PortalException
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.