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>
We need a way to have several fulltext indexes for different fields:
NXP-4894 VCS: proper upgrade when new fulltext indexes are added
NXP-3123 SQL storage: configuration of indexed fields for fulltext
NXP-4092 VCS : More flexibility in fulltext indexes