SolrDocument::valid
(PECL solr >= 0.9.2)
SolrDocument::valid — Checks if the current position internally is still valid
Description
public bool SolrDocument::valid
( void
)
Checks if the current position internally is still valid. It is used during foreach operations.
Parameters
This function has no parameters.
Return Values
Returns TRUE
on success and FALSE
if the current position is no longer valid.
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Расширения для работы с поисковыми системами
- Apache Solr
- Функция SolrDocument::addField() - Adds a field to the document
- Функция SolrDocument::clear() - Drops all the fields in the document
- Функция SolrDocument::__clone() - Creates a copy of a SolrDocument object
- Функция SolrDocument::__construct() - Constructor
- Функция SolrDocument::current() - Retrieves the current field
- Функция SolrDocument::deleteField() - Removes a field from the document
- Функция SolrDocument::__destruct() - Destructor
- Функция SolrDocument::fieldExists() - Checks if a field exists in the document
- Функция SolrDocument::__get() - Access the field as a property
- Функция SolrDocument::getField() - Retrieves a field by name
- Функция SolrDocument::getFieldCount() - Returns the number of fields in this document
- Функция SolrDocument::getFieldNames() - Returns an array of fields names in the document
- Функция SolrDocument::getInputDocument() - Returns a SolrInputDocument equivalent of the object
- Функция SolrDocument::__isset() - Checks if a field exists
- Функция SolrDocument::key() - Retrieves the current key
- Функция SolrDocument::merge() - Merges source to the current SolrDocument
- Функция SolrDocument::next() - Moves the internal pointer to the next field
- Функция SolrDocument::offsetExists() - Checks if a particular field exists
- Функция SolrDocument::offsetGet() - Retrieves a field
- Функция SolrDocument::offsetSet() - Adds a field to the document
- Функция SolrDocument::offsetUnset() - Removes a field
- Функция SolrDocument::reset() - This is an alias to SolrDocument::clear()
- Функция SolrDocument::rewind() - Resets the internal pointer to the beginning
- Функция SolrDocument::serialize() - Used for custom serialization
- Функция SolrDocument::__set() - Adds another field to the document
- Функция SolrDocument::sort() - Sorts the fields in the document
- Функция SolrDocument::toArray() - Returns an array representation of the document
- Функция SolrDocument::unserialize() - Custom serialization of SolrDocument objects
- Функция SolrDocument::__unset() - Removes a field from the document
- Функция SolrDocument::valid() - Checks if the current position internally is still valid
Коментарии
404 Not Found