[Xapian-discuss] Databases on Windows

James Aylett james-xapian at tartarus.org
Sat Apr 12 21:38:15 BST 2008


On Sat, Apr 12, 2008 at 09:12:22PM +0100, Colin Bell wrote:

> I have the code below on a windows c++ build. I'm using Xapian 1.0.6
> built with the win32 build files. The program was built with Visual
> Studio 2008 Express
> 
> It creates the folder "ÍÍÍÍresearch" (yes with odd characters)
> and then exits without any errors.
> 
> string dbpath = "research";
> 	try {
> 		// Open the database.
> 		Xapian::WritableDatabase database;
> 		database = Xapian::WritableDatabase(dbpath, DB_CREATE_OR_OPEN);
> 		
> 	} catch (const Error &error) {
> 		cout << error.get_msg() << "\n";
> 	}
> 	return 0;

If you ignore the weird folder name, does the database work as
expected? For instance, if you add a document with some document data,
does the stored string also have unexpected top bit set bytes in it?

J

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org



More information about the Xapian-discuss mailing list