lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Using JSON for index input and search output
Date Tue, 01 Jun 2010 02:35:52 GMT
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.logic@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-unsubscribe@lucene.apache.org">java-user-unsubscribe@lucene.apache.org
For 
> additional commands, e-mail: 
> ymailto="mailto:java-user-help@lucene.apache.org" 
> href="mailto:java-user-help@lucene.apache.org">java-user-help@lucene.apache.org

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


Mime
View raw message