Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Filters not working like expected for date fields #587

@kynx

Description

@kynx

Currently the Loupe adapter stores dates as timestamps, whereas the Elasticsearch adapter uses its native date field. Unless I'm mistaken, this means the same Search cannot work with both.

It would be nice to provide an abstraction for this. I suggest using PHP's DateTimeImmutable and converting to the required format in the SearcherInterface implementation. Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions