Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-3880

Multiple fulltext indexes in VCS

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3 RC
    • Component/s: Core VCS
    • Tags:
    • Impact type:
      Configuration format change
    • Upgrade notes:
      Hide

      To specify the fulltext indexes to use and to which fields they apply, change the repository config extension point (org.nuxeo.ecm.core.repository.RepositoryService):
      <component name="...">
      <extension target="org.nuxeo.ecm.core.repository.RepositoryService" point="repository">
      <repository name="default" factory="org.nuxeo.ecm.core.storage.sql.coremodel.SQLRepositoryFactory">
      <repository>
      <fulltext analyzer="...">
      <index> <!-- name="default" implied -->
      <!-- fieldType for all implied -->
      <excludeField>dc:creator</excludeField>
      </index>
      <index name="titraille">
      <field>dc:title</field>
      <field>dc:description</field>
      </index>
      <index name="blobs">
      <fieldType>blob</fieldType> <!-- string/blob -->
      <excludeField>foo:bar</excludeField>
      </index>
      <index name="pictures" catalog="other" analyzer="martian">
      <field>picture:views/*/filename</field>
      </index>
      ...
      </fulltext>
      ...
      </repository>
      </repository>
      </extension>
      </component>

      Show
      To specify the fulltext indexes to use and to which fields they apply, change the repository config extension point (org.nuxeo.ecm.core.repository.RepositoryService): <component name="..."> <extension target="org.nuxeo.ecm.core.repository.RepositoryService" point="repository"> <repository name="default" factory="org.nuxeo.ecm.core.storage.sql.coremodel.SQLRepositoryFactory"> <repository> <fulltext analyzer="..."> <index> <!-- name="default" implied --> <!-- fieldType for all implied --> <excludeField>dc:creator</excludeField> </index> <index name="titraille"> <field>dc:title</field> <field>dc:description</field> </index> <index name="blobs"> <fieldType>blob</fieldType> <!-- string/blob --> <excludeField>foo:bar</excludeField> </index> <index name="pictures" catalog="other" analyzer="martian"> <field>picture:views/*/filename</field> </index> ... </fulltext> ... </repository> </repository> </extension> </component>

      Description

      We need a way to have several fulltext indexes for different fields:

      • a way to configure the indexes and the fields,
      • a way to make queries on specific indexes.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: