Item8047: NatSearch: always combine topic+content search results

pencil
Priority: Enhancement
Current State: Closed
Released In:
Target Release:
Applies To: Extension
Component: NatSkinPlugin
Branches:
Reported By: Foswiki:Main.MichaelDaum
Waiting For:
Last Change By: MichaelDaum
... and never do a jump on a topic search that only has got one hit as this might be confusing.

Original Reportfrom Item71:
  • BUG: In Community web, when searching IRC, I am lead to IrcCloak. That is where Jump + Search is not working. Proposal: lead a search to a search results page, and list the topic name hits at the top, separated from the rest of the list. -- ArthurClemens - 05 Nov 2008 - 00:34


The distinction between a topic search and a content search is too artificial. Most search engines just do a search for a match on any of the properties of a page, be it within the content or its name. The kind of hit, that is where it has been found, might influence search order. Finding a topic search hit might be more relevant than finding the same string down at the bottom of the content. However, that's beyond the scope of NatSearch.

I simplified NatSearch so that a jump is only made when the topic as written in the search string really does exist. If not, a combined topic+content search is done. I am aware that simple topic only search is faster than a content search, but I think it is better to implement a more search-engine like behavior.

-- MichaelDaum - 15 Jan 2009

ItemTemplate edit

Summary NatSearch: always combine topic+content search results
ReportedBy Foswiki:Main.MichaelDaum
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component NatSkinPlugin
Priority Enhancement
CurrentState Closed
WaitingFor
Checkins NatSkin:a37bfa34e155 NatSkinPlugin:2b1e3ba10a6f
ReleasedIn
Topic revision: r4 - 15 Jan 2009, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy