WordPress.org

Ideas

Search list by relevance, not by date

  1. Bernhard Riedl
    Member

    12345

    +1 (imho a very important enhancement)

    Posted: 10 years ago #
  2. robanna
    Inactive

    +1

    Posted: 10 years ago #
  3. thedod
    Member

    +1

    I know those fancy google etc. algorithms are not available for us, but I have a simple implementation for "relevance".

    If (e.g.) the search term is "chicken", order of results should be:

    1) A post with the exact title "chicken" [if any]
    2) All posts with title LIKE %chicken% (e.g. "chicken soup")
    3 [maybe]) All posts that have the *tag* "chicken"
    4) All posts that contain "chicken" in the body

    Items within each segment can be sorted by date, and - of course - items that belong in more than one segment should only appear once.

    Not super-duper-ai, but *way* better than what we have now

    I believe all this (except for maybe the tag thing) should be quite easy to implement in query.py - but I don't know enough PHP to be sure about this (unofficial patches are welcome).

    Posted: 9 years ago #
  4. Jen
    Inactive

    New search API coming in version 3.0, will allow various plugins to enrich the built in search.

    Posted: 9 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    70 Votes
  • Status

    This is plugin territory

Tags