You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by ZiLi <da...@163.com> on 2011/07/26 04:42:30 UTC

How to query solr status

Anybody who knows how to query an solr server whether it is optimized or not ?
As replication can config slave to pull the indexes after "optimized" ,so I think there must be someway to query that .But I didn't find any document to identify that , anyone knows ?
Thanks so much O(n_n)O~~~~

Re: How to query solr status

Posted by Péter Király <ki...@gmail.com>.
You can use Luke request handler, but for improving the speed set
numTerms parameters to zero, like
http://localhost:8983/solr/admin/luke?numTerms=0
It will give you information about optimized state of index as <bool
name="optimized">true</bool>

More about this on Solr wiki: http://wiki.apache.org/solr/LukeRequestHandler

2011/7/26 ZiLi <da...@163.com>:
> Anybody who knows how to query an solr server whether it is optimized or not ?
> As replication can config slave to pull the indexes after "optimized" ,so I think there must be someway to query that .But I didn't find any document to identify that , anyone knows ?
> Thanks so much O(n_n)O~~~~
>

Péter
-- 
eXtensible Catalog
http://drupal.org/project/xc