incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim Kramarenko <maxi...@trackstudio.com>
Subject Lucandra issues
Date Thu, 17 Jun 2010 20:16:24 GMT
Hello!

I am trying to rework our current lucene-based application to lucandra. 
Note the following problem: when I try to use NumericRangeQuery like 
this one:
query.add(NumericRangeQuery.newLongRange("deliveryTimestampMinute", 6, 
fromDate, toDate, true, true), BooleanClause.Occur.MUST);

I got the following exception:
====================================
java.lang.NullPointerException
org.apache.lucene.search.NumericRangeQuery$NumericRangeTermEnum.next(NumericRangeQuery.java:536)
org.apache.lucene.search.MultiTermQuery$ConstantScoreAutoRewrite.rewrite(MultiTermQuery.java:248)
org.apache.lucene.search.MultiTermQuery.rewrite(MultiTermQuery.java:371)
org.apache.lucene.search.BooleanQuery.rewrite(BooleanQuery.java:386)
org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:267)
org.apache.lucene.search.Query.weight(Query.java:100)
org.apache.lucene.search.Searcher.createWeight(Searcher.java:147)
org.apache.lucene.search.Searcher.search(Searcher.java:98)
org.apache.lucene.search.Searcher.search(Searcher.java:108)
===================================

Any workaround for this issue ?

-- 
Best regards,
  Maxim                            mailto:maximkr@trackstudio.com

Mime
View raw message