[ Index ]

PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008]

title

Body

[close]

/search/Zend/Search/Lucene/Search/ -> Query.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
File Size: 223 lines (6 kb)
Included or required:0 times
Referenced: 5 times
Includes or requires: 0 files

Defines 6 functions

  getBoost()
  setBoost()
  _initWeight()
  reset()
  _getHighlightColor()
  highlightMatches()

Functions
Functions that are not part of a class:

getBoost()   X-Ref
Gets the boost for this clause.  Documents matching
this clause will (in addition to the normal weightings) have their score
multiplied by boost.   The boost is 1.0 by default.

return: float

setBoost($boost)   X-Ref
Sets the boost for this query clause to $boost.

param: float $boost

_initWeight(Zend_Search_Lucene_Interface $reader)   X-Ref
Constructs an initializes a Weight for a _top-level_query_.

param: Zend_Search_Lucene_Interface $reader

reset()   X-Ref
Reset query, so it can be reused within other queries or
with other indeces


_getHighlightColor(&$colorIndex)   X-Ref
Get highlight color and shift to next

param: integer &$colorIndex
return: string

highlightMatches($inputHTML)   X-Ref
Highlight matches in $inputHTML

param: string $inputHTML
return: string



Generated: Wed Jan 14 11:33:29 2009 Cross-referenced by PHPXref 0.7