Search Interface Reference
Detailed Description
Search implementations are used to search entity objects.
Definition at line 21 of file Search.php.
Inheritance diagram for Search:
Public Member Functions | |
check ($word) | |
find ($searchTerm, PagingInfo $pagingInfo=null) | |
isSearchable (PersistentObject $obj) | |
Member Function Documentation
check | ( | $word | ) |
Check if the search word is valid.
- Parameters
-
$word
- Returns
- True, if valid, error message else
Implemented in LuceneSearch.
find | ( | $searchTerm, | |
PagingInfo | $pagingInfo = null |
||
) |
Search for searchTerm.
- Parameters
-
$searchTerm $pagingInfo A PagingInfo instance (optional, default: null)
- Returns
- Associative array with object ids as keys and associative array with keys 'oid', 'score', 'summary' as value
Implemented in LuceneSearch.
isSearchable | ( | PersistentObject | $obj | ) |
Check if the instance object is searchable (defined by the property 'is_searchable')
- Parameters
-
$obj PersistentObject instance
- Returns
- Boolean whether the object is searchable or not
Implemented in LuceneSearch.