: Yes, refactoring the various example schema.xml's is what i have been 
: doing up to now. The end results is usually quite verbose with a lot of 
: redundancy. What is the most compact possible schema.xml?

>From my Solr OOTB Talk...
http://people.apache.org/~hossman/apachecon2011/

<schema name="minimal" version="1.1">
  <types>
    <fieldType name="string" class="solr.StrField"/>
  </types>
  <fields>
    <dynamicField name="*"       type="string"
                  indexed="true" stored="true" />
  </fields>
  <!-- A good idea, but not strictly neccessary
    <uniqueKey>id</uniqueKey>
    <defaultSearchField>catchall</defaultSearchField>
  -->
</schema>


...that's the most compact possible schema.xml ... works great for 
throwing arbitrary data into solr to see what it looks like and then 
iteratively adding to your schema as you see fit.

-Hoss

Reply via email to