• hello

    in the developper docs, i dont see any docs about how to customize or improve the default search engine.

    my goal is to search only the extended users metadata i’ve added, and i’d like to change the querystring of the search to search in the user metadata table.

    no plugins fit my request, so i will try to make my own.

    it would be great to have some docs : where to start, what files are involved, what to change and so on…

    i’m going to dive into the wp files but dont know where to start…

    thanks !

Viewing 1 replies (of 1 total)
  • Thread Starter speeddaryl

    (@speeddaryl)

    In order to be more precise i want the search engine to do this :

    SELECT * FROM wp_usermeta WHERE meta_value = “my_search_string”;
    SELECT * FROM wp_users WHERE user_id = “the_user_id”;

    the_user_id is of course the one retrieved with the 1st query as you guessed.
    I know there’s a way to do this with one query in SQL but i’m not very good at SQL’s queries… i will look for documentation of SQL later, when i know how to customize my query string in the search engine…

    thanks for your help !

Viewing 1 replies (of 1 total)

The topic ‘Docs on wp search engine’ is closed to new replies.