Skip to content

Commit bb80ea6

Browse files
authored
fix exclude keyword (#51)
1 parent 94f33c1 commit bb80ea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

image_match/elasticsearch_driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def search_single_record(self, rec):
5959
body={'query': {
6060
'bool': {'should': should}
6161
},
62-
'_source': {'exclude': ['simple_word_*']}
62+
'_source': {'excludes': ['simple_word_*']}
6363
},
6464
size=self.size,
6565
timeout=self.timeout)['hits']['hits']

0 commit comments

Comments
 (0)