Opened 13 years ago

Closed 13 years ago

#579 closed enhancement (fixed)

Typo in api doc for WritableDatabase::replace_document(unique_term)

Reported by: Daniel Ménard Owned by: Olly Betts
Priority: normal Milestone: 1.2.8
Component: Documentation Version:
Severity: minor Keywords:
Cc: Blocked By:
Blocking: Operating System: All

Description

I just noticed what I think is a copy/paste error in the api doc for replace_document(unique_term) :

« Another possible use is to allow groups of documents to be marked for later deletion - for example, you could add a "deletion date" term to documents at index time and use this method to easily and efficiently delete all documents due for deletion on a particular date. »

I think this sentence come from delete_document(unique_term) and do not apply to replace_document.

Forgive me if I'm wrong!

cheers,

Daniel

Change History (2)

comment:1 by Olly Betts, 13 years ago

Milestone: 1.2.8
Status: newassigned

Thanks for reporting this - fixed in trunk r16125.

Marking to backport for 1.2.8.

comment:2 by Olly Betts, 13 years ago

Resolution: fixed
Status: assignedclosed

Backported for 1.2.8 in r16128.

Note: See TracTickets for help on using tickets.