Skip to content

Commit

Permalink
fix exclude keyword (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhsimplex authored Dec 8, 2016
1 parent 94f33c1 commit bb80ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image_match/elasticsearch_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def search_single_record(self, rec):
body={'query': {
'bool': {'should': should}
},
'_source': {'exclude': ['simple_word_*']}
'_source': {'excludes': ['simple_word_*']}
},
size=self.size,
timeout=self.timeout)['hits']['hits']
Expand Down

0 comments on commit bb80ea6

Please sign in to comment.