Last few e-mails made me think that why the results still kinda sucked is
because there was no relevance mechanism, measuring score only based on
number of words matches does only a fair job.. This is why I included a
page-rank-like term in the score. I get the number of articles that refer to
a certain article (i.e. number of entries in "what links here"), and using a
formula calculate a boost for title field (if query matches the title, it
means it matches link to the article, and that score should be boosted)..
I've installed the rebuilt en.wiki index at
http://ls2.wikimedia.org/
Note however, there is a bug with redirects showing up in search results,
but this is just a glitch I'm fixing later today, so you can safely ignore
them.
You can see the difference in scoring by looking at Nick's screenshot, and
this link:
http://ls2.wikimedia.org/search?dbname=enwiki&query=french+revolution&a…
r.
I _think_ maybe what you're saying is that you want something like this:
http://files.nickj.org/MediaWiki/lucene-search-2-feedback-mockup.png
I.e. if you click the up arrow, it visual bumps something up one line in
the search results (and sends some kind of AJAX message to the server to
indicate what the user has done), same for the down arrow bumping
something
down a line; and if you enter a page title in the input box, and click the
"Add" button, it AJAX-checks that the page actually exists, and if so adds
it to the search results as the first item. And you probably want some
kind
of mechanism like Google has, where clicking on a link acts as a "+1" vote
for that link (they use JavaScript to do this, so that the link looks
right when you mouseover it, but so that it bounces the HTTP request off
their servers when you click it, and they only do it on some requests,
although for the Wikipedia it could be done on every request, since
there's
very limited commercial benefit to gaming our search results). At least,
the
above is my best guess as to what some kind of automated feedback
mechanism
would look like :-)
Oh, and [[French Revolution]] should maybe be the first result for:
http://ls2.wikimedia.org/search?dbname=enwiki&query=french+revolution&a…
-- All the best,
Nick.
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/wikitech-l