Re: locate and omega: how to index file names?
tindal <davide.natalini <at> gmail.com>
2008-05-06 12:35:32 GMT
ok, problems solved :)
>> modtime=2008-05-06
>
> modtime should be a Unix timestamp (number of seconds since midnight,
> 1st January 1970).
I didn't notice the specification of the "date" action, but it claims it
should work with "yyyymmdd" format, too, but it doesn't (at least for me)
in unix format it works, thanks
>
>> omega reads the size wrong, as it says, in this example, "436 bytes": why?
>
> That's not obvious to me. If you pull out the document data for that
> document, what does it look like?
>
it turns out that I didn't purge the database, and some past experiment
gave me the unexpected result, now it works as expected
>> for the search I'd like to be able to choose between the "default"
>> database (made with omindex) and my "filelist" database, but I end up
>> searching both databases
>>
>> the relevant code in the template is:
>> <INPUT TYPE=radio NAME="DB" VALUE="default"
>> $if{$eq{$dbname,default},CHECKED}>Search the contents<br>
>> <INPUT TYPE=radio NAME="DB" VALUE="filelist"
(Continue reading)