View Single Post
Old 08-06-2014, 02:35 PM   #15
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
ABC Is Used From The Tag Browser

Quote:
Originally Posted by nynaevelan View Post
I've been trying to give this a whirl and it works as intended however now that I have results I am not able to perform any numeric searches on the column. For example if I use #author_book_count:5, I of course get results with all that have a 5 in the column. If I try to search #author_book_count:>=5, I get nothing. Is there some change I have to make in Calibre in order for this to allow me to search based on numbers?? Does this make sense to you?

ABC was designed to be used from the Tag Browser, not through searching. The column should be hidden as stated in the instructions, and the type of column should be as shown in the example in the instructions. ABC actually is not an integer; it is text. That is why the instructions indicate the need to change the Tweaks within Preferences to sort text as numeric so it sorts properly.

If you click in the Tag Browser for "ABC [nnnn] 5", the Calibre-built search criterion in the search bar becomes #author_book_count:"=5". For more complex operators, you need Regular Expressions, see http://drmfree.calibre-ebook.com/search for the Calibre requirement for syntax when using REs within Calibre, and then http://www.zytrax.com/tech/web/regex.htm for a tutorial on REs.

The very fast and easy way to get your results is not through searching, but by CNTL + double-clicking each of the ABC subgroups in the Tag Browser from 1 through 4 so they have a red minus sign. The search bar will automatically be populated with "not #author_book_count:"=1" and not #author_book_count:"=2" and not #author_book_count:"=3" and not #author_book_count:"=4" and not #author_book_count:"=5"". (Be sure your Search Type option is set to "all of the items", and not "any of the items"). You can then save the search, or press CTL+* to create a Virtual Library.

Regular Expressions can also become a Saved Search. Again, REs are explained at http://www.zytrax.com/tech/web/regex.htm
DaltonST is offline   Reply With Quote