Changes between Version 6 and Version 7 of adeiSEARCH

Show
Ignore:
Author:
csa (IP: 217.112.40.22)
Timestamp:
09/11/09 17:24:13 (15 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • adeiSEARCH

    v6 v7  
    1717 
    1818The 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 match  
    20  * ''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,  
    2121 * ''~'' - Fuzzy match 
    2222 
     23Then the search string is follows. If the ''Exact match'' flag is not specified, it consists of the phrases.  
     24 
    2325Filters are implemented as classes 
     26 
     27== Implementation == 
     28The 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 
     33The ''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 
    2441 
    2542== INTERVALSearch Engine ==