From 255febe168c2fb3e8182464a218b2951503b92a8 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 17 Oct 2022 01:45:03 +0530 Subject: xapian: Add docstring to index-text!. * xapian/xapian.scm (index-text!): Add docstring. --- xapian/xapian.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xapian') diff --git a/xapian/xapian.scm b/xapian/xapian.scm index f22cfee..94eb1b3 100644 --- a/xapian/xapian.scm +++ b/xapian/xapian.scm @@ -149,6 +149,9 @@ bytevector." term-generator)) (define* (index-text! term-generator text #:key (wdf-increment 1) prefix) + "Index @var{text} using @var{term-generator}. @var{wdf-increment} is +the within document frequency increment. @var{prefix} is the term +prefix to use." (apply TermGenerator-index-text term-generator text wdf-increment (if prefix (list prefix) '()))) -- cgit v1.2.3