Hi, all,
Thanks for the comment. Then I will abandon post.jar, and try to learn SolrJ
instead.
Best
Bing
--
View this message in context:
http://lucene.472066.n3.nabble.com/Indexing-content-in-XML-files-tp3702795p3705563.html
Sent from the Solr - User mailing list archive at Nabble.com.
Also, be aware that Solr does NOT index arbitrary XML,
the XML used by the simple post tool is strictly formatted
in a way Solr understands.
A third possibility for arbitrary XML is to write a SolrJ
program that parses your XML and populates
SolrInputDocuments and sends those to Solr.
Best
Erick
> 2. Use the example package coming with Solr. This only
> requires to define
> the fields in the schema, and no additional configuration
> file needed.
> \apache-solr-3.5.0\example\exampledocs>java -jar post.jar
> *.xml
Bing, please see Hoss' explanation about intended usage of post.jar
http:/
to index XML files with
many self-defined fields, probably with embedded fields, which one makes
more sense?
Thanks.
Best
Bing
--
View this message in context:
http://lucene.472066.n3.nabble.com/Indexing-content-in-XML-files-tp3702795p3702795.html
Sent from the Solr - User mailing list ar