taishi-i commited on
Commit
ac09253
1 Parent(s): 86ca59d

debug for app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -101,7 +101,10 @@ class SearchApplication:
101
  print(type(result))
102
  print(dir(result))
103
  print(result.keys())
104
- json_data = json.loads(result.raw)
 
 
 
105
  json_search_results.append(json_data)
106
 
107
  for json_data in sorted(
 
101
  print(type(result))
102
  print(dir(result))
103
  print(result.keys())
104
+ print(result.lucene_docid)
105
+ print(result.lucene_document)
106
+ # json_data = json.loads(result.raw)
107
+ json_data = json.loads(result.lucene_document)
108
  json_search_results.append(json_data)
109
 
110
  for json_data in sorted(