DC++ FAQ » Using DC++ » Features

ID #1023

How are automatic searches matched?

For this feature to work, you'll need to have it enabled. File → Settings → Downloads → Queue → Automatically search for alternative download locations.

Basically, the same algorithm as "search for alternates" is used. All non-alphanumeric characters from the filename are removed (.-_ and so on), and the search is sent. Then, any result returned that has exactly the same size is added as a source. All in all, it's not an exact filename match but the filename still plays a central role (otherwise, for instance, rar sets would be added to the wrong rars).

Since DC++ 0.402, if a file has a TTH root, autosearching will use the root hash instead of the file name for its search.

DC++ Change Log Related Entries:
0.670: Autosearch and automatch queue is now done by tth only (!) (thanks garg). Automatch search done by tth only, should make things slightly faster. Search for alternates automatically uses tth if available (thanks garg).
0.4033: Removed autosearch string, it's not used any more, Fixed a bug with autosearch repeating the same search needlessly (this should result in fewer autosearches, good for the hubs)
0.4032: Fixed issue with autosearch not getting filelists, Fixed an issue with autosearch by tth not being done
0.402: Automatic search matching is now done exclusively by TTH for those items that have a TTH root and by exact filename for those that don't., Matching by name removed for queue items with a TTH root (for autosearches), Autosearch is done by TTH for queue items that have a root, Fixed a rare deadlock when autosearching
0.307: Added option to match autosearch filenames exactly to further avoid the wrong file being downloaded (default on)
0.306: Changed autosearch so that it only searches if less than 5 sources are online, this should stop galloping filelist downloads as well
0.305: Added option to automatically download filelist and match it on autosearch match. This will dramatically speed up autosearching, lessening the strain on the hubs as less searches have to be done.
0.304: Fixed a bug in autosearch when using auto search strings (thanks ilkka seppälä)
0.302: Updates to the autosearch feature
0.26: Search for alternates now sets file type as well (and should work correctly with sizes...)
0.24: Doubled interval between autosearches (2 minutes now, and 60 between each research of the same file), this to ease the bandwidth load on busy hubs
0.23: Automatic search now searches with type if possible (to ease the load on clients)
0.18: More changes to the autosearch, it should now be more random and therefore yield better results, Removed sources are no longed automatically readded by the autosearch feature
0.177: Made autosearch more effective (much less hub bandwidth usage...)
0.173: Improved the autosearch algorithm a little bit, Fixed search for alternates bug


Last update: 2006-05-26 18:52
Author: BSOD2600
Revision: 1.0

Print this record Print this record
Send to a friend Send to a friend
Show this as PDF file Show this as PDF file
Export as XML-File Export as XML-File

Please rate this entry:

Average rating: 1 from 5 (1 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry