cakiki commited on
Commit
8083184
1 Parent(s): 20e5d10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def match_query(query, num_results=10):
45
  response = s.execute()
46
  return response
47
 
48
- def phrase_query(query, num_results=10):
49
  s = Search(using=es, index=os.environ.get("index"))
50
  s.query = Q("match_phrase", content=query)
51
  s = s[:num_results]
 
45
  response = s.execute()
46
  return response
47
 
48
+ def phrase_query(query, num_results=100):
49
  s = Search(using=es, index=os.environ.get("index"))
50
  s.query = Q("match_phrase", content=query)
51
  s = s[:num_results]