Re: Exception from FastTaxonomyFacetCounts

2014-10-15 Thread Jigar Shah
Ok. Yes changing to SearcherTaxonomyManager from SearcherManager, helped fixing the issue Thanks very much. On Wed, Oct 15, 2014 at 2:36 PM, Shai Erera wrote: > Yes, SearcherTaxonomyManager returns a SearcherAndTaxonomy containing a > sync'd IndexSearcher and DirectoryTaxonomyReader. > > Shai

Re: Exception from FastTaxonomyFacetCounts

2014-10-15 Thread Shai Erera
Yes, SearcherTaxonomyManager returns a SearcherAndTaxonomy containing a sync'd IndexSearcher and DirectoryTaxonomyReader. Shai On Mon, Oct 13, 2014 at 12:15 PM, Jigar Shah wrote: > In my application i have two intances of SearcherManager. > > 1) SearcherManager with 'applyAllDeletes = true' whi

Re: Exception from FastTaxonomyFacetCounts

2014-10-13 Thread Jigar Shah
In my application i have two intances of SearcherManager. 1) SearcherManager with 'applyAllDeletes = true' which is used by Indexer. (Works in NRT mode, deletes should be visible to it, also i have ControlledRealTimeReopenThread, which refeshes searcher) 2) SearcherManager with 'applyAllDeletes =

Re: Exception from FastTaxonomyFacetCounts

2014-10-09 Thread Shai Erera
This usually means that your IndexReader and TaxonomyReader are out of sync. That is, the IndexReader sees category ordinals that the TaxonomyReader does not yet see. Do you use SearcherTaxonomyManager in your application? It ensures that the two are always in sync, i.e. reopened together and that

Exception from FastTaxonomyFacetCounts

2014-10-07 Thread Jigar Shah
Intermittently while search i am getting this exception on huge index. (FacetsConfig used while indexing and searching is same.) java.lang.ArrayIndexOutOfBoundsException: 252554 06:28:37,954 ERROR [stderr] at org.apache.lucene.facet.taxonomy.FastTaxonomyFacetCounts.count(FastTaxonomyFacetCounts.ja