Very helpful as ever Nick. See you later. Get the lager ready. Lewis On Tue, Feb 26, 2013 at 4:37 PM, Nick Burch <[email protected]> wrote:
> On Tue, 26 Feb 2013, Lewis John Mcgibbney wrote: > >> 1. >> In Apache Nutch we are using the Metadata class [0] as follows >> if (tikaMDName.equalsIgnoreCase(**Metadata.TITLE)) continue; >> TITLE value is deprecated and I want to upgrade API usage. >> What should I be using? >> > > I was going to say "Just check the javadocs", then I spotted > > // These properties are being moved to a new Tika core properties > definition, javadocs will be added once it's available > > :( > > You'll want to look at TikaCoreProperties. In there, you can discover that > the old Title is now an alias for new property based DublinCore.TITLE. For > now, it'll probably be simplest for you to change something like > Metadata.TITLE to TikaCoreProperties.TITLE > > You'll notice that the old one was just a string, the new one is Property > based so you can get more information on what it contains and what'll be > there. > > > 2. >> I would like to contribute to the Tika Java documentation for this as I am >> not happy with the current Java documentation for this class. >> > > TIKA-925, TIKA-928 and TIKA-930 (from a quick google) may help you > understand why we made the changes. When it makes sense, some doc > improvements for it would be amazing :) > > > Thank you very much in advance. I look forward to hearing back from anyone >> on this, I am at ApacheCon just now and will cook up a patch based on the >> feedback. Thank you. >> > > There's a Tika meetup tonight in Galleria 2: > > http://wiki.apache.org/**apachecon/ApacheMeetupsNA13<http://wiki.apache.org/apachecon/ApacheMeetupsNA13> > > Come along! > > Nick > -- *Lewis*
