Closed cedricbonhomme closed 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.
search.path fixes #5.
→ <<cset 6923cc7b852a>>
Original comment by: Cédric Bonhomme
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.