koniu / recoll-webui

web interface for recoll desktop search
266 stars 55 forks source link

abstract highlighting to work with stemming #18

Closed koniu closed 10 years ago

koniu commented 10 years ago

Replace dummy highlighting with one using makedocabstract().

In recent Recoll versions (from 1.18.2 I think), the Query class has a
makedocabstract() method which can perform proper highlighting. See
http://www.lesbonscomptes.com/recoll/usermanual/RCL.PROGRAM.API.html#RCL.PROGRAM.API.PYTHON

The Query method replaces and augments the Db one (which still exists).