Re: Use a field without predefining it it the schema

2014-01-30 Thread Hakim Benoudjit
Thanks, That's a good feature since I dont have to reindex the whole data, nor to restart solr app. 2014-01-30 Steve Rowe > Hakim, > > All the fields you have added manually to the schema will be kept when you > switch to using managed schema. > > From the managed schema page on the Solr Refere

Re: Use a field without predefining it it the schema

2014-01-29 Thread Steve Rowe
Hakim, All the fields you have added manually to the schema will be kept when you switch to using managed schema. From the managed schema page on the Solr Reference Guide you linked to (describing what happens after you add https://cwiki.apache.org/confluence/display/solr/Managed+Schema+Definit

Re: Use a field without predefining it it the schema

2014-01-29 Thread Steve Rowe
Hi Hakim, You don’t have to restart the Solr app to make use of fields added through the Schema REST API. This feature was first available in Solr v4.4 and remains available in Solr v4.6. Steve On Jan 29, 2014, at 7:11 PM, Hakim Benoudjit wrote: > Thanks Steve for the link. > It seems very

Re: Use a field without predefining it it the schema

2014-01-29 Thread Hakim Benoudjit
I have found this link https://cwiki.apache.org/confluence/display/solr/Managed+Schema+Definition+in+SolrConfig . I dont know if it's required to modify the schema (see the link), to make it editable by the REST API. I wish that it doesnt clear all the fields that I have added manually to the schem

Re: Use a field without predefining it it the schema

2014-01-29 Thread Hakim Benoudjit
Thanks Steve for the link. It seems very easy to create `new fields` in the `schema` using the `POST request`. But doest mean that I dont have to restart the `solr app`? Is so, is this feature available in latest solr version (`v4.6`)? 2014-01-29 Alexandre Rafalovitch > There is an example in t

Re: Use a field without predefining it it the schema

2014-01-28 Thread Alexandre Rafalovitch
There is an example in the distribution that shows how new fields are auto-defined. I think it is example-schemaless. The secret is in the UpdateRequestProcessor chain that does cleanup and auto-mapping. Plus - I guess - automatically generated schema. Just remember that once the field is added th

Re: Use a field without predefining it it the schema

2014-01-28 Thread Steve Rowe
Hi Hakim, Check out the section of the Solr Reference Guide on modifying the schema via REST API: https://cwiki.apache.org/confluence/display/solr/Schema+API#SchemaAPI-Modifytheschema Steve On Jan 28, 2014, at 5:00 PM, Hakim Benoudjit wrote: > Hi guys > > With the new version of solr (4.6),