Skip to content

Remove all elasticsearch specific language from core #195

Closed
@jonhealy1

Description

@jonhealy1

Removing es-specific language from core.py and the core module will make it easier for other databases to plug into the infrastructure.

Example: In the get_all_collections function '_source' is referenced:

return Collections(
collections=[
self.collection_serializer.db_to_stac(c["_source"], base_url=base_url)
for c in hits
],
links=links,
)

This should be removed from the response that comes via database_logic.py in both of the backends.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions