topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Saturday December 14, 2024, 9:13 pm
  • Proudly celebrating 15+ 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: Search word order  (Read 4033 times)

jacemdom

  • Supporting Member
  • Joined in 2015
  • **
  • default avatar
  • Posts: 21
    • View Profile
    • Donate to Member
Search word order
« on: August 30, 2017, 11:38 PM »
Hello,

Does anyone know of an option to allow search to work no matter the word order entered?

Example : If i enter "vpn email" i find the file named "fvi_vpnlock_email_send.vi"

But if i enter email "email vpn" then the file is not in results.

If it is not an option could it be made an option in a future version?

Thanks.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Search word order
« Reply #1 on: August 31, 2017, 10:31 AM »
In the example you give, FARR should still find the result whether you type "email vpn" or "vpn email".

It will give a result a higher score match if the words are in the same order as you type them, but will still find both results.

I suspect the reason it's not finding your result when you type "email vpn" is because you are starting your search with the term "email" which is probably matching an alias.

To test this you could start your search by typing "-alias email vpn" and see if it finds it.

Let me know.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Search word order
« Reply #2 on: August 31, 2017, 10:32 AM »
If that is the propblem you could simply disable the email alias by unchecking it in your alias list, or use the option that tells farr to only match aliases when you start with a certain keyword/symbol.

jacemdom

  • Supporting Member
  • Joined in 2015
  • **
  • default avatar
  • Posts: 21
    • View Profile
    • Donate to Member
Re: Search word order
« Reply #3 on: August 31, 2017, 02:58 PM »
I have no Aliases/Keywords/Groups configured and I can't find the option that tells farr to only match aliases when you start with a certain keyword/symbol.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Search word order
« Reply #4 on: August 31, 2017, 03:13 PM »
I have no Aliases/Keywords/Groups configured

FARR comes with a ton of them, all enabled by default.  They are on the Aliases/Keywords tab. And email is one of them (see the Core_Aliases\Core-Internet.alias" selection).  You can disable that alias file if you select it and then uncheck it at top right.

As for the option to only match aliases when you use a specific string, see the option on the Search Behavior tab labeled "Required Alias Prefix".

Another way to solve your problem would be to uncheck the options on the Search Behavior tab that say "Stop search on exact alias match or regex alias match" -- then the alias would trigger but it would still keep searching for matching file results.  That would be a bit confusing though, so my suggestion would be to go for one of the other fixes first.

jacemdom

  • Supporting Member
  • Joined in 2015
  • **
  • default avatar
  • Posts: 21
    • View Profile
    • Donate to Member
Re: Search word order
« Reply #5 on: August 31, 2017, 03:24 PM »
 :Thmbsup:

Thanks