Switch to side-by-side view
--- a/src/python/samples/recollq.py +++ b/src/python/samples/recollq.py @@ -45,6 +45,8 @@ def doquery(db, q): # Get query object query = db.query() + query.sortby("dmtime", ascending=True) + # Parse/run input query string nres = query.execute(q, stemming = 0, stemlang="english") qs = u"Xapian query: [%s]" % query.getxquery()