downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

SolrClient::ping> <SolrClient::getOptions
[edit] Last updated: Fri, 17 May 2013

view this page in

SolrClient::optimize

(PECL solr >= 0.9.2)

SolrClient::optimizeDefragmenta el índice

Descripción

public SolrUpdateResponse SolrClient::optimize ([ int $maxSegments = "1" [, bool $waitFlush = true [, bool $waitSearcher = true ]]] )

Defragmenta el índice para un rendimiento de búsquda más rápido.

Parámetros

maxSegments

Optimiza como máximo este número de segmentos. Desde Solr 1.3

waitFlush

Bloqueo hasta que los cambios del índice sean volcados a disco.

waitSearcher

Bloquo hasta que un nuevo buscador sea abierto y registrado como el buscador de consultas principal, haciendo los cambios visibles.

Valores devueltos

Devuelve un objeto SolrUpdateResponse en caso de éxito. Lanza una excepción SolrClientException en caso de fallo.

Ver también



add a note add a note User Contributed Notes SolrClient::optimize - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites