How to use omindex-produced Xapian database with xapian-haystack?
Olly Betts
olly at survex.com
Tue Oct 5 22:24:15 BST 2021
On Tue, Oct 05, 2021 at 11:12:44AM +0530, Charles wrote:
> I am stuck on making xapian-haystack read our existing omindex-produced
> Xapian database.
>
> The documentation linked above includes ...
>
> HAYSTACK_CONNECTIONS = {
> 'default': {
> 'ENGINE': 'xapian_backend.XapianEngine',
> 'PATH': os.path.join(os.path.dirname(__file__), 'xapian_index'),
> },
> }
>
> ... which is a single file but our omindex-produced Xapian database is
> several files
I don't know anything specifically about xapian-haystack, but almost
certainly this expects to be pointed at the directory containing those
files (since that's what Xapian itself expects).
Cheers,
Olly
More information about the Xapian-discuss
mailing list