Revision 58515
Added by Sandro La Bruzzo almost 4 years ago
ScholixConnector.py | ||
---|---|---|
125 | 125 |
q = q & item |
126 | 126 |
log.debug("REQUEST CREATED {}".format(q)) |
127 | 127 |
search_object = Search(using=self.connection_pool.get_connection(), index=self.index_name).doc_type('scholix').query(q) |
128 |
print (search_object.to_dict()) |
|
128 | 129 |
log.debug("Page request size is {}".format(page)) |
129 | 130 |
if page > 9999: |
130 | 131 |
return [] |
Also available in: Unified diff
fixed npe