[Xapian-discuss] Usage of DateRangeValueProcessor

Arjen Smedes d.a.smedes at doubleforge.com
Tue Jul 5 08:13:40 BST 2011


Hi,

I have been playing with Djapian recently, and am running into a problem
where I have the following setup:

class SomeIndexer(Indexer):

    fields = [
        'actual_date_of_arrival',
    ]

    tags = [
        ('ata', 'actual_date_of_arrival'),
    ]

Some model instances exist with dates like 2011/07/04 and 2011/07/04 and my
search should yield all model instances within the
range 2011/07/04..2011/07/08, but the search I am running:

ata:(2011/07/04..2011/07/04)

 yields nothing. Searching for

2011/07/04

yields a model instance though, so something works for sure.

What am I doing wrong?

BR,
Arjen.


More information about the Xapian-discuss mailing list