SolrDocument::addField

(PECL solr >= 0.9.2)

SolrDocument::addFieldAdds a field to the document

설명

public bool SolrDocument::addField ( string $fieldName , string $fieldValue )

This method adds a field to the SolrDocument instance.

인수

fieldName

The name of the field

fieldValue

The value of the field.

반환값

성공 시 TRUE를, 실패 시 FALSE를 반환합니다.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top