Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mboynes opened this issue Apr 18, 2014 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@mboynes
Copy link
Contributor

mboynes commented Apr 18, 2014

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.

@mboynes mboynes self-assigned this Apr 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant