VL, Solr (not Lucene, but you can embed Solr) has JsonUpdateRequestHandler, which lets you send docs to Solr for indexing in JSON (instead of the usual XML): http://search-lucene.com/c/Solr:/src/java/org/apache/solr/handler/JsonUpdateRequestHandler.java
And you can get Solr to respond with JSON, as you pointed out: http://wiki.apache.org/solr/SolJSON Otis ---- Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ ----- Original Message ---- > From: Visual Logic <[email protected]> > To: [email protected] > Sent: Sun, May 30, 2010 1:33:19 PM > Subject: Using JSON for index input and search output > > Lucene, JSON is the format used for all the configuration and property > files in the RIA application we are developing. Is Lucene able to create a > document from a given JSON file and index it? Is Lucene able to provide a > JSON > output response from a query made to an index? Does the Tika package provide > this? Local indexing and searching is needed on the local client so Solr > is not a solution even though it does provide a search response in JSON > format. VL --------------------------------------------------------------------- To > unsubscribe, e-mail: > href="mailto:[email protected]">[email protected] For > additional commands, e-mail: > ymailto="mailto:[email protected]" > href="mailto:[email protected]">[email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
