SolrInputDocument::merge
(PECL solr >= 0.9.2)
SolrInputDocument::merge — Merges one input document into another
Description
Merges one input document into another.
Parameters
-
sourceDoc
-
The source document.
-
overwrite
-
If this is
TRUE
it will replace matching fields in the destination document.
Return Values
Returns TRUE
on success or FALSE
on failure. In the future, this will be modified to return the number of fields in the new document.
- 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