Displaying 3 results from an estimated 3 matches for "open_stub".
2008 Oct 29
1
Problem opening stub database for writing
...ath/to/db/db-stub' containing the following:
flint /path/to/db/db-name
db_name = '/path/to/db/db-stub'
database = xapian.WritableDatabase(db_name, xapian.DB_OPEN)
returns the following:
DatabaseOpeningError: No flint database found at path `/path/to/db/db-stub'
I can use xapian.open_stub(db_name) but then I can't write to the database.
What's the correct way of opening a stub database for writing?
Ben.
--
www.playfire.com - now in public beta!
2009 Feb 12
1
problem when using xapian's static libs in windows
...eDatabase at 2@ABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@HH at Z) ????
libbackend.lib(database.obj) : error LNK2019: ????????? "public: virtual __thiscall Xapian::Database::~Database(void)" (??1Database at Xapian@@UAE at XZ)??????? "void __cdecl Xapian::open_stub(class Xapian::Database *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?open_stub at Xapian@@YAXPAVDatabase at 1@ABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z) ????
libbackend.lib(database....
2007 Oct 27
2
Remote database search issues
Hi all.
First, a note about remote database connection over Perl. We actually
found an easy way to work around the unwrapped Renote::open issue.. We
use a stub file.
You might say that open_stub in also not wrapped.. which is true...
HOWEVER... looking at the code, we realized that Database::open() opts
to using stub_open if the argument is a string pointing to a stub file
rather than a database directory... So instead of
Database::open('/data/ftsdirectory') you can do
Databas...