+1 (imho a very important enhancement)
+1 (imho a very important enhancement)
+1
+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).
New search API coming in version 3.0, will allow various plugins to enrich the built in search.
This topic has been closed to new replies.