fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix player placement in search results
[wolnelektury.git]
/
src
/
search
/
index.py
diff --git
a/src/search/index.py
b/src/search/index.py
index
4f9a765
..
7bc61c5
100644
(file)
--- a/
src/search/index.py
+++ b/
src/search/index.py
@@
-744,7
+744,7
@@
class Search(SolrIndex):
else:
query = self.index.query()
query = self.apply_filters(query, filters).field_limit(score=True, all_fields=True)
else:
query = self.index.query()
query = self.apply_filters(query, filters).field_limit(score=True, all_fields=True)
- return [SearchResult(found, how_found='search_words') for found in query]
+ return [SearchResult(found, how_found='search_words') for found in query
.execute()
]
def get_snippets(self, searchresult, query, field='text', num=1):
"""
def get_snippets(self, searchresult, query, field='text', num=1):
"""