Mailinglist Archive: opensuse-web (8 mails)

< Previous Next >
Re: [opensuse-web] Wiki search - proposal
  • From: Wolfgang Hahnl <slughorn@xxxxxxxxxxxx>
  • Date: Wed, 04 Dec 2013 09:33:02 +0100
  • Message-id: <3192630.g0Er2JhrCY@linux-fqw4>
Hello Christian,

Am Mittwoch, 4. Dezember 2013, 02:07:45 schrieb Christian Boltz:

Am Dienstag, 3. Dezember 2013 schrieb Wolfgang Hahnl:
Am Montag, 2. Dezember 2013, 21:52:51 schrieb Christian Boltz:
- if you agree with the boost value for each namespace

The number system you mentioned above is a little to cryptical for
me. "Say" what is first, second and so on in the result list.

Well, it depends on how good the page matches the search term ;-)

Think of the boost value as a "weight" (not as a "first", "second", ...)
that is part of the ranking calculation. The other part in the
calculation is how good the page content matches the search term.

Let me give you an example:

Search for "download openSUSE distribution" [1]

Let's assume there are two pages with a 100% text match:
- /Download
- /Archive:Download_12.2

Both search results are equal, now the boost value comes into play, and
you'll get the following search result order:
- /Download: 100% match * 1 = 100 "points"
- /Release_Notes: 70% match * 1 = 70 "points"
- openSUSE:Download_statistics: 80% match * 0.6 = 48 "points"
- /Archive:Download_12.2: 100% match * 0.2 = 20 "points"

So in the end /Download is the first search result (100 "points"),
followed by some other pages (which contain only two of the three words
you searched) and, much more downwards, /Archive:Download_12.2

The result can also be the other way round - a 100% match in the SDB
namespace (= 60 "points") can be the top result if there's only a 50%
match in the main namespace (= 50 "points").

Nevertheless, it will be quite rare that a page in the Talk namespace
ends up as first search result because it can get a maximum of
100% match * 0.0005 = 0.05 "points".

Does this explain the boost values?


Christian Boltz

[1] I just invented this search and its results, which means the "real"
search will most probably give you different results and/or
different page content.

thank you for this explanation.

Best Regards


openSUSE Member
To unsubscribe, e-mail: opensuse-web+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-web+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation