Skip to content
This repository was archived by the owner on Apr 22, 2022. It is now read-only.
This repository was archived by the owner on Apr 22, 2022. It is now read-only.

Delete from Query, Elastica dependencies. #128

@Zyqsempai

Description

@Zyqsempai

Here is the main problem: https://github.com/doctrine/search/blob/master/lib/Doctrine/Search/Query.php#L257
Here is two ways.
First one: We can create abstract layer for ResultSet, for example Adapter, and wrap all result sets.
Second one: We can move query on client level, create QueryInterface and realize it in ElasticSerach namespace for example, and create method in Client, something like Client::createQuery.
So each query will work only with his native ResultSet.
@MrHash What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions