DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Handling of multiple keywords  (Read 7,993 times)

kingcrimson

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13
Handling of multiple keywords
« on: October 15, 2005, 04:16 PM »
Hi,

Some time ago, I posted a similar question in this thread:

http://www.donationcoder.com/forum/index.php?topic=888.0

So, in searching for a file called first_second_last.ext, I'd like for that file to be returned in the results window if I enter any of the following:

first
first second
third second
first .ext

I hope the above is clear. Maybe this is something planned for 2.0?

Bob

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Handling of multiple keywords
« Reply #1 on: October 15, 2005, 05:48 PM »
i think this is good timing, because work on F+R has progressed steadily in recent weeks and this is one of the main features i've been wanting to add in order to justify a Version 2 release.  in fact it is the main feature that i consider essential before going to version 2.

the only question in my mind is the best way to let the user convey what they want.

does
"first second" mean find ONLY files with both keywords,
or find files with either, but score higher those with both?

or should we require special prefix like a search engine
so that +keyword means it MUST be present
-keyword means it must NOT be present?

kingcrimson

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13
Re: Handling of multiple keywords
« Reply #2 on: October 15, 2005, 09:57 PM »
I think the simple answer is "make it work like google" ;). But that probably creates a lot of work.

I like the approach of higher score for files containing the greatest number of keywords. Then there could be a bonus for finding files that have the keywords in the proper sequence, e.g. first_second and second_third score higher than third_first.

This could be something like a bonus for each keyword matched, then a bonus for sequence matching (sort of like left-most match that is currently in FRR). I like the current score based setup, and the above fits within that framework.

Bob

kfitting

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 593
Re: Handling of multiple keywords
« Reply #3 on: October 17, 2005, 12:14 AM »
I second the google comment... no need to go confusing people!  "It works in google... I don't understand!" would only lead to frustration!

Kevin

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Handling of multiple keywords
« Reply #4 on: October 17, 2005, 12:19 AM »
i think the comments above make complete sense and are in line with current scoring system philosophy.

Original address: https://www.donationcoder.com/forum/index.php?topic=1219.0