[Xapian-discuss] Using scriptindex with omega and date searches.
Jim
jim at fayettedigital.com
Tue Feb 13 19:05:58 GMT 2007
Olly Betts wrote:
> On Tue, Feb 13, 2007 at 01:19:12PM -0500, Jim wrote:
>
>> Am I correct that I had to do it myself? Or was there some way I could
>> have modified the index to automatically generate the M terms?
>>
>
> Just use the scriptindex "date" action - it can produce the required
> terms from either a Unix time_t value or a string of the format
> YYYYMMDD. It's documented in docs/scriptindex.txt.
>
> Cheers,
> Olly
>
>
>
>
OK I have this in my index file:
date : field=date index=D date=yyyymmdd
It gave me D terms but no M terms.
Perhaps I gave it too much information?
Thanks,
Jim.
More information about the Xapian-discuss
mailing list