lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shai Erera <ser...@gmail.com>
Subject Re: Exception from FastTaxonomyFacetCounts
Date Thu, 09 Oct 2014 18:38:59 GMT
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 your application
always sees a consistent view of the two.

Shai

On Tue, Oct 7, 2014 at 10:03 AM, Jigar Shah <jigaronline@gmail.com> wrote:

> 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.java:73)
> 06:28:37,954 ERROR [stderr] at
>
> org.apache.lucene.facet.taxonomy.FastTaxonomyFacetCounts.<init>(FastTaxonomyFacetCounts.java:49)
> 06:28:37,954 ERROR [stderr] at
>
> org.apache.lucene.facet.taxonomy.FastTaxonomyFacetCounts.<init>(FastTaxonomyFacetCounts.java:39)
> 06:28:37,954 ERROR [stderr] at
>
> com.company.search.CustomDrillSideways.buildFacetsResult(LuceneDrillSideways.java:41)
> 06:28:37,954 ERROR [stderr] at
> org.apache.lucene.facet.DrillSideways.search(DrillSideways.java:146)
> 06:28:37,955 ERROR [stderr] at
> org.apache.lucene.facet.DrillSideways.search(DrillSideways.java:203)
>
> Thanks,
> Jigar Shah
>

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