Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Adjust search rankings/scoring?
Adjust search rankings/scoring? [message #586259] Fri, 12 October 2007 17:13
Eclipse UserFriend
Originally posted by: ddirks.ittvis.com

Is there any way to tweak the ranking or scoring of XHTML documentation
content for the Search mechanism (Lucene)?

I'm having a hard time understanding how the default page ranking works,
and even less success in influencing it.

Here's an example of what I'd like to do. I've got numerous topics that
contain a given string (e.g. "WIDGET_BASE"), but only one file that
contains this string in the <title> element of the XHTML file. I would
very much like this document to be ranked highest by the search, but in
practice it comes out somewhere down in the middle of the list of hits.

My theory is that the default search is somehow paying more attention to
the length of the file than to the <title> element; files that are short,
and thus have a higher "density" of the search term, seem to receive
higher rankings.

I've tried the old webmaster trick of adding <meta name=keywords ...>, but
this does not seem to affect the rankings.

Is there anything I can do in the content to affect the rankings?

Is there any other way to affect the rankings outside of adding a new
Lucene analyzer extension?

If the only way to do this is to override the default Lucene analyzer,
does anyone have any pointers on doing this, or sample code? I'm not a
Java programmer myself, but I might be able to convince one to help me if
I had something to start from...

Thanks for any help,

Doug Dirks
Previous Topic:What new UA features are targeted to come in Eclipse 3.4 M3?
Next Topic:Dynamic help not working from menu action but works from Infopop
Goto Forum:
  


Current Time: Thu Apr 25 20:27:32 GMT 2024

Powered by FUDForum. Page generated in 0.03496 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top