lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Will Milspec <will.mils...@gmail.com>
Subject best way to get maxDocs in java (i.e. as on stats.jsp page).
Date Thu, 02 Dec 2010 04:51:10 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message