Documentación offline PHP master

La clase SolrInputDocument

master Ver versión oficial en línea Licencia CC-BY-3.0Descargado el 2026-08-02

En esta página

Introducción#

Esta clase representa un documento Solr que está a punto de ser enviado al índice de Solr.

Sinopsis de la clase#

SolrInputDocument

final

SolrInputDocument

Constantes

const

int

SolrInputDocument::SORT_DEFAULT

1

const

int

SolrInputDocument::SORT_ASC

1

const

int

SolrInputDocument::SORT_DESC

2

const

int

SolrInputDocument::SORT_FIELD_NAME

1

const

int

SolrInputDocument::SORT_FIELD_VALUE_COUNT

2

const

int

SolrInputDocument::SORT_FIELD_BOOST_VALUE

4

Métodos

Constantes predefinidas#

Constantes de la Clase SolrInputDocument#

SolrInputDocument::SORT_DEFAULT
Ordena los campos de forma ascendente.

SolrInputDocument::SORT_ASC
Ordena los campos de forma ascendente.

SolrInputDocument::SORT_DESC
Ordena los campos de forma descendente

SolrInputDocument::SORT_FIELD_NAME
Ordena los campos por nombre

SolrInputDocument::SORT_FIELD_VALUE_COUNT
Ordena los campos según el número de valores.

SolrInputDocument::SORT_FIELD_BOOST_VALUE
Ordena los campos según el valor de boost.