lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Wang <john.w...@gmail.com>
Subject Re: API to get index info
Date Tue, 31 Mar 2009 20:55:32 GMT
Maybe I am missing something. I don't see any calls that would gimme the
number of segments. Are you suggesting: IndexCommit.getFileNames().size()?

Thanks

-John

On Tue, Mar 31, 2009 at 1:04 PM, Yonik Seeley <yonik@lucidimagination.com>wrote:

> On Tue, Mar 31, 2009 at 3:43 PM, John Wang <john.wang@gmail.com> wrote:
> > Can we have an API that exposes index information, e.g. number of
> segments
> > etc.?
>
> Should already all be obtainable via public access:
> IndexReader.getSequentialSubReaders() and
> IndexReader.getIndexCommit()
>
>
> -Yonik
> http://www.lucidimagination.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

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