Changes between Version 6 and Version 7 of adeiSEARCH
- Timestamp:
- 09/11/09 17:24:13 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
adeiSEARCH
v6 v7 17 17 18 18 The global options are going next to the search type and specified in the square brackets. This options then passed to the search modules with the search string and handled by the module code. The following options are supported: 19 * ''='' - Exact match, default behavior is to match20 * ''w'' - Word match 19 * ''='' - Exact match, for most modules this means what the search string is matched completely without splitting into the phrases 20 * ''w'' - Word match, 21 21 * ''~'' - Fuzzy match 22 22 23 Then the search string is follows. If the ''Exact match'' flag is not specified, it consists of the phrases. 24 23 25 Filters are implemented as classes 26 27 == Implementation == 28 The following procedure is executed for each module: 29 * ''Search'' function of ''Search Engine'' is executed with four parameters: module, search string, search filter, global options. 30 * ''GetList'' function is called to get complete associative list of elements. In this list the key is element identificator and value contains an associative array with terms to check against the search terms 31 * ''CheckString'' function is called on each element of the list, the elements for which the non-zero value is returned are added to the search results 32 33 The ''CheckString'' is working in following way: 34 * The search string is splited in phrases and for each phrase ''CheckPhrase'' function is called. 35 * 36 37 * 38 == Providing New Search Engine == 39 40 24 41 25 42 == INTERVALSearch Engine ==