You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Thomas Nguyen <th...@ign.com> on 2009/10/27 21:58:57 UTC

Response XML Deserializing

Hello,

 

Is there a solution packaged in SOLR that deserializes XML response
documents into Lucene documents?  


Re: Response XML Deserializing

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
Hi Thomas,

If you check out SOLR-1516, I developed a custom response writer that simplifies this process. You basically have to implement an #emitDoc or an #emitDocList function in which you are handed the resultant o.a.l.Document List or o.a.l.Document object (on a per Document basis) and you can choose how you format those result as output in a SOLR response.

http://issues.apache.org/jira/browse/SOLR-1516

HTH,
Chris



On 10/27/09 1:58 PM, "Thomas Nguyen" <th...@ign.com> wrote:

Hello,



Is there a solution packaged in SOLR that deserializes XML response
documents into Lucene documents?



++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: Chris.Mattmann@jpl.nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++