aboutsummaryrefslogtreecommitdiff
path: root/source/search.py
diff options
context:
space:
mode:
Diffstat (limited to 'source/search.py')
-rw-r--r--source/search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/search.py b/source/search.py
index 218d2436..2b0fea85 100644
--- a/source/search.py
+++ b/source/search.py
@@ -71,7 +71,7 @@ def search(term):
with ix.searcher() as searcher:
query = QueryParser("content", ix.schema).parse(term)
results = searcher.search(query)
- return [article['title'] for article in results]
+ return [(article["feed_id"], article["article_id"]) for article in results]
if __name__ == "__main__":
# Point of entry in execution mode.
bgstack15