JSON parser/utility

2013-03-18 Thread Shai Erera
Hi

Do we have in Lucene (or Solr) a JSON parser? If not, is there a preferred
open source? Think if we had in Lucene a module that depends on JSON, which
of the various tools out there you think would make sense to be included
with Lucene.

Shai


Re: JSON parser/utility

2013-03-18 Thread Erik Hatcher
Solr uses Noggit http://svn.apache.org/repos/asf/labs/noggit/.  It's inlined 
in Solr's source code, for some reason 
https://svn.apache.org/repos/asf/lucene/dev/trunk/solr/solrj/src/java/org/apache/noggit/

Erik


On Mar 18, 2013, at 06:58 , Shai Erera wrote:

 Hi
 
 Do we have in Lucene (or Solr) a JSON parser? If not, is there a preferred 
 open source? Think if we had in Lucene a module that depends on JSON, which 
 of the various tools out there you think would make sense to be included with 
 Lucene.
 
 Shai


-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



Re: JSON parser/utility

2013-03-18 Thread Mark Miller

On Mar 18, 2013, at 10:05 AM, Erik Hatcher erik.hatc...@gmail.com wrote:

 for some reason 

Probably ivy/maven stuff if I remember right. I think Yonik had it downloading 
from GitHub for a while but then they dropped their downloads feature.

- Mark


-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



Re: JSON parser/utility

2013-03-18 Thread Robert Muir
Its in maven now: lets use that one so it can be used elsewhere and so
we dont have our own fork.

http://search.maven.org/#search|ga|1|a%3A%22noggit%22

On Mon, Mar 18, 2013 at 10:34 AM, Mark Miller markrmil...@gmail.com wrote:

 On Mar 18, 2013, at 10:05 AM, Erik Hatcher erik.hatc...@gmail.com wrote:

 for some reason

 Probably ivy/maven stuff if I remember right. I think Yonik had it 
 downloading from GitHub for a while but then they dropped their downloads 
 feature.

 - Mark


 -
 To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
 For additional commands, e-mail: dev-h...@lucene.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



Re: JSON parser/utility

2013-03-18 Thread Shai Erera
Yes, at least according to this thread, Solr seems to have it because of
build issues:
http://mail-archives.apache.org/mod_mbox/labs-labs/201203.mbox/%3CCAAqLGLPtyMQ0-xNHsS=iFctix=ixjvefhyqaxgsq_qht9vn...@mail.gmail.com%3E

I read that Jackson is pretty fast and handles JSON streaming well. It also
seems to be very popular. But Jackson is dual-licensed (GPL and Apache
2.0), anyone knows if that could cause us issues?

What's Solr's experience with Noggit? Is it fast? Fast enough? Convenient
to work with?

Shai


On Mon, Mar 18, 2013 at 4:34 PM, Mark Miller markrmil...@gmail.com wrote:


 On Mar 18, 2013, at 10:05 AM, Erik Hatcher erik.hatc...@gmail.com wrote:

  for some reason

 Probably ivy/maven stuff if I remember right. I think Yonik had it
 downloading from GitHub for a while but then they dropped their downloads
 feature.

 - Mark


 -
 To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
 For additional commands, e-mail: dev-h...@lucene.apache.org




RE: JSON parser/utility

2013-03-18 Thread Uwe Schindler
It was done because of the heated discussion with JAR files (sometimes also 
patched!) in src.tgz that lead to the change to IVY as build tool. Because 
Yonik never released noggit officially, and a separate release with the same 
official packagename was against common Maven Behaviour, the source code was 
duplicated under a solr-specific package name (like Java does when it bundles 
foreign libraries like XML parsers into rt.jar). This reaches back to Lucene 
3.5/3.6.

Uwe

-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de


 -Original Message-
 From: Mark Miller [mailto:markrmil...@gmail.com]
 Sent: Monday, March 18, 2013 3:34 PM
 To: dev@lucene.apache.org
 Subject: Re: JSON parser/utility
 
 
 On Mar 18, 2013, at 10:05 AM, Erik Hatcher erik.hatc...@gmail.com wrote:
 
  for some reason
 
 Probably ivy/maven stuff if I remember right. I think Yonik had it
 downloading from GitHub for a while but then they dropped their downloads
 feature.
 
 - Mark
 
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional
 commands, e-mail: dev-h...@lucene.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org