Platform Explorer / Nuxeo Platform 5.6

Contribution default-repository-config--repository

This contribution is part of XML component default-repository-config inside nuxeo-runtime-5.6.jar

Extension point

Extension point repository of component RepositoryService.

Contributed items

  • <repository factory="org.nuxeo.ecm.core.storage.sql.ra.PoolingRepositoryFactory" name="default">
          <repository name="default">
            <pool blockingTimeoutMillis="100" idleTimeoutMinutes="10" maxPoolSize="20" minPoolSize="0"/>
            <clustering delay="1000" enabled="false"/>
            <binaryStore path=""/>
            <schema>
              <field type="largetext">note</field>
              <field type="largetext">relatedtext</field>
              <field type="largetext">webp:content</field>
              <field type="largetext">webc:welcomeText</field>
              <field type="largetext">comment:comment</field>
              <field type="largetext">post</field>
              <field type="largetext">mail:mail</field>
            </schema>
            <indexing>
              <!-- for H2 (Lucene Analyzer): -->
              <fulltext analyzer="org.apache.lucene.analysis.standard.StandardAnalyzer">
                <index name="default">
                  <!-- all props implied -->
                </index>
                <index name="title">
                  <field>dc:title</field>
                </index>
                <index name="description">
                  <field>dc:description</field>
                </index>
              </fulltext>
            </indexing>
            <usersSeparator key=","/>
            <xa-datasource>org.h2.jdbcx.JdbcDataSource</xa-datasource>
            <property name="URL">jdbc:h2:nuxeo</property>
            <property name="User">sa</property>
            <property name="Password"/>
          </repository>
        </repository>

XML source

<extension point="repository" target="org.nuxeo.ecm.core.repository.RepositoryService">
    <repository factory="org.nuxeo.ecm.core.storage.sql.ra.PoolingRepositoryFactory" name="default">
      <repository name="default">
        <pool blockingTimeoutMillis="100" idleTimeoutMinutes="10" maxPoolSize="20" minPoolSize="0"/>
        <clustering delay="1000" enabled="false"/>
        <binaryStore path=""/>
        <schema>
          <field type="largetext">note</field>
          <field type="largetext">relatedtext</field>
          <field type="largetext">webp:content</field>
          <field type="largetext">webc:welcomeText</field>
          <field type="largetext">comment:comment</field>
          <field type="largetext">post</field>
          <field type="largetext">mail:mail</field>
        </schema>
        <indexing>
          <!-- for H2 (Lucene Analyzer): -->
          <fulltext analyzer="org.apache.lucene.analysis.standard.StandardAnalyzer">
            <index name="default">
              <!-- all props implied -->
            </index>
            <index name="title">
              <field>dc:title</field>
            </index>
            <index name="description">
              <field>dc:description</field>
            </index>
          </fulltext>
        </indexing>
        <usersSeparator key=","/>
        <xa-datasource>org.h2.jdbcx.JdbcDataSource</xa-datasource>
        <property name="URL">jdbc:h2:nuxeo</property>
        <property name="User">sa</property>
        <property name="Password"/>
      </repository>
    </repository>
  </extension>