Skip to content

Order reset for QueryBuilder #7

Description

@danaki

Since Sphinx returns document ID's in an ordered manner (if order is provided) and these ids then put to QueryBuilder which searches for entities using "IN" clause, the resulting order of documents retrieved from the database is random. And I guess this:

        if ($this->orderBy) {
            $this->queryBuilder->resetDQLPart('orderBy');
        }

in applyQueryBuilder() doesn't allow to fix the order.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions