[Xapian-discuss] Usage of DateRangeValueProcessor

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


And I meant to search for

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

;)


On Tue, Jul 5, 2011 at 9:13 AM, Arjen Smedes <d.a.smedes at doubleforge.com>wrote:

> 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.
>



-- 
Doubleforge B.V.

Mobile +31 610 660467
* leave a message if unavailable, I'll return your call as soon as possible
*

PO Box 70074
9704 AB Groningen
The Netherlands

Kvk : 02091358
Doubleforge B.V. is based in Groningen, The Netherlands


More information about the Xapian-discuss mailing list