Skip to content

Commit e1d6232

Browse files
committed
use wildcard in exclusion of collections index to support aliases with numbered indices
1 parent 4904f84 commit e1d6232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/database_logic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
":",
4040
}
4141

42-
ITEM_INDICES = f"{ITEMS_INDEX_PREFIX}*,-*kibana*,-{COLLECTIONS_INDEX}"
42+
ITEM_INDICES = f"{ITEMS_INDEX_PREFIX}*,-*kibana*,-{COLLECTIONS_INDEX}*"
4343

4444
DEFAULT_SORT = {
4545
"properties.datetime": {"order": "desc"},

0 commit comments

Comments
 (0)