Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » How to change infocenter search results?(How do we change the search results so they are more relevant?)
How to change infocenter search results? [message #650838] Wed, 26 January 2011 18:37 Go to next message
SF  is currently offline SF Friend
Messages: 2
Registered: January 2011
Junior Member
We are using Galileo and deploying infocenters as a webapp that we host. The search results are listed in alphabetical order by doc plug-in. For example, all the results in plug-in A are listed first, then plug-in B, etc. The results are not listed by relevency against the search terms. The most relevent result could be last in the list.

For example, if the user searches on "deploy the machine" this phrase actually appears in the index and in a topic title but shows up last in the search results because of the plug-in that contains the topic.

How can we change the default search results to give more weight to titles, index terms, etc.

Thanks,
Sharon
Re: How to change infocenter search results? [message #651129 is a reply to message #650838] Thu, 27 January 2011 22:11 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
There is a button on the toolbar which toggles whether the results are grouped by book or not. The default setting for this button is to not group by book.

The keyword index does not affect the search ranking, it is independent of the search index. Titles of HTML documents in a <title> element do get extra weight in the search ranking.
Re: How to change infocenter search results? [message #651143 is a reply to message #651129] Thu, 27 January 2011 23:23 Go to previous messageGo to next message
SF  is currently offline SF Friend
Messages: 2
Registered: January 2011
Junior Member
Thanks, Chris. We had changed the default to group by book and are switching back "not group by book". Is there a way we can adjust ranking and relevancy besides this?

I've read a little about analyzers and other tools. Are these things we can use with an Eclipse infocenter.

We are using DITA XML and have <title>, <navtitle> and <searchtitle> tags. Do you know how if the values of <navtitle> and <searchtitle> will affect ranking?
Re: How to change infocenter search results? [message #651314 is a reply to message #651143] Fri, 28 January 2011 21:52 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
The search index is built from html files so it would depend on how DITA converted those tags to HTML. All words in the body of the document get equal weight. Keywords defined in a <meta> tag such as

<meta name="keywords" content="eclipse">

will get the same weight as words in the body. Words in a <title> get a significant boost.

If you are searching for a two word phrase such as "help system" a document which contains those two words adjacent to each other and in that order will score higher than another document where the words are separated.

Those are about all the rules I'm aware of. Since the search is performed by the Lucene search engine the ranking algorithm is to some extent determined by Lucene, an example being that two matches in a long document is scored lower than two matches in a short document.
Previous Topic:Search hangs on indexing in Infocenter WAR deployed on Tomcat Linux
Next Topic:Customizing Help System Navigation pane, Search toolbar font, Content toolbar font, color
Goto Forum:
  


Current Time: Wed Oct 09 01:04:28 GMT 2024

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

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

Back to the top