Generalized Search API

  1. Dougal Campbell


    The core search function is pretty basic, it just does keyword searches on the main db tables/fields. There are various plugins which extend the search by letting you search more fields, or by enabling Full Text search to get relevance.

    But what about generalizing the search API so that we could hook into external search engines? Being able to index a site using something like Lucene would be very useful for high-end WP sites.

    I think it would be worthwhile to do a little research into a few of the most popular external search index systems (Lucene, Solr, Swish-E, Glimpse, FreeWAIS, Google and Yahoo search APIs, etc.), abstract out the most common search functions and result data, and introduce some new hooks, filters, and pluggable functions that can take advantage of them.

    Posted: 11 years ago #
  2. eiland


    Just something which creates a local search database would probably give an improvement, too. ie pdfs could be added to the db.

    Posted: 10 years ago #

  3. Inactive

    Has anyone managed to implement this into WP? I am looking at implementing this for a client website.

    Posted: 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    4 Votes
  • Status

    Good idea! We're working on it