[Xapian-discuss] Are stub databases still supported in 1.0.21?
Olly Betts
olly at survex.com
Thu Dec 2 00:08:43 GMT 2010
On Wed, Dec 01, 2010 at 11:43:21PM +0100, Brian Burton wrote:
> Olly and Richard, thanks for responding. I didn't try delve thinking it
> wouldn't know what to do with a stub, but here were the results:
>
> delve -r 1 /var/lib/xapian-omega/data/default
> Error opening database `/var/lib/xapian-omega/data/default':
> DatabaseOpeningError: Couldn't detect type of database
>
> Since it's a simple stub I'm not sure whether or not that error is correct.
Stub databases should work with delve, and any other tool we supply which
isn't backend-specific. And in fact in trunk, xapian-compact can even
work with stub databases, provided all the databases referred to are of
the same type and that xapian-compact can handle that type.
> I'm still stepping through it so if I find a solution I'll post it here in
> case anyone else hits this wall.
Might you have trailing whitespace (or CR+NL line endings) in your stub file?
At least currently, anything up to the newline is assumed to be part of the
filename.
> Also I wasn't able to create a ticket on Trac giving an error about
> conflicting column names. I was going to send some patches for filters I
> had created for various new filetypes.
Sorry, we had a huge number of spam tickets filed, and deleting them left
the trac database in a slightly inconsistent state. I've just fixed that,
and was able to file a new ticket.
Cheers,
Olly
More information about the Xapian-discuss
mailing list