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: Lucene Facets Module 4.8.1
Date Fri, 20 Jun 2014 20:12:10 GMT
How do you add facets to your documents? Did you play with the
FacetsConfig, such as alter the field under which the CITY dimension is
indexed?

If you can reproduce this failure in a simple program, I guess it will be
easy to spot the error. Looks like a configuration error to me...

Shai


On Fri, Jun 20, 2014 at 3:12 PM, Jigar Shah <jigaronline@gmail.com> wrote:

> Hello,
>
> I am getting below exception, and using Drillsideways facets. While getting
> children i am getting below exception:
>
> 17:02:10,496 ERROR [stderr:71] (Thread-2
> (HornetQ-client-global-threads-790878673))
> java.lang.IllegalArgumentException: dimension "CITY" was not indexed into
> field "$facets
> 17:02:10,500 ERROR [stderr:71] (Thread-2
> (HornetQ-client-global-threads-790878673))     at
>
> org.apache.lucene.facet.taxonomy.TaxonomyFacets.verifyDim(TaxonomyFacets.java:80)
> 17:02:10,503 ERROR [stderr:71] (Thread-2
> (HornetQ-client-global-threads-790878673))     at
>
> org.apache.lucene.facet.taxonomy.IntTaxonomyFacets.getTopChildren(IntTaxonomyFacets.java:95)
>
> I have used, TestDrillSideways.java test case to understand concept.
>
> Is there any mistake in creating FacetsConfig object, or configured
> something wrong ?
>
> Thanks,
>

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