RE: Outputting JSON from tika-server/meta

2014-12-19 Thread Allison, Timothy B.
All, With many thanks to Sergey, I added JSON and XMP to “/meta” and I folded in MetadataEP into MetadataResource so that users can request a specific metadata value(s). (TIKA-1497, TIKA-1499) I also added a new endpoint “/rmeta” that is equivalent to tika-app’s –J (TIKA-1498) – JSONified view

Re: Outputting JSON from tika-server/meta

2014-12-18 Thread Allison, Timothy B.
Peter, I'm waiting on feedback on TIKA-1497, but rmeta should get you what you want via TIKA-1498. Let us know if there are any surprises. Best, Tim -Original Message- From: Tim Allison (JIRA) [mailto:j...@apache.org] Sent: Thursday, December 18, 20

RE: Outputting JSON from tika-server/meta

2014-12-18 Thread Allison, Timothy B.
Doh! K, looks like we aren’t loading that in TikaServerCLI. Does anyone know how we’re using MetadataEP? From: Peter Bowyer [mailto:pe...@mapledesign.co.uk] Sent: Thursday, December 18, 2014 10:57 AM To: user@tika.apache.org Subject: Re: Outputting JSON from tika-server/meta On 18 December

RE: Outputting JSON from tika-server/meta

2014-12-18 Thread Allison, Timothy B.
: Thursday, December 18, 2014 10:53 AM To: user@tika.apache.org Subject: Re: Outputting JSON from tika-server/meta If the API is being modified, could we add an endpoint which will return a combined JSON output, like: { "meta" : { ... }, "content" : { "string of content

Re: Outputting JSON from tika-server/meta

2014-12-18 Thread Peter Bowyer
On 18 December 2014 at 15:20, Allison, Timothy B. wrote: > > Do you have any luck if you call /metadata instead of /meta? > I have no luck with that: Dec 18, 2014 3:55:21 PM org.apache.cxf.jaxrs.utils.JAXRSUtils findTargetMethod WARNING: No operation matching request path "/metadata" is found, R

Re: Outputting JSON from tika-server/meta

2014-12-18 Thread Peter Bowyer
ense) > > > Chris Mattmann > chris.mattm...@gmail.com > > > > > -Original Message- > From: "Allison, Timothy B." > Reply-To: > Date: Thursday, December 18, 2014 at 7:20 AM > To: "user@tika.apache.org" > Su

Re: Outputting JSON from tika-server/meta

2014-12-18 Thread Chris Mattmann
Reply-To: Date: Thursday, December 18, 2014 at 7:20 AM To: "user@tika.apache.org" Subject: RE: Outputting JSON from tika-server/meta >Do you have any luck if you call /metadata instead of /meta? > >That should trigger MetadataEP which will return Json, no? > >I'm no

RE: Outputting JSON from tika-server/meta

2014-12-18 Thread Allison, Timothy B.
9:56 AM To: user@tika.apache.org Subject: Re: Outputting JSON from tika-server/meta Hi Peter Thanks, you are too nice, it is a minor bug :-) Cheers, Sergey On 18/12/14 14:50, Peter Bowyer wrote: > Thanks Sergey, I have opened TIKA-1497 for this enhancement. > > Best wishes, > Peter &

Re: Outputting JSON from tika-server/meta

2014-12-18 Thread Sergey Beryozkin
Hi Peter Thanks, you are too nice, it is a minor bug :-) Cheers, Sergey On 18/12/14 14:50, Peter Bowyer wrote: Thanks Sergey, I have opened TIKA-1497 for this enhancement. Best wishes, Peter On 18 December 2014 at 14:31, Sergey Beryozkin mailto:sberyoz...@gmail.com>> wrote: Hi, I see M

Re: Outputting JSON from tika-server/meta

2014-12-18 Thread Peter Bowyer
Thanks Sergey, I have opened TIKA-1497 for this enhancement. Best wishes, Peter On 18 December 2014 at 14:31, Sergey Beryozkin wrote: > > Hi, > I see MetadataResource returning StreamingOutput and it has > @Produces(text/csv) only. As such this MBW has no effect at the moment. > > We can update

Re: Outputting JSON from tika-server/meta

2014-12-18 Thread Sergey Beryozkin
Hi, I see MetadataResource returning StreamingOutput and it has @Produces(text/csv) only. As such this MBW has no effect at the moment. We can update MetadataResource to return Metadata directly if application/json is requested or update MetadataResource to directly convert Metadata to JSON i