You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your enhancement related to a problem? Please describe.
Currently, ElasticPress indexes the "components" (like year/month/day/etc) of the post_date field, but not the components of the other core date fields post_date_gmt, post_modified, post_modified_gmt. This means that any query attempting to use these fields in the same way as post_date will not behave as expected.
Describe the solution you'd like
Out of the box, EP indexes all core post date fields in the same way (broken down into components).
Designs
This should be pretty easy, mostly just adding the right Indexable::prepare_date_terms() calls and the mapping changes.
Additional context
Related to #1746 (which is for dates in meta fields)
The text was updated successfully, but these errors were encountered:
Is your enhancement related to a problem? Please describe.
Currently, ElasticPress indexes the "components" (like year/month/day/etc) of the
post_date
field, but not the components of the other core date fieldspost_date_gmt
,post_modified
,post_modified_gmt
. This means that any query attempting to use these fields in the same way aspost_date
will not behave as expected.Describe the solution you'd like
Out of the box, EP indexes all core post date fields in the same way (broken down into components).
Designs
This should be pretty easy, mostly just adding the right
Indexable::prepare_date_terms()
calls and the mapping changes.Additional context
Related to #1746 (which is for dates in meta fields)
The text was updated successfully, but these errors were encountered: