lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Zhang" <zhanghuang...@gmail.com>
Subject Query syntax improvement: Add one boundary range query syntax
Date Tue, 28 Oct 2008 01:57:44 GMT
Hi,
Currently, lucene query syntax supports range query like foo:[a TO b]. I
didn't find a way to support one boundary range. (Or did I miss something?)
After looking into the code, it seems lucene is quite close to achieve this
goal. We already have RangeFilter#less and RangeFilter#more method. So if
QueryParser is a bit smarter, it can be done easily.

What's your idea? Thanks!

-- 
Best regards,
Andrew Zhang

db4o - database for Android: www.db4o.com
http://zhanghuangzhu.blogspot.com/

Mime
View raw message