Re: Using EmbeddedSolrServer with static documents

2011-04-04 Thread vinodreddyr17
You can unmarshall the xml docs using jaxb and use the pojo adding capabilities of solr to index the doc. You may need to create the classes from the schema using xjc tool. -- View this message in context: http://lucene.472066.n3.nabble.com/Using-EmbeddedSolrServer-with-static-documents

Re: Using EmbeddedSolrServer with static documents

2011-04-03 Thread Erick Erickson
well-formed XML documents of a specific format." > > I would like to index all kinds of documents. For a start I'll be happy to > be able to work with xml and html documents. > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Using-Embed

Re: Using EmbeddedSolrServer with static documents

2011-04-03 Thread michael.i
-- View this message in context: http://lucene.472066.n3.nabble.com/Using-EmbeddedSolrServer-with-static-documents-tp2767614p2773012.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Using EmbeddedSolrServer with static documents

2011-04-03 Thread Erick Erickson
nt doc = new SolrInputDocument("path/myDoc.txt"); > solrServer.add(doc); > solrServer.commit(); > > It does not seem possible to do such thing. Am I missing something? Are > there some best practices with regards to referring to a document on the > filesystem? >

Using EmbeddedSolrServer with static documents

2011-04-02 Thread michael.i
l. -- View this message in context: http://lucene.472066.n3.nabble.com/Using-EmbeddedSolrServer-with-static-documents-tp2767614p2767614.html Sent from the Solr - User mailing list archive at Nabble.com.