Skip to content

Commit

Permalink
Fixing lucene quote issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-kevin committed Jun 4, 2021
1 parent 211de4e commit 7cf5c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assemblyline_incident_manager/al_incident_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def main(url: str, username: str, apikey: str, min_score: int, incident_num: str
"""
# Here is the query that we will be using to retrieve all submission details
incident_num = prepare_query_value(incident_num)
query = f"metadata.incident_number:'{incident_num}' AND max_score:>={min_score}"
query = f"metadata.incident_number:\"{incident_num}\" AND max_score:>={min_score}"
print_and_log(log, f"INFO,Query: {query}", logging.DEBUG)

if is_test:
Expand Down

0 comments on commit 7cf5c57

Please sign in to comment.