The SolrInputDocument class
(PECL solr >= 0.9.2)
Введение
This class represents a Solr document that is about to be submitted to the Solr index.
Обзор классов
final
SolrInputDocument
{
/* Константы */
/* Методы */
}Предопределенные константы
SolrInputDocument Class Constants
SolrInputDocument::SORT_DEFAULT
-
Sorts the fields in ascending order.
SolrInputDocument::SORT_ASC
-
Sorts the fields in ascending order.
SolrInputDocument::SORT_DESC
-
Sorts the fields in descending order.
SolrInputDocument::SORT_FIELD_NAME
-
Sorts the fields by name
SolrInputDocument::SORT_FIELD_VALUE_COUNT
-
Sorts the fields by number of values.
SolrInputDocument::SORT_FIELD_BOOST_VALUE
-
Sorts the fields by boost value.
Содержание
- 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
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Расширения для работы с поисковыми системами
- Введение
- Установка и настройка
- Предопределенные константы
- Функции Solr
- Примеры
- The SolrUtils class
- The SolrInputDocument class
- The SolrDocument class
- The SolrDocumentField class
- Класс SolrObject
- The SolrClient class
- The SolrResponse class
- The SolrQueryResponse class
- The SolrUpdateResponse class
- The SolrPingResponse class
- The SolrGenericResponse class
- Класс SolrParams
- Класс SolrModifiableParams
- The SolrQuery class
- SolrDisMaxQuery
- SolrCollapseFunction
- Класс SolrException
- The SolrClientException class
- SolrServerException
- The SolrIllegalArgumentException class
- The SolrIllegalOperationException class
- SolrMissingMandatoryParameterException
Коментарии
404 Not Found