Lets say that I want to use a MongoDB for searching. I saw that WP_Query has a property named request which it seems that holds the SQL Query which is executed on the SQL database.

Now if I write a translator from SQL to MongoDB would that be enough to create a valid WP Search? Or for complex search WP Might use some extra (pre/after) processing in which case it will run some other SQL Queries?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.