SolrInputDocument::clear
(PECL solr >= 0.9.2)
SolrInputDocument::clear — Resets the input document
Description
public bool SolrInputDocument::clear
( void
)
Resets the document by dropping all the fields and resets the document boost to zero.
Parameters
This function has no parameters.
Return Values
Returns TRUE
on success or FALSE
on failure.
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Расширения для работы с поисковыми системами
- Apache Solr
- Функция SolrInputDocument::addField() - Adds a field to the document
- Функция SolrInputDocument::clear() - Resets the input document
- Функция SolrInputDocument::__clone() - Creates a copy of a SolrDocument
- Функция SolrInputDocument::__construct() - Constructor
- Функция SolrInputDocument::deleteField() - Removes a field from the document
- Функция SolrInputDocument::__destruct() - Destructor
- Функция SolrInputDocument::fieldExists() - Checks if a field exists
- Функция SolrInputDocument::getBoost() - Retrieves the current boost value for the document
- Функция SolrInputDocument::getField() - Retrieves a field by name
- Функция SolrInputDocument::getFieldBoost() - Retrieves the boost value for a particular field
- Функция SolrInputDocument::getFieldCount() - Returns the number of fields in the document
- Функция SolrInputDocument::getFieldNames() - Returns an array containing all the fields in the document
- Функция SolrInputDocument::merge() - Merges one input document into another
- Функция SolrInputDocument::reset() - This is an alias of SolrInputDocument::clear
- Функция SolrInputDocument::setBoost() - Sets the boost value for this document
- Функция SolrInputDocument::setFieldBoost() - Sets the index-time boost value for a field
- Функция SolrInputDocument::sort() - Sorts the fields within the document
- Функция SolrInputDocument::toArray() - Returns an array representation of the input document
Коментарии
404 Not Found