Neville Burnell
2006-Dec-07 22:52 UTC
[Ferret-talk] Range Query Term parsing bug in 0.10.6 win32 ?
Hi, I think I''ve found a Range Query Term parsing bug ... the following term should return names >= ''A'', but instead generates a parsing error Term: name:[A> Message: Nil bounds for range. A range must include either lower bound or an upper bound However, the slightly larger term, name:[AA> works just fine. Any pointers please? Kind Regards Neville
David Balmain
2007-Feb-24 14:51 UTC
[Ferret-talk] Range Query Term parsing bug in 0.10.6 win32 ?
On 12/8/06, Neville Burnell <Neville.Burnell at bmsoft.com.au> wrote:> Hi, > > I think I''ve found a Range Query Term parsing bug ... the following term > should return names >= ''A'', but instead generates a parsing error > > Term: name:[A> > Message: Nil bounds for range. A range must include either lower bound > or an upper bound > > However, the slightly larger term, name:[AA> works just fine. > > Any pointers please? > > Kind Regards > > NevilleProblem fixed, although I''m a bit nervous about this one. RangeQueries used to have there terms tokenized. But I have decided to treat RangeQueries like WildCardQueries. If wild_card_downcase is set to true, then the terms of the RangeQuery will be downcased. Fingers crossed, I hope this won''t cause any more problems. dave -- Dave Balmain http://www.davebalmain.com/
Maybe Matching Threads
- A few questions about numbers and dates
- Error with :create => true and existing index
- Ferret Win32 Gem for windows users ...
- bug with boolean query evaluation containing parenthesis and NOT ?
- Possiible Bug ? indexWriter#doc_count countsdeleted docs after #commit