php_solr
[ class tree: php_solr ] [ index: php_solr ] [ all elements ]

Class: SolrSimpleField

Source Location: /src/indexer/SolrSimpleField.php

Class Overview


A Solr Field.


Author(s):

Implements interfaces:

Methods



Class Details

[line 49]
A Solr Field.



Tags:

author:  Alexander M. Turek <rabus@users.sourceforge.net>
usedby:  SolrHit::getFields()


[ Top ]


Class Methods


constructor __construct [line 78]

SolrSimpleField __construct( string $name, string $value, [float $boost = null])

Creates a new Solr Field.



Tags:

access:  public


Parameters:

string   $name   The name of the field.
string   $value   The field value.
float   $boost   Boost setting (optional).

[ Top ]

method getBoost [line 120]

float getBoost( )

Returns the boost setting for this field.

If the default boost shall be used for this field, null is returned.




Tags:

access:  public



Implementation of:
SolrField::getBoost()
Returns the boost factor for this field.
[ Top ]

method getName [line 100]

string getName( )

Returns the name of the field.



Tags:

access:  public



Implementation of:
SolrField::getName()
Returns the name of this field.
[ Top ]

method getValue [line 109]

string getValue( )

Returns the value of the field.



Tags:

access:  public



Implementation of:
SolrField::getValue()
Returns the value of this field as string.
[ Top ]


Documentation generated on Wed, 20 May 2009 12:51:11 +0000 by phpDocumentor 1.4.2