API Documentation

Zend/Search/Lucene/Search/Weight/Term.php

Show: inherited
Table of Contents

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.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Search_Lucene  
Subpackage
Search  
Version
$Id: Term.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Search_Lucene_Search_Weight_Term

Package: Zend\Search\Lucene\Search

Parent(s)
\Zend_Search_Lucene_Search_Weight
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprivatefloat  $_idf= ''

Score factor

Details
Type
float
Propertyprivate\Zend_Search_Lucene_Search_Query  $_query= ''

The query that this concerns.

Propertyprivatefloat  $_queryWeight= ''

Query weight

Details
Type
float
Propertyprivate\Zend_Search_Lucene_Interface  $_reader= ''

IndexReader.

Propertyprivate\Zend_Search_Lucene_Index_Term  $_term= ''

Term

Methods

methodpublic__construct( \Zend_Search_Lucene_Index_Term $term, \Zend_Search_Lucene_Search_Query $query, \Zend_Search_Lucene_Interface $reader ) : void

Zend_Search_Lucene_Search_Weight_Term constructor reader - index reader

methodpublicnormalize( float $queryNorm ) : void

Assigns the query normalization factor to this.

Parameters
Name Type Description
$queryNorm float
methodpublicsumOfSquaredWeights( ) : float

The sum of squared weights of contained query clauses.

Returns
Type Description
float
Documentation was generated by DocBlox 0.15.1.