SolrInputDocument::fieldExists
(PECL solr >= 0.9.2)
SolrInputDocument::fieldExists — Checks if a field exists
Description
public bool SolrInputDocument::fieldExists
( string
$fieldName
)Checks if a field exists
Parameters
-
fieldName
-
Name of the field.
Return Values
Returns TRUE
if the field was found and FALSE
if it was not found.
- 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