[Xapian-discuss] Comparing against values (e.g. date ranges)

Francis Irving francis at flourish.org
Wed Apr 5 16:44:21 BST 2006


Hi all,

I'm once again looking for search with date ranges. e.g. All entries
before a certain date.

I understand that Omega does this by adding keywords for each year,
month and day number separately and construcing a big OR query
year = 1980 or year = 1981 or year = 1982 .... or (year = 1983 and
(month =1 or month = 2 ...))

I think Olly said he was considering adding something to Xapian,
so the same fields used for sorting can be used for range
comparison.

Any progress on this?

Francis (this is all for http://www.theyworkforyou.com which has
a 4.2G Xapian database and growing!)
-- 
Shhh! Abolish parliament quietly http://www.saveparliament.org.uk



More information about the Xapian-discuss mailing list