escaping of queries with solr

2011-02-10 Thread Todd Nine
Hi guys, We're migrating from Lucene to Solr. We have a lot of existing code that created queries in memory with Lucene. Below is an example of such a query. BooleanQuery query = new BooleanQuery(); BooleanQuery inputTerms = new BooleanQuery();

RE: Numeric range query not returning results

2010-10-06 Thread Todd Nine
8 bytes) Step = 8 Start 60077f7e6814 60077f7e68 60077f7e 60077f7e71 60077f7e7111 End. Thanks, Todd On Tue, 2010-10-05 at 09:20 +1300, Todd Nine wrote: > Hi Uwe, > My example wasn't very clear, as I have a load of other code in my > actual implementation and I was trying to cu

RE: Numeric range query not returning results

2010-10-04 Thread Todd Nine
name) > > Creates a field for numeric values using the default precisionStep > NumericUtils.PRECISION_STEP_DEFAULT (4). The instance is not yet > initialized with a numeric value, before indexing a document > containing this field, set a value using the various set???Value() > methods

Numeric range query not returning results

2010-10-03 Thread Todd Nine
Hi all, I'm having some issues with Numeric Range queries not working as expected. My underlying storage medium is the Lucandra index reader and writer, so I'm not sure if this is an issue within Lucandra or with my usage of numeric field. My numeric range tests that are copies of Uwe's pass in

Help with numeric ranges and querying with sorting and counts

2010-09-19 Thread Todd Nine
Hi all, Now that the nasty bug in Cassandra has been fixed, I can use numeric fields in my Lucandra for searching and sorting. I'm having a bit of an issue I could use a hand with. We're creating an SoS index. Each Document corresponds to an SoS. Every person contacted for the SoS will be ind

Filtering times stored as longs in HEX

2010-09-16 Thread Todd Nine
Hi all, I'm using Lucandra to index notes in our system. Since we can't use numeric fields due to a bug in Cassandra (fixed in 0.7), I'm encoding all times a epoch in Hex, then storing the hex string. I have the following fields on my document. createdDate phoneNumber email I want to perform

RE: Help with Numeric Range

2010-06-23 Thread Todd Nine
ve > different from a conventional TermRangeQuery with padded terms. > > Uwe > > - > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > > > -Original Message- > > From: Todd Nine [ma

Help with Numeric Range

2010-06-22 Thread Todd Nine
Hi all, I'm new to Lucene, as well as Cassandra. I'm working on the Lucandra project to modify it to add some extra functionality. It hasn't been fully testing with range queries, so I've created some tests and contributed them. You can view my source here. http://github.com/tnine/Lucandra/bl