Repository Service configuration

Hi,

I'm currently migrating from a 5.3.2 version - that I didn't installed - to 5.5 In the current version I got a default-repository-config and I'm trying to undertand why we preivously override this file.

One question :

  1. the factory provided is different from the default one shipped. Which one must be chosen and for which usecase ?

Thanks a lot!

File from the previous installation :

<?xml version="1.0"?>
<component name="default-repository-config">
  <extension target="org.nuxeo.ecm.core.repository.RepositoryService"
    point="repository">
    <repository name="default"
      factory="org.nuxeo.ecm.core.storage.sql.coremodel.SQLRepositoryFactory">
      <repository name="default">
        <schema>
          <field type="largetext">note</field>
          <field type="largetext">webp:content</field>
          <field type="largetext">webc:welcomeText</field>
        </schema>
        <indexing>
          <queryMaker class="org.nuxeo.ecm.core.storage.sql.NXQLQueryMaker" />
          <queryMaker class="org.nuxeo.ecm.core.chemistry.impl.CMISQLQueryMaker" />

          <fulltext analyzer="english">
            <index name="default"></index>
            <index name="title">
              <field>dc:title</field>
            </index>
            <index name="description">
              <field>dc:description</field>
            </index>
          </fulltext>
        </indexing>
      </repository>
</repository>
 </extension>
</component>
0 votes

0 answers

870 views

ANSWER