Open Photography Forums  
HOME FORUMS NEWS FAQ SEARCH

Go Back   Open Photography Forums > Digital Darkroom > Digital Asset Management: access & storage of image files.

Reply
 
Thread Tools Display Modes
  #1  
Old July 22nd, 2007, 05:54 AM
KrisCarnmarker KrisCarnmarker is offline
Member
 
Join Date: May 2006
Location: Spain
Posts: 240
Default New tool for searching for keywords in Lightroom

For those of us who have a lot of keywords in LR, the lack of searching capabilities is a problem. I use the The Controlled Vocabulary Keyword Catalog, which consists of 11000 keywords. As you can imagine, finding and navigating to the right keyword is tedious.

So, I wrote this little tool to help me out. It reads the keywords (Keyword Tags in LR speak) straight from the the LR catalog and allows me to search and navigate the hierarchy. Once I find the right keyword, I can "Copy" the keyword to the clipboard. This copies a text representation of the keyword which can by used the LR painter tool.

The tool only reads from the catalog; you cannot edit the keywords. If you decide to use this, I would suggest you point it to a copy of your Lightroom Catalog, at least until you feel confident that it is not destroying anything and not writing anything to the catalog.

Anyway, I decided to make it available to my fellow OPFers.

It requires Java 5 or later. It is not 100% pure Java, because the 100% pure Java database driver for the LR database (SQLite) is just too slow. Instead, I use the native interface drivers. Included in the Zip file are native libraries for Windows and OSX. Please see the readme file for details.

It can be downloaded from here.

And here's a screen shot.




Needless to say, this comes with no warranties, support, responsibilities, etc. Use AS-IS!

Comments are welcome!

Last edited by Asher Kelman; October 9th, 2009 at 08:58 PM.
Reply With Quote
  #2  
Old February 13th, 2008, 10:44 PM
John Buxton John Buxton is offline
New Member
 
Join Date: Feb 2008
Location: Sydney, NSW, Australia
Posts: 9
Default

G'day Kris,

I gave this a try on my database, it threw an error. Perhaps I have too many keywords as I have added to the Controlled Vocabulary Keyword Catalog.

Here is the the log, it may help


[2008-02-14 17:37:53,640] INFO com.carnmarker.kris.db.KeywordsLoader Opening database P:\Lightroom\Lightroom Catalog.lrcat
[2008-02-14 17:37:53,656] INFO com.carnmarker.kris.db.KeywordsLoader Loading all keywords
[2008-02-14 17:37:53,859] ERROR com.carnmarker.kris.db.KeywordsLoader Error loading keywords
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at com.carnmarker.kris.db.RowData$Params.parseParams( RowData.java:146)
at com.carnmarker.kris.db.RowData$Params.<init>(RowDa ta.java:109)
at com.carnmarker.kris.db.RowData$Params.<init>(RowDa ta.java:77)
at com.carnmarker.kris.db.RowData.<init>(RowData.java :28)
at com.carnmarker.kris.db.RowdataParser.parse(Rowdata Parser.java:99)
at com.carnmarker.kris.db.KeywordsLoader.loadKeywords (KeywordsLoader.java:68)
at com.carnmarker.kris.LRKeywordFinder.loadCatalog(LR KeywordFinder.java:135)
at com.carnmarker.kris.LRKeywordFinder.start(LRKeywor dFinder.java:104)
at com.carnmarker.kris.LRKeywordFinder.main(LRKeyword Finder.java:98)
[2008-02-14 17:37:53,859] INFO com.carnmarker.kris.db.KeywordsLoader Closing database
[2008-02-14 17:37:53,859] INFO com.carnmarker.kris.db.KeywordsLoader Closed database
[2008-02-14 17:37:53,859] ERROR com.carnmarker.kris.LRKeywordFinder Could not load catalog P:\Lightroom\Lightroom Catalog.lrcat
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at com.carnmarker.kris.db.RowData$Params.parseParams( RowData.java:146)
at com.carnmarker.kris.db.RowData$Params.<init>(RowDa ta.java:109)
at com.carnmarker.kris.db.RowData$Params.<init>(RowDa ta.java:77)
at com.carnmarker.kris.db.RowData.<init>(RowData.java :28)
at com.carnmarker.kris.db.RowdataParser.parse(Rowdata Parser.java:99)
at com.carnmarker.kris.db.KeywordsLoader.loadKeywords (KeywordsLoader.java:68)
at com.carnmarker.kris.LRKeywordFinder.loadCatalog(LR KeywordFinder.java:135)
at com.carnmarker.kris.LRKeywordFinder.start(LRKeywor dFinder.java:104)
at com.carnmarker.kris.LRKeywordFinder.main(LRKeyword Finder.java:98)

John
Reply With Quote
  #3  
Old March 18th, 2008, 04:14 PM
John Buxton John Buxton is offline
New Member
 
Join Date: Feb 2008
Location: Sydney, NSW, Australia
Posts: 9
Default

The update Kris sent me is working. This saves reading a long text file.
Reply With Quote
  #4  
Old March 18th, 2008, 06:03 PM
Asher Kelman Asher Kelman is online now
OPF Owner/Editor-in-Chief
 
Join Date: Apr 2006
Posts: 34,331
Default

This is important for LR. How do other DAM software such as iviewmeida Pro tackle this?

Asher
__________________
Follow us on Twitter at @opfweb

Our purpose is getting to an impressive photograph. So we encourage browsing and then feedback. Consider a link to your galleries annotated, C&C welcomed. Images posted within OPF are assumed to be for Comment & Critique, unless otherwise designated.
Reply With Quote
  #5  
Old January 13th, 2009, 04:18 AM
John Buxton John Buxton is offline
New Member
 
Join Date: Feb 2008
Location: Sydney, NSW, Australia
Posts: 9
Default

Has development on this tool stopped? There hasn't been mention of a LR2 version.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:11 AM.


Posting images or text grants license to OPF, yet of such remain with its creator. Still, all assembled discussion 2006-2017 Asher Kelman (all rights reserved) Posts with new theme or unusual image might be moved/copied to a new thread!