I have an implementation of the Zend Search (Lucene) framework on my website that contains an index of products with prices.
I am trying to allow customers to search for something, while contsraining the prices. Eg. Search for "dog food" between $5-$10 dollars.
My search index looks like this:
Keyword('name')
Keyword('price')
Lets say there's 2 items in the database (name and price)
'dog food' 10
'dot treats' 11
If I do the following search, I receive both results.
price[1 TO 15] name:dog
This is exactly what I want.
However, If I change the range to price[5 TO 15] I get no results back. Can anyone help me understand how to debug this? This behaviour occurs both in my web implementation, and in Luke.