downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SolrInputDocument::addField> <SolrUtils::queryPhrase
Last updated: Fri, 20 Nov 2009

view this page in

The SolrInputDocument class

Introducere

This class represents a Solr document that is about to be submitted to the Solr index.

Sinopsisul clasei

SolrInputDocument
final SolrInputDocument {
/* Constants */
const integer SolrInputDocument::SORT_DEFAULT = 1 ;
const integer SolrInputDocument::SORT_ASC = 1 ;
const integer SolrInputDocument::SORT_DESC = 2 ;
/* Properties */
/* Methods */
public bool addField ( string $fieldName , string $fieldValue [, float $fieldBoostValue ] )
public bool clear ( void )
public void __clone ( void )
__construct ( void )
public bool deleteField ( string $fieldName )
public void __destruct ( void )
public bool fieldExists ( string $fieldName )
public float getBoost ( void )
public SolrDocumentField getField ( string $fieldName )
public float getFieldBoost ( string $fieldName )
public int getFieldCount ( void )
public array getFieldNames ( void )
public bool merge ( SolrInputDocument &$sourceDoc [, bool $overwrite ] )
public bool reset ( void )
public bool setBoost ( float $documentBoostValue )
public bool setFieldBoost ( string $fieldName , float $fieldBoostValue )
public bool sort ( int $sortOrderBy [, int $sortDirection ] )
public void toArray ( void )
}

Proprietăţi

privateinteger_hashtable_index

Used internally to track the document instance.

Constante predefinite

SolrInputDocument Class Constants

SolrInputDocument::SORT_DEFAULT

Sorts the fields in ascending order.

SolrInputDocument::SORT_ASC

Sorts the fields in ascending order.

SolrInputDocument::SORT_DESC

Sorts the fields in descending order.

SolrInputDocument::SORT_FIELD_NAME

Sorts the fields by name

SolrInputDocument::SORT_FIELD_VALUE_COUNT

Sorts the fields by number of values.

SolrInputDocument::SORT_FIELD_BOOST_VALUE

Sorts the fields by boost value.

Cuprins



add a note add a note User Contributed Notes
SolrInputDocument
There are no user contributed notes for this page.

SolrInputDocument::addField> <SolrUtils::queryPhrase
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites