[Xapian-discuss] omindex wrong number of documents

Olly Betts olly at survex.com
Mon May 7 11:01:45 BST 2007


On Mon, May 07, 2007 at 10:40:33AM +0400, aT wrote:
> so is cheduled a cron job with the same command in a script and ran it . 
> But omega cgi started showing wrong document number 
> "Searching 202 documents"  
> [...]
> can somone explain this odd behavioour and how can i fix it . 

Sounds to me like your cronjob is probably running with a different
setting of the PATH environmental variable, and so isn't finding one or
more of the filter program omindex uses to index word, PDF, and RTF.

Run "printenv" in your shell and from the crobjob and compare the
output.

Cheers,
    Olly



More information about the Xapian-discuss mailing list