|
SolrInputDocument クラスはじめにこのクラスは、Solr インデックスにサブミットされようとしている Solr 文書を表現します。 クラス概要SolrInputDocument
final
class SolrInputDocument
{
/* 定数 */
const
int
SolrInputDocument::SORT_DEFAULT = 1;
const
int
SolrInputDocument::SORT_ASC = 1;
const
int
SolrInputDocument::SORT_DESC = 2;
const
int
SolrInputDocument::SORT_FIELD_NAME = 1;
const
int
SolrInputDocument::SORT_FIELD_VALUE_COUNT = 2;
const
int
SolrInputDocument::SORT_FIELD_BOOST_VALUE = 4;
/* メソッド */
public __construct()
public void addChildDocument(SolrInputDocument
$child)public void addChildDocuments(array
&$docs)public bool addField(string
$fieldName, string $fieldValue, float $fieldBoostValue = 0.0)public bool clear()
public void __clone()
public bool deleteField(string
$fieldName)public bool fieldExists(string
$fieldName)public float getBoost()
public array getChildDocuments()
public int getChildDocumentsCount()
public SolrDocumentField getField(string
$fieldName)public float getFieldBoost(string
$fieldName)public intfalse getFieldCount()
public array getFieldNames()
public bool hasChildDocuments()
public bool merge(SolrInputDocument
$sourceDoc, bool $overwrite = true)public bool reset()
public bool setBoost(float
$documentBoostValue)public bool setFieldBoost(string
$fieldName, float $fieldBoostValue)public bool sort(int
$sortOrderBy, int $sortDirection = SolrInputDocument::SORT_ASC)public array toArray()
public __destruct()
}定義済み定数SolrInputDocument クラス定数
|