[Xapian-devel] Re: Problem with Perl bindings (enquire)
olly at survex.com
Wed Jul 20 19:28:55 BST 2005
On Sat, Jul 16, 2005 at 03:46:10PM +0200, R. Mattes wrote:
> On Fri, 15 Jul 2005 19:13:44 +0400, Pronichev Alexander wrote:
> > You may use "replace_document" method of Xapian::WriteableDatabase,
> > if you know document id.
> Err, what? I _do_ intend to use replace_document -- that's what my post is
> all about. But to _find_ the correct document id I need to query the
> database and for _that_ I need to create an enquire ...
You can also pass a term name to replace_document or delete_document
instead of a document id, and any documents which are indexed by that
term will be replaced or deleted. It was added some time ago.
More information about the Xapian-devel