Skip to content

Commit bf7c6ca

Browse files
authored
ES: fix property evaluation (#2189) (#2200)
1 parent 92fdcb9 commit bf7c6ca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pygeoapi/provider/elasticsearch_.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ def query(self, offset=0, limit=10, resulttype='results',
302302
}
303303
query['query']['bool']['filter'].append(pf)
304304

305-
if '|' not in prop[1]:
306-
pf['match'][prop_name]['minimum_should_match'] = '100%'
305+
if '|' not in prop[1]:
306+
pf['match'][prop_name]['minimum_should_match'] = '100%'
307307

308308
if sortby:
309309
LOGGER.debug('processing sortby')

0 commit comments

Comments
 (0)