[Xapian-discuss] omega url fetch
Olly Betts
olly at survex.com
Thu May 17 14:56:23 BST 2007
On Thu, May 17, 2007 at 09:40:27AM -0400, Michael A. Lewis wrote:
> I have a DB built by omindex and searched using omega that is working
> just great. I now have a requirement to search a related MySQL DB and
> correlate the records in there with the Xapian records for some
> reports. The common link is the URL of the page. How do I retrieve the
> URL from the Xapian DB? I run a query, say for "linux" and get my list
> of doc ids. What next?
The simplest way would be a custom OmegaScript template containing just
this:
$hitlist{$field{url}
}
Save it into "templates/urls" and run Omega with `FMT=urls'.
Cheers,
Olly
More information about the Xapian-discuss
mailing list