lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koji Sekiguchi <k...@r.email.ne.jp>
Subject Re: best way to get maxDocs in java (i.e. as on stats.jsp page).
Date Thu, 02 Dec 2010 05:28:12 GMT
(10/12/02 13:51), Will Milspec wrote:
> hi all,
>
> What's the best way to programmatically-in-java get the 'maxDoc' attribute
> (as seen on the stats.jsp page).
>
> I don't see any hooks on the solrj api.
>
> Currently I plan to use an http client to get stats.jsp (which returns xml)
> and parse it using xpath.
>
> If anyone can recommend a better approach, please opine.
>
> thanks
>
> will
>
Will,

Try:
http://localhost:8983/solr/admin/luke

LukeRequestHandler
http://wiki.apache.org/solr/LukeRequestHandler

Koji
-- 
http://www.rondhuit.com/en/

Mime
View raw message