@@ -57,7 +57,7 @@ def all_collections(self, **kwargs) -> Collections:
57
57
index = "stac_collections" , doc_type = "_doc" , query = {"match_all" : {}}
58
58
)
59
59
except elasticsearch .exceptions .NotFoundError :
60
- raise NotFoundError ("No collections exist in the database yet " )
60
+ raise NotFoundError ("No collections exist" )
61
61
serialized_collections = [
62
62
self .collection_serializer .db_to_stac (
63
63
collection ["_source" ], base_url = base_url
@@ -111,7 +111,7 @@ def item_collection(
111
111
try :
112
112
count = search .count ()
113
113
except elasticsearch .exceptions .NotFoundError :
114
- raise NotFoundError ("No items exist for this collection yet " )
114
+ raise NotFoundError ("No items exist" )
115
115
# search = search.sort({"id.keyword" : {"order" : "asc"}})
116
116
search = search .query ()[0 :limit ]
117
117
collection_children = search .execute ().to_dict ()
@@ -325,7 +325,7 @@ def post_search(
325
325
try :
326
326
count = search .count ()
327
327
except elasticsearch .exceptions .NotFoundError :
328
- raise NotFoundError ("No items have been added to the database yet " )
328
+ raise NotFoundError ("No items exist " )
329
329
330
330
# search = search.sort({"id.keyword" : {"order" : "asc"}})
331
331
search = search .query ()[0 : search_request .limit ]
0 commit comments