alleyinteractive / alleyinteractive/es-wp-query

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

Offen
#3 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @mboynes Auf GitHub ansehen
enhancement
Vorherrschende Sprache
PHP
Sterne
125
Forks
28
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

`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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.