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 <visual.lo...@gmail.com>
> To: java-user@lucene.apache.org
> 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:java-user-unsubscr...@lucene.apache.org";>java-user-unsubscr...@lucene.apache.org
For 
> additional commands, e-mail: 
> ymailto="mailto:java-user-h...@lucene.apache.org"; 
> href="mailto:java-user-h...@lucene.apache.org";>java-user-h...@lucene.apache.org

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

Reply via email to