public interface FtsService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
collectEntityHierarchyNames(java.lang.String entityName) |
SearchResult |
expandResult(SearchResult result,
java.lang.String entityName)
Loads more results.
|
java.lang.String |
getHitPropertyCaption(java.lang.String entityName,
java.lang.String hitProperty) |
com.haulmont.chile.core.model.MetaProperty |
getPrimaryKeyPropertyForFts(com.haulmont.chile.core.model.MetaClass metaClass)
See
FtsManagerAPI#getPrimaryKeyPropertyForFts() javadoc for details |
boolean |
isEntityIndexed(java.lang.String entityName)
Checks whether an entity is indexed by full text search engine
|
SearchResult |
search(java.lang.String searchTerm)
Performs a full text search among all entities described in fts
configuration file.
|
SearchResult |
search(java.lang.String searchTerm,
java.util.List<java.lang.String> entityNames)
Performs a full text search.
|
static final java.lang.String NAME
SearchResult search(java.lang.String searchTerm)
FtsConfig.getMaxSearchResults()
SearchResult search(java.lang.String searchTerm, java.util.List<java.lang.String> entityNames)
entityNames
parameter.
Please notice that the result will contain all entities that match a search criteria
SearchResult expandResult(SearchResult result, java.lang.String entityName)
boolean isEntityIndexed(java.lang.String entityName)
java.util.List<java.lang.String> collectEntityHierarchyNames(java.lang.String entityName)
java.lang.String getHitPropertyCaption(java.lang.String entityName, java.lang.String hitProperty)
com.haulmont.chile.core.model.MetaProperty getPrimaryKeyPropertyForFts(com.haulmont.chile.core.model.MetaClass metaClass)
FtsManagerAPI#getPrimaryKeyPropertyForFts()
javadoc for details