Skip to:

Global search with custom queries

  • astereo


    Hey all,
    I’ve been working on a large private community for a client, and one of the last steps and important keys to the success of their network is to have an all encompassing search. We all know WP and BP search sucks, and even the plugins (for each respectively) extend the search a little further, but not far enough. The global unified search tutorial still works even though it’s fairly outdated, but it is still not as robust as we need it to be for this particular project.

    Ideally, we need a global search that makes it way through everything: groups, members (w/ extended profile fields if possible?), blog posts, pages, group forums, and, and most important for us, the GTM project management plugin entries for each project (these are stored directly in the DB I believe). It’s a bit too advanced for myself, especially with the interactions that are likely to be required to grab things from the database.

    What I’m looking for is either help putting this together, or to hire someone to complete this. Basically all I need is the plugin capable of performing a robust and comprehensive search like this, and outputting in some type of customizable format I can tweak out from there. (ideally grouped by each different result type, i.e. groups, posts, pages, etc). Even just a straight list would be a good enough start.

    Any help would be appreciated.

Viewing 1 replies (of 1 total)
  • As you said, not easy.

    If you wrote manually wrote code to perform a search on each data store, the page would be quite slow to load as you’re doing multiple searches. It’d also be very tricky to paginate results accurately.

    If I were doing this, I’d investigate doing the above (making a template that manually searches for the top 5 results from each data store, and displaying those on a page). Beyond that, the solutions get very technical and complex.

Viewing 1 replies (of 1 total)
  • The topic ‘Global search with custom queries’ is closed to new replies.
Skip to toolbar