Open issues

GeoFacetHandler IndexOutOfBounds

Description

I upgraded Bobo to work with Lucene 4.10, basically by just updating the method signatures of broken references.

Anyways, I run into an exception with the GeoFacetHandler

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [MSA] ERROR [2015-02-05 17:53:23,947] SearchFacetDaoHibernate.refreshBoboIndexReaders(1296) | java.lang.ArrayIndexOutOfBoundsException: -104 java.lang.ArrayIndexOutOfBoundsException: -104 at java.util.ArrayList.elementData(ArrayList.java:418) at java.util.ArrayList.get(ArrayList.java:431) at com.browseengine.bobo.facets.data.TermValueList.get(TermValueList.java:98) at com.browseengine.bobo.facets.impl.GeoFacetHandler$GeoFacetData.load(GeoFacetHandler.java:155) at com.browseengine.bobo.facets.impl.GeoFacetHandler.load(GeoFacetHandler.java:228) at com.browseengine.bobo.facets.impl.GeoFacetHandler.load(GeoFacetHandler.java:1) at com.browseengine.bobo.facets.FacetHandler.load(FacetHandler.java:135) at com.browseengine.bobo.facets.FacetHandler.loadFacetData(FacetHandler.java:140) at com.browseengine.bobo.api.BoboSegmentReader.loadFacetHandler(BoboSegmentReader.java:170) at com.browseengine.bobo.api.BoboSegmentReader.loadFacetHandlers(BoboSegmentReader.java:187) at com.browseengine.bobo.api.BoboSegmentReader.facetInit(BoboSegmentReader.java:224) at com.browseengine.bobo.api.BoboMultiReader.facetInit(BoboMultiReader.java:79) at com.browseengine.bobo.api.BoboMultiReader.getInstance(BoboMultiReader.java:56)

The setup is basically like this:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 <bean id="distanceFacet" class="com.browseengine.bobo.facets.impl.GeoFacetHandler" depends-on="latitudeFacet,longitudeFacet"> <constructor-arg value="distance" type="java.lang.String"/> <constructor-arg value="latitude" type="java.lang.String"/> <constructor-arg value="longitude" type="java.lang.String"/> <constructor-arg value="false" type="boolean"/><!-- set to kilometers --> </bean> <bean id="longitudeFacet" class="com.browseengine.bobo.facets.impl.RangeFacetHandler"> <constructor-arg value="longitude" type="java.lang.String"/> <constructor-arg value="location.longitude" type="java.lang.String"/> <constructor-arg> <list value-type="java.lang.String"> <value>[* TO 10]</value> <value>[* TO 25]</value> <value>[* TO 100]</value> <value>[* to 250]</value> </list> </constructor-arg> </bean> <bean id="latitudeFacet" class="com.browseengine.bobo.facets.impl.RangeFacetHandler"> <constructor-arg value="latitude" type="java.lang.String"/> <constructor-arg value="location.latitude" type="java.lang.String"/> <constructor-arg> <list value-type="java.lang.String"> <value>[* TO 10]</value> <value>[* TO 25]</value> <value>[* TO 100]</value> <value>[* to 250]</value> </list> </constructor-arg> </bean>

Any suggestions?

Environment

None

Status

Assignee

John Wang

Reporter

Marc Schipperheyn

Labels

None

Affects versions

4.0.2

Priority

Major
Configure