Scoring.properties help

qualler
Posts: 15
Joined: Fri Jan 26, 2018 8:05 pm

Scoring.properties help

Post by qualler » Tue Nov 17, 2020 1:07 am

I've been making some updates to the scoring.properties file. I've read the help topic, but I have a scenario I'm not sure about.

In the output I have a title like this: Job Card PRE A001 - Third-Party Review Workstation Compatibility Checks

When I search exactly for this title, it is not the first result. It's actually the 4th result. The engineering team finds this odd. In fact, the first result is actually another file, which contains a link to the PRE A001 topic.

So, I thought, well, I'll add a = 10 to the scoring.properties file and see if that does the trick (title is set to 30). But it didn't work.

Two things:
  • It seems the - in the title (between A001 and Third-Party) changes the results. Although it's not documented (that I could find) it seems - might mean "exclude". Could I have clarification on that point?
  • The topic that is first in the results has a ton of instances of "pre" and "job card" and I'm guessing this is influencing the ratings. Does each instance add to the 'weight'?
Given the information I've included, can someone suggest what I could do to get the correct topic to the list?

Definitely appreciate any help.

Justin

radu_pisoi
Posts: 389
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: Scoring.properties help

Post by radu_pisoi » Tue Nov 17, 2020 4:52 pm

Hi,

The search results are sorted depending on a score/relevance computed for each document. The score computing depends on the context of search terms, for example a word found in a title scores better than a word found in unformatted text. Also, the score depends on the number of occurrences of search term in document, so it is possible that a topic that has a lot of occurrences of the search term to be displayed in front of a document where search term is located in the document title.

For further investigations, can you send us a sample DITA map containing the topic that you complain and also topics that are displayed in front of it. Please send the sample DITA map on support@oxygenxml.com. Also, please specify the WebHelp version.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

qualler
Posts: 15
Joined: Fri Jan 26, 2018 8:05 pm

Re: Scoring.properties help

Post by qualler » Fri Nov 20, 2020 11:25 pm

Thanks Radu, I exported the files and sent them over to the support address. Curious if you have any thoughts on the matter and appreciate your help.

Justin

qualler
Posts: 15
Joined: Fri Jan 26, 2018 8:05 pm

Re: Scoring.properties help

Post by qualler » Wed Jan 06, 2021 5:52 pm

Hi Radu, have you have a chance to look at this? I have another issue with the search where a word multilingual is in keywords/keyword yet when I search specifically for that word, it's not found. I'll resend my email with the earlier example. Thanks

Post Reply