AND searches

Asked by Francesco Facco de Lagarda

The main search box does "OR" searches... i.e. if I search for "CSI Miami S01" it will look for any torrents with ANY of the search terms. Is there anyway to make it return only results that contain ALL the terms?
Failing that, the search box on the top searches within downloading streams but NOT within search results. Is it possible to make it search with search results as well?

Question information

Language:
English Edit question
Status:
Answered
For:
qBittorrent Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Christophe Dumez (hydr0g3n) said :
#1

This issue was caused by TorrentDownloads.net which uses OR instead of AND. However, I have found a way around it and I updated the plugin some time ago : please make sure your search plugins are up to date.

Revision history for this message
Francesco Facco de Lagarda (francesco-delagarda) said :
#2

Thanks for your increadibly quick answer.

qBittorrent reports "all your plugins are already up to date".
The plugin for TorrentDownloads is called "TorrentDownloads", reports an url
of "http://www.torrendownloads.net"
and has a light blue icon with an offset "TD" logo. I d/l it this week from
http://sourceforge.net/apps/mediawiki/qbittorrent/index.php?title=List_of_unofficial_search_engine_plugins
reports you as the author, and the version is 1.01 of December 14, 2009.
I just tried excluding all other plugins and it still comes up with "or"
searches!

--------------------------------------------------
From: "Christophe Dumez" <email address hidden>
Sent: Wednesday, September 29, 2010 8:04 AM
To: <email address hidden>
Subject: Re: [Question #127255]: AND searches

> Your question #127255 on qBittorrent changed:
> https://answers.launchpad.net/qbittorrent/+question/127255
>
> Status: Open => Answered
>
> Christophe Dumez proposed the following answer:
> This issue was caused by TorrentDownloads.net which uses OR instead of
> AND. However, I have found a way around it and I updated the plugin some
> time ago : please make sure your search plugins are up to date.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/qbittorrent/+question/127255/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/qbittorrent/+question/127255
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Francesco Facco de Lagarda (francesco-delagarda) said :
#3

I think I found the problem: qBittorrent won't let me update or install the plugin manually because it says
that it is "included with qBittorrent". Althought the one on the website says it's version 1.01, if you open
it in an editor, it says it's version 1.05 .. Something is wrong with the update process, and so your corrrected

Revision history for this message
Christophe Dumez (hydr0g3n) said :
#4

1.05 is the last version and it is not supposed to reports OR results : I'll recheck my code.

If you disable all plugins and only keep torrentdownloads.net enabled, does it still return OR results?

Revision history for this message
Francesco Facco de Lagarda (francesco-delagarda) said :
#5

Yep, that's what I did: I disabled all other plugins and ran search again.
Besides, on the right qbt tells you which server supplied the result,
so I am sure that it's still returning "OR"s !

Thanks again,
Francesco

--------------------------------------------------
From: "Christophe Dumez" <email address hidden>
Sent: Wednesday, September 29, 2010 1:52 PM
To: <email address hidden>
Subject: Re: [Question #127255]: AND searches

> Your question #127255 on qBittorrent changed:
> https://answers.launchpad.net/qbittorrent/+question/127255
>
> Status: Open => Answered
>
> Christophe Dumez proposed the following answer:
> 1.05 is the last version and it is not supposed to reports OR results :
> I'll recheck my code.
>
> If you disable all plugins and only keep torrentdownloads.net enabled,
> does it still return OR results?
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/qbittorrent/+question/127255/+confirm?answer_id=3
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/qbittorrent/+question/127255
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Christophe Dumez (hydr0g3n) said :
#6

What version of qBittorrent are you using?

You said you downloaded it from http://sourceforge.net/apps/mediawiki/qbittorrent/index.php?title=List_of_unofficial_search_engine_plugins but then how did you install it?

Considering that you are using qBittorrent >= 2.1.0rc4 (which is likely since it is old), then you already had this plugin installed. As a consequence, qBittorrent shouldn't have let you install it manually.

Also note that although the plugin page said the plugin version is v1.01, the actual version was 1.05 because it is a direct link to our SVN server (the file is automatically updated but not the version number... and I forgot the update it on the wiki page).

Could you please give me the output of:
cat ~/.local/share/data/qBittorrent/search_engine/engines/torrentdownloads.py | grep VERSION
(I says "#VERSION: 1.05" here)

I have just tested again and it does not return OR results, only AND ones. I have tried for example to type:
"medium blood"
and this only returned the episodes of Medium with "blood" in the title. It did NOT, for example, return "True blood" episodes.

Revision history for this message
Francesco Facco de Lagarda (francesco-delagarda) said :
#7

It seems to be working better, with NO INTERVENTION at all..

I just tried a search for "Megan Fox" , and initially I only got Megan Fox,
but after about 20 secs I started getting results for:
Fantastic Mr Fox
Fox holes
Tara Lynn fox
and others, as per attached screen cap,
all from "www.torrentdownloads.net"

btJunkie returns all sorts of crap that has nothing to do with the search
term.

--------------------------------------------------
From: "Christophe Dumez" <email address hidden>
Sent: Wednesday, September 29, 2010 1:52 PM
To: <email address hidden>
Subject: Re: [Question #127255]: AND searches

> Your question #127255 on qBittorrent changed:
> https://answers.launchpad.net/qbittorrent/+question/127255
>
> Status: Open => Answered
>
> Christophe Dumez proposed the following answer:
> 1.05 is the last version and it is not supposed to reports OR results :
> I'll recheck my code.
>
> If you disable all plugins and only keep torrentdownloads.net enabled,
> does it still return OR results?
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/qbittorrent/+question/127255/+confirm?answer_id=3
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/qbittorrent/+question/127255
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Christophe Dumez (hydr0g3n) said :
#8

Hi,

I believe this should be fixed in v2.4.4.

Kind regards,
Chris.

On Fri, Oct 1, 2010 at 8:42 AM, Francesco Facco de Lagarda
<email address hidden> wrote:
> Question #127255 on qBittorrent changed:
> https://answers.launchpad.net/qbittorrent/+question/127255
>
>    Status: Answered => Open
>
> Francesco Facco de Lagarda is still having a problem:
> It seems to be working better, with NO INTERVENTION at all..
>
> I just tried a search for "Megan Fox" , and initially I only got Megan Fox,
> but after about 20 secs I started getting results for:
> Fantastic Mr Fox
> Fox holes
> Tara Lynn fox
> and others, as per attached screen cap,
> all from "www.torrentdownloads.net"
>
> btJunkie returns all sorts of crap that has nothing to do with the search
> term.
>
>
>
> --------------------------------------------------
> From: "Christophe Dumez" <email address hidden>
> Sent: Wednesday, September 29, 2010 1:52 PM
> To: <email address hidden>
> Subject: Re: [Question #127255]: AND searches
>
>> Your question #127255 on qBittorrent changed:
>> https://answers.launchpad.net/qbittorrent/+question/127255
>>
>>    Status: Open => Answered
>>
>> Christophe Dumez proposed the following answer:
>> 1.05 is the last version and it is not supposed to reports OR results :
>> I'll recheck my code.
>>
>> If you disable all plugins and only keep torrentdownloads.net enabled,
>> does it still return OR results?
>>
>> --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>> https://answers.launchpad.net/qbittorrent/+question/127255/+confirm?answer_id=3
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https://answers.launchpad.net/qbittorrent/+question/127255
>>
>> You received this question notification because you are a direct
>> subscriber of the question.
>>
>
> You received this question notification because you are an answer
> contact for qBittorrent.
>

Revision history for this message
Dave (dave-unrealize) said :
#9

The torrentreactor plugin seems to be using OR too. Just tested a few things out with it.

Revision history for this message
Dave (dave-unrealize) said :
#10

Meant to just write a comment then, not answer. Apologies.

Revision history for this message
Christophe Dumez (hydr0g3n) said :
#11

Nice catch Dave! I have just fixed it, you can update your plugins and try again :)

Revision history for this message
Dave (dave-unrealize) said :
#12

Thanks for the speedy resonse. I've also noticed divxtotal has the same problem.

Revision history for this message
Christophe Dumez (hydr0g3n) said :
#13

divxtotal? this is not an official plugin, please contact the author of the plugin about that.

Can you help with this problem?

Provide an answer of your own, or ask Francesco Facco de Lagarda for more information if necessary.

To post a message you must log in.