Skip to content

Add a check to see if the current query can/should be run using ES #3

Open
@mboynes

Description

@mboynes

ES_WP_Query should have a check in place to see if the request can actually be executed successfully, and if not, defer to WP_Query.

For instance, if the ES index doesn't contain post_mime_type data, and the query includes it, that query should be executed against MySQL. Another example is a post__in query with no other arguments; ES would be of no benefit there.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions