API Documentation

Search/Lucene/Search/Weight/Phrase.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: Phrase.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Search_Lucene_Search_Weight_Phrase

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_Phrase

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
$_idf
Methods
__construct
sumOfSquaredWeights
normalize

Description

Properties

$_idf

float $_idf = ''

Score factor

Details

$_idf
float
visibility
private
default
final
false
static
false

$_query

Zend_Search_Lucene_Search_Query_Phrase $_query = ''

The query that this concerns.

Details

$_query
Zend_Search_Lucene_Search_Query_Phrase
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

Methods

__construct

__construct( Zend_Search_Lucene_Search_Query_Phrase $query, Zend_Search_Lucene_Interface $reader ) :

Zend_Search_Lucene_Search_Weight_Phrase constructor

Arguments
$query
Zend_Search_Lucene_Search_Query_Phrase
$reader
Zend_Search_Lucene_Interface
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.