Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 02, 2016, 06:30:54 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Puzzling results  (Read 3648 times)

i9uq9p702

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Puzzling results
« on: January 24, 2009, 10:49:29 AM »
New user of FARR.          

When I type mbna the top two entries that come up are :

NameScoreLocation
IrfanView - Thumbnails.lnk878C:\Documents and Settings\xxx\StartMenu\Programs\IrfanView
mbna.rfp862K:\XXXXXXX\YYYYY

I don't understand how Irfan can beat mbna.rfp. I have tried looking at the scoring options and have come up with:

IrfanViewmbna.rfp
Search Folders
%MYSTARTMENU%100
K:\XXXXXXX (Subdirectory depth = -1)100
Heuristic Scoring
History bonus (both are listed in my history)200200
Exact match100
Leftmost bonus150
Percentage of Search String25 (??)
Whitespace Removal00
(The other entries are not explained in the Help file and I can't work out how to use them.)
Pattern Scoring
*.rfp100
*.lnk50
Total350675

These scores, although obviously only part of the story, are so heavily in favour of mbna.rfp (which is what I want) and yet it comes up second. Please could someone help me understand
i) the other entries in the Heuristic Scoring options
ii) what other tests are affecting the scores.

Thank-you.

(The Help file is badly out of date in many ways - the screen prints are of a previous version and some new features, such as the extra heuristic scoring options, that have been added to the application have not been added to the Help.  This makes it very difficult for a new user such as myself to make the most of what is obviously a very powerful program.)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,405
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Puzzling results
« Reply #1 on: January 26, 2009, 07:27:39 AM »
Hi i9uq9p702.

That is a hard name to pronounce!!  ;D

First, thanks for the cool post.. it's very cool to see someone breaking down the scores like this -- almost like a detective trying to solve a mystery.

The irfanview shortcut is exciting FARR because of this substring:
IrfanView - Thumbnails.lnk

Now ideally, and clearly, your mbna.rfp should have won with a highest score.. 99 times out of 100 farr would be smart enough to rank it on top.  Initially i thought the history might be what is causing it, but you said already both are in history.

I have an idea.. could you try disabling the non-contiguous search option and see if that lowers the score:


If it is that, then its a bug in that.  If it's not that then maybe i will try to reproduce it.

i9uq9p702

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: Puzzling results
« Reply #2 on: January 26, 2009, 12:48:48 PM »
Hi, Mouser,

Thanks for your welcome to the board and your kind comments on my first post.

Yes, I noticed that IrfanView - Thumbnails.lnk includes the substring mbna, so I wasn't surprised that it appeared, just that it appeared at the top.

I already had the non-contiguous search option disabled.

If you could reproduce my problem that would be cool.  ;)

Thank-you for your help.

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Puzzling results
« Reply #3 on: January 26, 2009, 11:37:22 PM »
Just a note. I did reproduce your problem with the same result. ;)
mouser: I would suggest to make an option to display summation procedure (like 50+200+...). Then it would be clear why this happens.
My open-source online piano game: https://github.com/musicope/game

i9uq9p702

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: Puzzling results
« Reply #4 on: January 31, 2009, 12:02:13 PM »
czb : Thanks for taking the time to reproduce my problem.

mouser : As my non-contiguous search option was already disabled, I tried enabling it.  The scores for the two items in question didn't change.
Do you think you will be able to look into this for me or is it not high enough on your list of things to do?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,405
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Puzzling results
« Reply #5 on: January 31, 2009, 02:41:51 PM »
i will look into it.. clearly it does not seem desirable.

i9uq9p702

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: Puzzling results
« Reply #6 on: February 01, 2009, 01:51:50 PM »
Thank-you.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,405
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Puzzling results
« Reply #7 on: February 20, 2009, 06:00:15 AM »
i've tried to reproduce and found in my tests that the irfanview is getting a big boost from matching the *.exe filter (i know its a link, but its a lnk to a .exe), which would suggest that you should boost up the rfp score, reduce the exe, or increase the leftmost bonus.

i also noted that the leftmost bonus score is being used to give slight bumps based on a few other heuristics, and i'm trying to tweak those to not give as much of a bonus in this kind of case -- since the other heuristics i added really are meant to come into play only with multiword searches.
« Last Edit: February 20, 2009, 06:09:44 AM by mouser »

i9uq9p702

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: Puzzling results
« Reply #8 on: February 24, 2009, 02:36:29 PM »
Thanks. I hadn't realised that a .lnk gets its target's score, as well as its own.

I have done a quick test to confirm this :

* uncheck the "Remove duplicate links to same target" option
* set %MYSTARTMENU% and %PROGRAMFILES% to the same score
* type the leftmost few letters of an executable name

The .lnk appeared above the .exe in the results list and the difference in scores confirms what you said.

Thank-you for looking at this, mouser.