Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-08-2012, 02:05 AM   #1
mezme
Enthusiast
mezme began at the beginning.
 
Posts: 44
Karma: 10
Join Date: Dec 2009
Device: PRS700
Find books in library using regex search

I was wondering if one of our resident regex guru's might can help me...

I use the rating field to indicate read or unread books. 3 is unread and 5 is read. I am wanting to do a search and locate all series that have books marked with a 3 and a 5 in it.

I know how to do simple searches like (series:true rating:5) to find all books with a series and a rating of 5... but not how to find all books with a series that have books with a 5 and a 3 rating.

For example I want it to...:

It would find:
rating:3 Author Name - Series Name - Title
rating:3 Author Name - Series Name - Title
rating:5 Author Name - Series Name - Title
rating:5 Author Name - Series Name - Title

It would not find:
rating:5 Author Name - Series Name - Title
rating:5 Author Name - Series Name - Title
rating:5 Author Name - Series Name - Title

and it would not find:
rating:3 Author Name - Series Name - Title
rating:3 Author Name - Series Name - Title
rating:3 Author Name - Series Name - Title

Anyway... help anyone?
Mezme
mezme is offline   Reply With Quote
Old 10-08-2012, 02:47 AM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 6,090
Karma: 6238033
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo Touch, Kobo Glo
I think you want:

series:true ( rating:3 or rating:5)
davidfor is offline   Reply With Quote
Old 10-08-2012, 09:43 AM   #3
PeterT
Taking a break; Fed up
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 7,365
Karma: 46288753
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
@Davidfor; mezme is looking for a far more complicated search, one that I don't think can be done.

The request is for a search that will find a series that is PARTIALLY read; ie a series that contains BOTH ratings 3 AND 5.
PeterT is offline   Reply With Quote
Old 10-08-2012, 09:49 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,435
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Search operates on a per book level, therefore it is not possible to make a query about objects that are not books, like series or authors.

One thing that might help in your particular case is to sort the Tag Browser by average rating, then look at the list of series in the Tag Browser (if you enable grouping you should have a group of read searies and a group of unread series and a group of partial series).
kovidgoyal is online now   Reply With Quote
Old 10-08-2012, 08:13 PM   #5
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 6,090
Karma: 6238033
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by PeterT View Post
@Davidfor; mezme is looking for a far more complicated search, one that I don't think can be done.

The request is for a search that will find a series that is PARTIALLY read; ie a series that contains BOTH ratings 3 AND 5.
Well, yes, if you want to read ALL the words in the post and pay attention to ALL of them.

And I knew my answer was to simple.
davidfor is offline   Reply With Quote
Old 12-23-2012, 02:10 AM   #6
mezme
Enthusiast
mezme began at the beginning.
 
Posts: 44
Karma: 10
Join Date: Dec 2009
Device: PRS700
I was hoping... but

What I was looking for was a search that would do the following:
Book A Series A Rating 5
Book B Series A Rating 3
Book C Series A Rating 3

So that I could easily find series that I have read (marked with a 5) and have added a new book to but haven't yet read (marked with a 3).

I was thinking it would be too complicated for a regex search but figured it was worth asking.
mezme is offline   Reply With Quote
Old 12-23-2012, 02:29 AM   #7
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,636
Karma: 25186576
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
Probably not what you want but I use Alt+A and Alt+Shift+S a lot to get books in same series or by same author. Faster than tag browser for me.

Helen
speakingtohe is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Odyssey How to search/find books on Odyssey? slowfax Bookeen 6 12-06-2013 01:22 PM
using search/GET BOOKS can I find books I haven't got? johnwhelan Calibre 7 06-03-2012 02:53 PM
How to find, in library, books similar to one on device? capnm Library Management 1 11-23-2011 07:24 PM
Strange - Annotations disappeared, library and calibre find no books samysam Sony Reader 1 12-08-2010 06:31 AM
Regex search author field to locate books? Starson17 Calibre 2 12-21-2009 11:40 AM


All times are GMT -4. The time now is 10:56 PM.


MobileRead.com is a privately owned, operated and funded community.