Re: How to use omindex-produced Xapian database with xapian-haystack?
Olly Betts <[email protected]> Tue, 5 Oct 2021 22:24:15 +0100
| Newsgroups | gmane.comp.search.xapian.general |
|---|---|
| Message-ID | <[email protected]> |
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