[Xapian-discuss] omindex options
James Aylett
james-xapian at tartarus.org
Tue May 19 14:15:13 BST 2009
On Tue, May 19, 2009 at 02:00:21PM +0100, Srijon Biswas wrote:
> I have tried to keep the code as close to possible to the omindex native
> code, but am facing a bit of confusion: what exactly is the reason for
> omindex to take in a base directory AND a subdirectory. In other words, what
> scenario is possible that cannot be covered by just passing in a directory
> and a corresponding mapping to the url.
This is the `sites` concept of omindex. I believe these days it's
mainly useful when your URI space maps onto several different parts of
your file system. You can also use it to index multiple different
websites (ie on different hostnames) in one database.
I think it also makes it a little easier to generate correct URIs,
although this could be done in another way if it were the only issue.
J
--
James Aylett
talktorex.co.uk - xapian.org - uncertaintydivision.org
More information about the Xapian-discuss
mailing list