olean
> >> > indexed,Boolean stored,Boolean multivalued,Boolean
> >> > sortmissinglast,Boolean required){
> >> >
> >> > .............
> >> > .....
> >> >
gt;> > 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
> sche
Why can't you change schema.xml? --wunder
On Jun 18, 2014, at 8:56 AM, benjelloun 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 re
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){
.
.
Hello,
i'm using this configuration on solrconfig.xml:
true
managed-schema
Can you please give me an exemple on SolrJ for adding a new field.
thanks,
best regards,
Anass BENJELLOUN
--
View this message in context:
http://lucene.472066.n3.nabble.com/add-new-Fields-w
bq: I need to add new Fields with SolrJ without changing schema.xml
You have three options:
1> change the schema.xml file. but you say you can't. Why not?
2> use dynamic fields. If you're lucky, you have the stock schema.xml
and can use them. They'll require some suffix
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&qu