Page 1 of 1

OR search

PostPosted: Fri Mar 27, 2015 5:48 am
by bonalymac
I've never done any complex searches, but was looking to try an OR one. If I do an Internet search for

Karl Jenkins

with my News provider, I get 62 hits

If I search for

Craig Ogden

I get 1 result

As soon as I try this

Karl Jenkins OR Craig Ogden

I get zero hits.

I've tried quotation marks round each name and also each word, the pipe symbol instead of OR, an OR between each word, a Pipe between each word, but I always get zero hits.


As far as I can see from the help files some of these options should work, and presumably give me 63 hits.

Can someone help me and explain what I'm doing wrong please?

Thanks

Re: OR search

PostPosted: Fri Mar 27, 2015 10:02 am
by dexter
Looks like a bug crept in. Complex search strings aren't getting parsed for some reason. I'll get it fixed today. Thanks for the report.

Re: OR search

PostPosted: Fri Mar 27, 2015 12:36 pm
by bonalymac
Thanks

Love the response and service we get from you guys

Re: OR search

PostPosted: Fri Mar 27, 2015 2:27 pm
by Moondawgie
To include the use of '|" for the word 'OR'

Conducting a search of the internet for subject, 's04e0(0-9)' produces results, while a search for 's04e0(0|1|2|3|4|5|6|7|8|9)' does not. However, after the completion of a search for 's04e0(0-9)', a search of 's04e0(0|1|2|3|4|5|6|7|8|9)' (Without depressing the keyboard's Enter key, or clicking Newsbin's search icon) produces results.

Re: OR search

PostPosted: Fri Mar 27, 2015 3:41 pm
by dexter
OR is working now.

Keep in mind the boolean parser is fairly limited. It will now handle "Jenkins OR Ogden" (without the quotes) and will return appropriate results. It will not handle "Karl Jenkins OR Craig Ogden" because the parser doesn't know how to group keywords around the OR. It also strips parenthesis for now so even if you do something like " (Karl Jenkins) OR (Craig Ogden) " it still won't work the way you expect.

As Kingfish pointed out, you can do a more broad search, then apply Newsbin's built in filtering mechanism which uses regex.

I have a note to myself to beef up the parser but it's a low priority since it appears this is a very little used feature. The OR function has been broken since September and nobody noticed (or bothered to report it) until now.

Thanks again for the report.

Re: OR search

PostPosted: Fri Mar 27, 2015 5:55 pm
by bonalymac
Thanks

Much appreciated . I'll use the filter after as suggested.

I was thinking that the searches could be more usefull with the new watch lists feature.

Incidentally, not sure if I should mention it here or in the beta forum, but it seems as if renaming a watch list may not work.

Ta

Colin

Re: OR search

PostPosted: Fri Mar 27, 2015 6:18 pm
by dexter
bonalymac wrote:Incidentally, not sure if I should mention it here or in the beta forum, but it seems as if renaming a watch list may not work.


There currently is no way to rename a watch list name. I'll mention it to Quade.

The workaround would be to click the "New Watch" button, enter the new name you want to use, then select the old name as the template to use. Once it is created you can delete the old one. You'll lose any previous searches though.

Re: OR search

PostPosted: Fri Mar 27, 2015 7:20 pm
by bonalymac
OK thanks

But when you right click on a watch list, rename is offered as an option.

However the workaround seems fine