taishi-i commited on
Commit
568fef8
1 Parent(s): d979c67

debug for app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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)