Hello, Because i will not stay working with the actual entreprise. then no one know how to change it manually if they need to add new fields in the futur. so i need to do this with java code, can you please help me with an exemple to complete this:
>public static void addNewField(Boolean uniqueId,String type, Boolean > indexed,Boolean stored,Boolean multivalued,Boolean > sortmissinglast,Boolean required){ > > ......................................... > ......................................... > } thanks, Best regards, Anass BENJELLOUN 2014-06-18 18:21 GMT+02:00 Walter Underwood [via Lucene] < ml-node+s472066n4142571...@n3.nabble.com>: > Why can't you change schema.xml? --wunder > > On Jun 18, 2014, at 8:56 AM, benjelloun <[hidden email] > <http://user/SendEmail.jtp?type=node&node=4142571&i=0>> wrote: > > > Hello, > > > > this is what i want to do: > > > > public static void addNewField(Boolean uniqueId,String type, Boolean > > indexed,Boolean stored,Boolean multivalued,Boolean > > sortmissinglast,Boolean required){ > > > > ......................................... > > ......................................... > > } > > > > any exemple please, > > thanks, > > Best regards, > > Anass BENJELLOUN > > > > > > > > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://lucene.472066.n3.nabble.com/add-new-Fields-with-SolrJ-without-changing-schema-xml-tp4142515p4142571.html > To unsubscribe from add new Fields with SolrJ without changing > schema.xml, click here > <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4142515&code=YW5hc3MuYm5qQGdtYWlsLmNvbXw0MTQyNTE1fC0xMDQyNjMzMDgx> > . > NAML > <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://lucene.472066.n3.nabble.com/add-new-Fields-with-SolrJ-without-changing-schema-xml-tp4142515p4142769.html Sent from the Solr - User mailing list archive at Nabble.com.