Displaying 1 result from an estimated 1 matches for "get_database_name".
2007 Jun 30
1
Re: [Xapian-commits] 9092: trunk/xapian-core/ trunk/xapian-core/api/ trunk/xapian-core/common/ trunk/xapian-core/include/xapian/
...9092
> Date: 2007-06-30 15:16:16 +0100 (Sat, 30 Jun 2007)
>
> Log message (2 lines):
> api/omdocument.cc,common/document.h,include/xapian/document.h:
> Add Xapian::Document::get_docid() method.
I was thinking that it would probably be useful to have a
Xapian::Document::get_database_name() method, to allow the database that
a document came from (in a multi-database situation) to be obtained.
For a Flint database, this would return the path that was used to open
the database. For a remote (TCP) database, it would return a string
indicating the host and port that the database is...