debug for app.py
Browse files
app.py
CHANGED
@@ -97,9 +97,9 @@ class SearchApplication:
|
|
97 |
if num_search_results > 0:
|
98 |
json_search_results = []
|
99 |
for result in search_results:
|
100 |
-
print(result.lucene_document.getValues())
|
101 |
-
print(result.lucene_document.toString())
|
102 |
print(result.lucene_document())
|
|
|
103 |
# json_data = json.loads(result.raw)
|
104 |
json_data = json.loads(result.lucene_document.toString())
|
105 |
json_search_results.append(json_data)
|
|
|
97 |
if num_search_results > 0:
|
98 |
json_search_results = []
|
99 |
for result in search_results:
|
100 |
+
# print(result.lucene_document.getValues())
|
|
|
101 |
print(result.lucene_document())
|
102 |
+
print(result.lucene_document.toString())
|
103 |
# json_data = json.loads(result.raw)
|
104 |
json_data = json.loads(result.lucene_document.toString())
|
105 |
json_search_results.append(json_data)
|