Hi I come to you again for a problem around the usage of IntRangeField. At indexing time, I use the IntRangeField(String name, final int[] min, final int[] max) constructor with 1 dimension for both min and max, and the name for my field in Index. When inspecting with Luke, all semms OK and the fields are inserted as wanted.
But at search time, when I use the IntRangeField.newIntersectsQuery(String field, final int[] min, final int[] max) to generate the query for the given field. Whenever I use those two methods for creating/searching, I get this exception: java.lang.NullPointerException at org.apache.lucene.document.RangeFieldQuery.checkFieldInfo(RangeFieldQuery.java:101) at org.apache.lucene.document.RangeFieldQuery.access$400(RangeFieldQuery.java:43) at org.apache.lucene.document.RangeFieldQuery$1.scorer(RangeFieldQuery.java:169) at org.apache.lucene.search.BoostQuery$1.scorer(BoostQuery.java:147) at org.apache.lucene.search.BooleanWeight.scorer(BooleanWeight.java:389) at org.apache.lucene.search.BooleanWeight.scorer(BooleanWeight.java:389) at org.apache.lucene.search.Weight.bulkScorer(Weight.java:135) at org.apache.lucene.search.BooleanWeight.bulkScorer(BooleanWeight.java:370) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:666) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:473) ... Did I missed something on the usage of the IntRangeField class? Or there is a workaround to allow me to use it? Best regards, Jerome