This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » plugins » Search plugins » lucene - range search - numerical values
lucene - range search - numerical values [message #102028] Mon, 05 July 2010 19:30
andys  is currently offline andys
Messages: 8
Registered: January 2010
Junior Member

I have a really frustrating problem.

In Zend_Search_Lucene, I store price as keyword

I've tried to make range queries, but I've noticed that it returns items from outside of the range. For example:
3 items in index with prices: 0,500,600000

And now when I use this query: price:[4000 TO 6000], it return item with price of 500.
As far I've red it uses lexicographical comparison, so the price is in its range.

Any ideas how to solve this issue?
Previous Topic:autocomplete plugin -not working for me..
Next Topic:I need a plugin to search
Goto Forum:

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software