| [ Index ] |
PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008] |
[Source view] [Print] [Project Stats]
Zend Framework LICENSE
| Copyright: | Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) |
| License: | http://framework.zend.com/license/new-bsd New BSD License |
| File Size: | 390 lines (14 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Zend_Search_Lucene_Search_Query_Fuzzy:: (11 methods):
__construct()
_calculateMaxDistance()
rewrite()
optimize()
getQueryTerms()
createWeight()
execute()
matchedDocs()
score()
highlightMatchesDOM()
__toString()
Class: Zend_Search_Lucene_Search_Query_Fuzzy - X-Ref
| __construct(Zend_Search_Lucene_Index_Term $term, $minimumSimilarity = self::DEFAULT_MIN_SIMILARITY, $prefixLength = 0) X-Ref |
| Zend_Search_Lucene_Search_Query_Wildcard constructor. param: Zend_Search_Lucene_Index_Term $pattern |
| _calculateMaxDistance($prefixLength, $termLength, $length) X-Ref |
| Calculate maximum distance for specified word length param: integer $prefixLength param: integer $termLength param: integer $length return: integer |
| rewrite(Zend_Search_Lucene_Interface $index) X-Ref |
| Re-write query into primitive queries in the context of specified index param: Zend_Search_Lucene_Interface $index return: Zend_Search_Lucene_Search_Query |
| optimize(Zend_Search_Lucene_Interface $index) X-Ref |
| Optimize query in the context of specified index param: Zend_Search_Lucene_Interface $index return: Zend_Search_Lucene_Search_Query |
| getQueryTerms() X-Ref |
| Return query terms return: array |
| createWeight(Zend_Search_Lucene_Interface $reader) X-Ref |
| Constructs an appropriate Weight implementation for this query. param: Zend_Search_Lucene_Interface $reader return: Zend_Search_Lucene_Search_Weight |
| execute(Zend_Search_Lucene_Interface $reader) X-Ref |
| Execute query in context of index reader It also initializes necessary internal structures param: Zend_Search_Lucene_Interface $reader |
| matchedDocs() X-Ref |
| Get document ids likely matching the query It's an array with document ids as keys (performance considerations) return: array |
| score($docId, Zend_Search_Lucene_Interface $reader) X-Ref |
| Score specified document param: integer $docId param: Zend_Search_Lucene_Interface $reader return: float |
| highlightMatchesDOM(Zend_Search_Lucene_Document_Html $doc, &$colorIndex) X-Ref |
| Highlight query terms param: integer &$colorIndex param: Zend_Search_Lucene_Document_Html $doc |
| __toString() X-Ref |
| Print a query return: string |
| Generated: Wed Jan 14 11:33:29 2009 | Cross-referenced by PHPXref 0.7 |