:      Now I am using  five fields in solr's schema.xml.If I want to add one
: more field dynamically,what should I do?For index and search in solr server
: I used php client.In php code how I declare the dynamic field.

all fields need to be decalred in your schema.xml -- but they can be 
declared as <dynamicFields> in which case you only have to specify a 
prefix or a suffix, then lal you have to do to create a new field is to 
give it one of those prefixes or suffixes and add a doc that contains a 
value for that field.

the example/solr/schema.xml and example/exampledocs demonstrate this.



-Hoss

Reply via email to