Page 1 of 1

Internet Search - keyword search bug

PostPosted: Fri May 10, 2013 11:53 am
by Ocean
For the Internet Search in 6.50b7, searches like this fail:

(Ass 13 720p s04) OR (Tits 720p s02) (Edited by Quade)

Either half works fine by itself, but grouping them with the OR causes it to fail. Obviously, this is not what should be happening.

Re: Internet Search - keyword search bug

PostPosted: Fri May 10, 2013 12:45 pm
by dexter
Internet Search doesn't handle that type of grouping. It'll do Keyword1 OR keyword2 but not (word1 word2) OR (word3 word4). The capabilities are discussed on the Internet Search Help Page.

If it is a widely desired capability, I can look into supporting it.

Re: Internet Search - keyword search bug

PostPosted: Fri May 10, 2013 1:26 pm
by Ocean
In that case, I would definitely request it. It makes little sense to support boolean searches without grouping, as you're giving up more than half the power and flexibility.

Re: Internet Search - keyword search bug

PostPosted: Fri May 10, 2013 1:47 pm
by dexter
You are actually in the minority believe it or not. I kick out failed search terms and monitor them for tweaking the system. Failures due to attempting to use complex boolean expressions is rare. No failures had an OR in it at all yesterday. The other failures are from people copy and pasting content that doesn't match, typographical errors in keywords, or simply listing keywords that returns no matches.

I have wanted to provide better parsing capabilities regardless and it's on my list of things to do. No ETA though.

Re: Internet Search - keyword search bug

PostPosted: Fri May 10, 2013 2:13 pm
by Ocean
I suppose it's possible that you're not seeing the failures because people already know that NB doesn't support it. But I can believe that most people use simpler queries.

I would think that supporting grouping in a boolean search field is library code that can be copy/pasted, though. I was shocked to find out that this type of search didn't work.

In any case, thanks for having it on your list, and for all the great work!