cedricbonhomme / newspipe

A web news aggregator.
https://www.newspipe.org
GNU Affero General Public License v3.0
437 stars 41 forks source link

Search: filter user documents at query time #11

Closed cedricbonhomme closed 9 years ago

cedricbonhomme commented 9 years ago

Whoosh give the possibility to filter document before search : https://pythonhosted.org/Whoosh/searching.html#filtering-results

Because user_id is indexed it possible to filter user documents at query time instead of filtering results.

Find attach the small patch to search.py.

The few tests i did looks ok.


cedricbonhomme commented 9 years ago

search.path fixes #5.

→ <<cset 6923cc7b852a>>


Original comment by: Cédric Bonhomme