1.7.1.0-BEAN Predeployment config

QA and PRODUCTION

1. To be done on db slave

- Update SOLR config file schema.yml. Replace the XML tag <fieldType name=“text” class=“solr.TextField” omitNorms=“false”> with the tag below. (around line no. 62)

          <fieldType name="text" class="solr.TextField" omitNorms="false">
          <analyzer type="index">
                <tokenizer class="solr.StandardTokenizerFactory"/>
                <filter class="solr.StandardFilterFactory"/>
                <filter class="solr.LowerCaseFilterFactory"/>
                <filter class="solr.EdgeNGramFilterFactory" minGramSize="1" maxGramSize="15" side="front"/>
          </analyzer>
          <analyzer type="query">
                <tokenizer class="solr.StandardTokenizerFactory"/>
                <filter class="solr.StandardFilterFactory"/>
                <filter class="solr.LowerCaseFilterFactory"/>
          </analyzer>
        </fieldType>

2. To be done on both app servers -

a) Copy the videos on issue 6224 to /deploy/crossbow/shared/intro_course_contents

b) Make sure that the file names are same as the mentioned names in the file - https://repos.exphosted.com/svnrepos/crossbow/trunk/config/intro_contents.yml

c) Add this line to the symlinks tasks in /home/expprodl/crossbow/deploy.rb file run “ln -nfs #{shared_path}/config/intro_contents.yml #{release_path}/config/intro_contents.yml”