Re: Adding field to solr dynamically

2013-10-15 Thread Mysurf Mail
Thanks.


On Sun, Oct 13, 2013 at 4:18 PM, Jack Krupansky j...@basetechnology.comwrote:

 Either simply use a dynamic field, or use the Schema API to add a static
 field:
 https://cwiki.apache.org/**confluence/display/solr/**Schema+APIhttps://cwiki.apache.org/confluence/display/solr/Schema+API

 Dynamic fields (your nominal field name plus a suffix that specifies the
 type and muliplicity - as detailed in the Solr example schema) may be good
 enough, depending on the rest of your requirements.

 -- Jack Krupansky

 -Original Message- From: Mysurf Mail
 Sent: Sunday, October 13, 2013 5:32 AM
 To: solr-user@lucene.apache.org
 Subject: Adding field to solr dynamically


 My database model is designed using dynamic attributes (Entity Attribute
 Value model). For the db I have a service that adds a new attribute. But
 everytime a new attributes is added I need to add it to the schema.xml

 Is there a possibile way to add a field to solr schama.xml dynamically?



Adding field to solr dynamically

2013-10-13 Thread Mysurf Mail
My database model is designed using dynamic attributes (Entity Attribute
Value model). For the db I have a service that adds a new attribute. But
everytime a new attributes is added I need to add it to the schema.xml

Is there a possibile way to add a field to solr schama.xml dynamically?


Re: Adding field to solr dynamically

2013-10-13 Thread Jack Krupansky
Either simply use a dynamic field, or use the Schema API to add a static 
field:

https://cwiki.apache.org/confluence/display/solr/Schema+API

Dynamic fields (your nominal field name plus a suffix that specifies the 
type and muliplicity - as detailed in the Solr example schema) may be good 
enough, depending on the rest of your requirements.


-- Jack Krupansky

-Original Message- 
From: Mysurf Mail

Sent: Sunday, October 13, 2013 5:32 AM
To: solr-user@lucene.apache.org
Subject: Adding field to solr dynamically

My database model is designed using dynamic attributes (Entity Attribute
Value model). For the db I have a service that adds a new attribute. But
everytime a new attributes is added I need to add it to the schema.xml

Is there a possibile way to add a field to solr schama.xml dynamically?