Re: Indexing an XML file in Apache Solr

2013-08-19 Thread Michael Sokolov
Abhiroop, I'm cc-ing the lux mailing list since this thread might not be of interest to all of solr-user; I'd suggest following up on that list. But to answer your actual question: see the documentation here http://luxdb.org/REST-API.html#LuxUpdateProcessor where it explains what to do. Basic

Re: Indexing an XML file in Apache Solr

2013-08-19 Thread Abhiroop
Funnily just today itself I was looking at Lux for searching through my xml file. Now what I have inferred is that I need to format my xml to fit the format of Solr. Now do I have to manually code it or do i have some kind of parser on which the xml if fed is formatted to the Solr version? I couldn

Re: Indexing an XML file in Apache Solr

2013-08-18 Thread Michael Sokolov
You might be interested in trying Lux, which is a Solr extension that indexes XML documents using the element and attribute names and the contents of those nodes in your document. It also allows you to define XPath indexes (like DIH, I think, but with the full XPath 2.0 syntax), and to query y

Re: Indexing an XML file in Apache Solr

2013-08-16 Thread Chris Hostetter
: I am very new to Solr. I am looking to index an xml file and search its : contents. Its structure resembles something like this ... : Is it essential to use the DIH to import this data into Solr? Isn't there : any simpler way to accomplish the task? Can it be done through SolrJ as I am I

Re: Indexing an XML file in Apache Solr

2013-08-16 Thread tamanjit.bin...@yahoo.co.in
DIH is not at all necessary and yes, SolrJ can be used to add data, the XML bit am not too sure though. Try: http://wiki.apache.org/solr/UpdateXmlMessages and http://wiki.apache.org/solr/Solrj -- View this m