Oh my! I see what your problem is, but I rather doubt that it'll be addressed. You've obviously been stress-testing the indexing process and have a bunch of garbage left over that's not getting removed on optimize. But it's such a unique case that I don't know if anyone is really interested in fixing it.
I'll bring it up on the dev list, but I expect you'll need to blow away your entire index and re-index from scratch. Best, Erick On Tue, May 6, 2014 at 4:09 PM, googoo <liu...@gmail.com> wrote: > For our setup, the file size is 123M. Internal it has 2.6M fields. > > The problem is facet operation. It take a while for facet. > we are stuck in below call stack for 11 second. > > java.util.HashMap.transfer(Unknown Source) > java.util.HashMap.resize(Unknown Source) > java.util.HashMap.addEntry(Unknown Source) > java.util.HashMap.put(Unknown Source) > org.apache.lucene.index.FieldInfos$Builder.addOrUpdateInternal(FieldInfos.java:285) > org.apache.lucene.index.FieldInfos$Builder.add(FieldInfos.java:302) > org.apache.lucene.index.FieldInfos$Builder.add(FieldInfos.java:251) > org.apache.lucene.index.MultiFields.getMergedFieldInfos(MultiFields.java:276) > org.apache.lucene.index.SlowCompositeReaderWrapper.getFieldInfos(SlowCompositeReaderWrapper.java:220) > org.apache.lucene.search.FieldCacheImpl.getTermsIndex(FieldCacheImpl.java:1116) > org.apache.lucene.search.FieldCacheImpl.getTermsIndex(FieldCacheImpl.java:1106) > org.apache.solr.request.SimpleFacets.getFieldCacheCounts(SimpleFacets.java:574) > org.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:429) > org.apache.solr.request.SimpleFacets.getFacetFieldCounts(SimpleFacets.java:517) > org.apache.solr.request.SimpleFacets.getFacetCounts(SimpleFacets.java:252) > org.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:78) > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/solr-optimize-on-fnm-file-tp4134969p4135037.html > Sent from the Solr - User mailing list archive at Nabble.com.