Jake,

I will be interested in this functionality

Carlos
________________________________________
From: Jake Luciani [jak...@gmail.com]
Sent: Friday, June 18, 2010 10:57 PM
To: user@cassandra.apache.org
Subject: Re: Lucandra issues

Hi Maxim,

Lucandra doesn't support numeric queries quite yet. A workaround would
be to load your numbers and convert them to strings.

I'll eventually add support for this. Please feel free to help out if
you can :)

Jake



On Jun 17, 2010, at 1:16 PM, Maxim Kramarenko
<maxi...@trackstudio.com> wrote:

> 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:maxi...@trackstudio.com

This email message and any attachments are for the sole use of the intended 
recipients and may contain proprietary and/or confidential information which 
may be privileged or otherwise protected from disclosure. Any unauthorized 
review, use, disclosure or distribution is prohibited. If you are not an 
intended recipient, please contact the sender by reply email and destroy the 
original message and any copies of the message as well as any attachments to 
the original message.

Reply via email to