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

search for in the

SolrInputDocument::clear> <SolrInputDocument
[edit] Last updated: Fri, 07 Jun 2013

view this page in

SolrInputDocument::addField

(PECL solr >= 0.9.2)

SolrInputDocument::addField文書にフィールドを追加

説明

public bool SolrInputDocument::addField ( string $fieldName , string $fieldValue [, float $fieldBoostValue = 0.0 ] )

複数値の項目に対しては、もし有効な boost 値が指定されると、 指定された値とこのフィールドに対する現行の boost 値 とが掛け算されます。

パラメータ

fieldName

フィールド名

fieldValue

このフィールドに対する値

fieldBoostValue

フィールドに対するインデキシング時間の boost。 負の値にはできませんが、それでも 1.0 未満の価格を渡せます。しかし、それらはゼロより大きくなければなりません。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。



add a note add a note User Contributed Notes SolrInputDocument::addField - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites