Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-28-2013, 07:21 AM   #16
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@chaley - what is the source of the data in the tree?

BR
BetterRed is online now   Reply With Quote
Old 09-28-2013, 09:33 AM   #17
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
@chaley - what is the source of the data in the tree?

BR
The query expression, possibly composed with the restriction expression(s). It uses a recursive descent parser. Saved searches are expanded when encountered.

The grammar is very simple.
Code:
prog ::= or_expression
or_expression ::= and_expression [ 'or' or_expression ]
and_expression ::= not_expression [ [ 'and' ] and_expression ]
not_expression ::= [ 'not' ] location_expression
location_expression ::= base_token | ( '(' or_expression ')' )
base_token ::= a sequence of letters and colons, perhaps quoted
The base_token node is actually more complex than the grammar would indicate. The parser separates out the column name and deals with quotes.

However, you might be asking about the source of the data for the books. That is, of course, the database, but by the time search sees the data, it has been flattened into a single table representation, one row per book, every field in its own column even if that field contains multiple values. Only the very bottom layers of calibre know anything about the database and its underlying table structure.
chaley is offline   Reply With Quote
Old 09-28-2013, 11:56 AM   #18
MelBr
Zealot
MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.
 
Posts: 105
Karma: 414068
Join Date: Feb 2013
Device: iPad Pro, Kobo Aura One
Good discussion guys! I see there's a lot of things to think about!

Here's one other example of current Calibre's search problems. I encountered this issue few days ago and I had no idea what was wrong until I spent few minutes investigating.

Say your title (or whatever filed you wish… description filed with rich text is usually the culprit here) uses a proper curly quote, ’ , and not ' as an apostrophe…. as in: "Calibre’s Search". And say you want to search for it and you type "calibre's search" (regular apostrophe). If you followed discussion so far, you're realize that Calibre won't show you the book. But what do you think will happen when you copy paste the exact text string into the search field: "Calibre’s Search"? Will Calibre find it? What do you think? No cheating

This why it's important to strip all these characters out. Someone who's not aware of these issues will never figure out why they can't find anything. When importing books in to Calibre, it shouldn’t feel like I'm putting things into a black hole .

Last edited by MelBr; 09-28-2013 at 12:00 PM.
MelBr is offline   Reply With Quote
Old 09-28-2013, 08:03 PM   #19
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@MelBR - you can read about the folks working on the apostrophe problem here

If you strip out the apostrophes ( ’ ) and quotes ( ' ) when they're used to indicate possession then you should probably remove any following ess ( s ). That leaves one with the problem of what to do about them when they’re used within a contraction. Then there's chaley's point of having to deal with 100's [but you wouldn't remove that ( s )] of languages on several operating systems in different versions and guises.

If you're the NSA there's no such thing as a black hole

@chaley - as you surmised I was thinking of the metadata database. If none of its columns contains the value I'm looking for then no amount of 'smarts' within calibre's search facility will find it. Or if a column erroneously contains what I'm looking for, then search will unfortunately find it. In both cases I end up with the wrong result.

But that said, I don't have any complaints about calibre's search. My expectations of it are limited, I mainly use it for administrative searches, eg 'find' books that don't have an RTF or a DOCX or a PDF. Otherwise I use one of several external full text search tools, sometimes from there I'll create a CSV to read into Import List to create a Reading List.

BR

Last edited by BetterRed; 09-28-2013 at 11:05 PM.
BetterRed is online now   Reply With Quote
Old 09-29-2013, 11:05 AM   #20
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,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
I often use the tag browser find to search for the author. Very fast usually even with partial names.
speakingtohe is offline   Reply With Quote
Old 09-29-2013, 03:48 PM   #21
MelBr
Zealot
MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.MelBr ought to be getting tired of karma fortunes by now.
 
Posts: 105
Karma: 414068
Join Date: Feb 2013
Device: iPad Pro, Kobo Aura One
Quote:
Originally Posted by BetterRed View Post
If you strip out the apostrophes ( ’ ) and quotes ( ' ) when they're used to indicate possession then you should probably remove any following ess ( s ). That leaves one with the problem of what to do about them when they’re used within a contraction. Then there's chaley's point of having to deal with 100's [but you wouldn't remove that ( s )] of languages on several operating systems in different versions and guises.

If you're the NSA there's no such thing as a black hole
And yet if you leave it the way it is now, you can't even search for the exact string inside of Calibre. Even if you copy paste a string containing some chars, Calibre will return nothing.

