This commit is contained in:
Jean-Francois Dockes 2019-04-12 22:14:45 +02:00
parent eb37500336
commit a1d343304a

View File

@ -4018,8 +4018,7 @@ Db.setAbstractParams(maxchars, contextwords)
of the abstract. ``contextwords`` defines how many terms are shown of the abstract. ``contextwords`` defines how many terms are shown
around the keyword. around the keyword.
Db.termMatch(match\_type, expr, field='', maxlen=-1, casesens=False, Db.termMatch(match\_type, expr, field='', maxlen=-1, casesens=False, diacsens=False, lang='english')
diacsens=False, lang='english')
Expand an expression against the index term list. Performs the basic Expand an expression against the index term list. Performs the basic
function from the GUI term explorer tool. ``match_type`` can be function from the GUI term explorer tool. ``match_type`` can be
either of ``wildcard``, ``regexp`` or ``stem``. Returns a list of either of ``wildcard``, ``regexp`` or ``stem``. Returns a list of
@ -4032,8 +4031,7 @@ Query.sortby(fieldname, ascending=True)
Sort results by fieldname, in ascending or descending order. Must be Sort results by fieldname, in ascending or descending order. Must be
called before executing the search. called before executing the search.
Query.execute(query\_string, stemming=1, stemlang="english", Query.execute(query\_string, stemming=1, stemlang="english", fetchtext=False)
fetchtext=False)
Starts a search for query\_string, a RCL search language string. If Starts a search for query\_string, a RCL search language string. If
the index stores the document texts and ``fetchtext`` is True, store the index stores the document texts and ``fetchtext`` is True, store
the document extracted text in ``doc.text``. the document extracted text in ``doc.text``.