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 Furkan KAMACI <fu...@gmail.com> on 2013/06/10 13:23:59 UTC

Admin Page Segment Count is Different than LukeRequest's Segment Count?

I have that lines of code:

CloudSolrServer solrServer = SolrCloudServerFactory.getCloudSolrServer();
NamedList<Object> namedList = solrServer.request(new LukeRequest());
NamedList<Object> index = (NamedList<Object>) namedList.get("index");
System.out.println(index.get("segmentCount"));

It prints 5 into system out. However when I open admin page and click
collection1 at core select list. Under statistics part I see that:

Segment Count: 1

Which one is true?