On 1/11/07, Otis Gospodnetic <[EMAIL PROTECTED]> wrote:
Yeah, I actually had:

public int segments() { return segmentInfos.size(); }

in my IndexReader, but then erased it precisely because I thought this was 
exposing too much about the impl.

That was my first instinct, but then again, we do expose mergeFactor
and maxMergeDocs, both of which make no sense w/o understanding the
underlying merge model and the fact that there are multiple segments.

-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to