Quote:
Originally Posted by speakingtohe View Post
I often use the tag browser find to search for the author. Very fast usually even with partial names.
That might be fine for fiction or small libraries but it's unrealistic for non-fiction and large libraries. Not to mention that it's not user-friendly.
MelBr is offline   Reply With Quote
Old 09-29-2013, 06:29 PM   #22
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by MelBr View Post
And yet if you leave it the way it is now, you can't even search for the exact string inside of Calibre. Even if you copy paste a string containing some chars, Calibre will return nothing.
That's more or less why I limit my use of calibre to do administrative searches, and use external tools to do informational searches.

Quote:
Originally Posted by MelBr View Post
That might be fine for fiction or small libraries but it's unrealistic for non-fiction and large libraries. Not to mention that it's not user-friendly.
I suggest calibre's primary target audience is people who read books from cover to cover - most of which is fiction and biographies. IMO if you use calibre on an ebook reference library you have to recognise the limitations that brings with it, one of which is limited informational searching.

And its not entirely useless in that regard. If I want to find a article that I think Stiglitz wrote on the IMF blog, then I type 'stiglitz' in the calibre search bar, sort on Publisher and look at the Titles**. But if I want to find what I have by Stiglitz where he's had something to say about CoCo Bonds then I will use Windows Search or Recoll.

BR

** if you're wondering why I wouldn't just go the IMF blog, well just because something was there yesterday doesn't mean it'll be there next week.
BetterRed is online now   Reply With Quote
Old 09-30-2013, 07:54 AM   #23
Sefiriot
Bujavid tekikin
Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.Sefiriot writes the songs that make the whole world sing.
 
Sefiriot's Avatar
 
Posts: 139
Karma: 40366
Join Date: Aug 2013
Location: Malaysia
Device: LG G3 D855, Samsung Galaxy Note N7000
Quote:
Originally Posted by BetterRed View Post
That's more or less why I limit my use of calibre to do administrative searches, and use external tools to do informational searches.


I suggest calibre's primary target audience is people who read books from cover to cover - most of which is fiction and biographies. IMO if you use calibre on an ebook reference library you have to recognise the limitations that brings with it, one of which is limited informational searching.

And its not entirely useless in that regard. If I want to find a article that I think Stiglitz wrote on the IMF blog, then I type 'stiglitz' in the calibre search bar, sort on Publisher and look at the Titles**. But if I want to find what I have by Stiglitz where he's had something to say about CoCo Bonds then I will use Windows Search or Recoll.

BR

** if you're wondering why I wouldn't just go the IMF blog, well just because something was there yesterday doesn't mean it'll be there next week.
And even the CoCo Bonds could probably be searchable, assuming you're extremely diligent about your metadata entry and policing your tags with each new addition. A quick skim or search on the text for keywords you deem important and you could use those to tag and search through Calibre.
Sefiriot is offline   Reply With Quote
Old 09-30-2013, 09:30 PM   #24
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Sefiriot View Post
assuming you're extremely diligent about your metadata entry and policing your tags with each new addition. A quick skim or search on the text for keywords
You assume that what I deem to be unworthy of tagging today will remain so forever. When you're dealing with current events in finance and economics it ain't so. I never imagined in the mid nineties that credit default swaps which had just been devised (divined, confected) at JP Morgan, would become a hot topic when the Greek sovereign debt issue blew up 15 years later. If I had that level of prescience I'd be running JP Morgan

Full Text indexers although mechanistic don't make value judgements, they skim read fast and they tag 'everything'. Even the ones on desktop systems are 'smarter' and 'faster' than I will ever be. But they do the 'easy bit' the 'hard bit' is knowing how to search and more importantly how to 'join the dots'.

br
BetterRed is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Find books lacking a specific format jt421 Calibre 2 06-23-2011 07:05 AM
Classic Web browser sorely lacking skorpyo Barnes & Noble NOOK 0 12-30-2010 09:39 PM
iPad iBook store content is lacking mjhudston Apple Devices 3 07-25-2010 08:28 PM
Can't install Calibre, lacking SysAdmin priviliges, older version instead? ZenEngineer Calibre 3 12-17-2009 12:57 AM
(Resolved) I'm pretty angry right now... Calibre or Sony Library MESSED UP MY PC!!! ProDigit Calibre 26 11-29-2008 05:30 PM


All times are GMT -4. The time now is 06:18 AM.


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