[Xapian-discuss] omega with samba share

Olly Betts olly at survex.com
Fri Dec 21 20:28:25 GMT 2012


On Thu, Dec 20, 2012 at 03:45:36PM -0400, Chris Purves wrote:
> I have installed and configured omega to index samba shares on a
> debian server.  I would like to know if it's possible to change the
> HREF links on the search results page to begin "file://" instead of
> "http://" 

This is what the omindex --url option is for:

$ omindex --db samba.db --url file://///server/share docs
$ delve samba.db -r1 -d|grep ^url=
url=file://///server/share/omegascript.html

(I'm unclear why, but you seem to need 5 slashes on such links, at least
with MSIE).

Cheers,
    Olly



More information about the Xapian-discuss mailing list