API Documentation

Search/Lucene/Search/Weight/MultiTerm.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Search_Lucene
subpackage
Search
version
$Id: MultiTerm.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Search_Lucene_Search_Weight_MultiTerm

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Search_Lucene_Search_Weight_MultiTerm

Extends from
Zend_Search_Lucene_Search_Weight
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Search_Lucene
subpackage
Search
Properties
$_reader
$_query
$_weights
Methods
__construct
getValue
sumOfSquaredWeights
normalize

Description

Properties

$_query

Zend_Search_Lucene_Search_Query $_query = ''

The query that this concerns.

Details

$_query
Zend_Search_Lucene_Search_Query
visibility
private
default
final
false
static
false

$_reader

Zend_Search_Lucene_Interface $_reader = ''

IndexReader.

Details

$_reader
Zend_Search_Lucene_Interface
visibility
private
default
final
false
static
false

$_weights

array $_weights = ''

Query terms weights Array of Zend_Search_Lucene_Search_Weight_Term

Details

$_weights
array
visibility
private
default
final
false
static
false

Methods

__construct

__construct( Zend_Search_Lucene_Search_Query $query, Zend_Search_Lucene_Interface $reader ) :

Zend_Search_Lucene_Search_Weight_MultiTerm constructor query - the query that this concerns.

reader - index reader

Arguments
$query
Zend_Search_Lucene_Search_Query
$reader
Zend_Search_Lucene_Interface
Details
visibility
public
final
false
static
false

getValue

getValue( ) : float

The weight for this query Standard Weight::$_value is not used for boolean queries

Output
float
Details
visibility
public
final
false
static
false

normalize

normalize( float $queryNorm ) :

Assigns the query normalization factor to this.

Arguments
$queryNorm
float
Details
visibility
public
final
false
static
false

sumOfSquaredWeights

sumOfSquaredWeights( ) : float

The sum of squared weights of contained query clauses.

Output
float
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.