Hello,

I need to add new Fields with SolrJ without changing schema.xml.
this is my code java :

HttpSolrServer server = new HttpSolrServer("http://localhost:8080/solr";);
SolrInputDocument doc = new SolrInputDocument();
 doc.addField("id", id);
 doc.addField("Titre", nomdocument);

the id and Titre are already on schema.xml, but what i need to do id to add
new fields like  firstname,last name, age...

thanks for help,
Best regards,
Anass BENJELLOUN



--
View this message in context: 
http://lucene.472066.n3.nabble.com/add-new-Fields-with-SolrJ-without-changing-schema-xml-tp4142515.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to