Data universe indexing

We will present here a simple example of indexing a table in a data reservoir.

Configuration

Indexing class

com.axemble.axvdocsearch.extensions.base.implementation.BaseVDPJStorageResourceIndexExtension

Custom Tags « system »

CustomTag Description
ID
REFERENCE
ORGANIZATIONNAME System name of the organization
PROJECTNAME System name of the project
CATALOGNAME System name of the application
RESOURCEDEFINITIONNAME System name of the resource definition (process version or data repository table)

Required input parameters

Parameter Name Description
CONTEXT_LOGIN Login used to browse the data to be indexed
ORGANIZATION_NAME System name of the organization attached to the project
PROJECT_NAME System name of the project (versions 11 and later)
CATALOG_NAME System name of the application (from version 11 onwards, it will be called “process group” instead)
RESOURCE_DEFINITION_NAME Collection of the system names of the process versions to be indexed (separated by “|”)

An example of a XML configuration

<indexes>
    <index name="IndexClients"
           label="LG_IndexClients"
           controller="com.axemble.axvdocsearch.core.controllers.implementation.LuceneController"
           extension="com.axemble.axvdocsearch.extensions.base.implementation.BaseVDPJStorageResourceIndexExtension"
           indexStorePath="XtendedSearch\IndexClients"
           updateOnIndexedDocuments="true"
           locales="fr" >

        <parameters>
            <parameter key="CONTEXT_LOGIN" value="sysadmin" />
            <parameter key="ORGANIZATION_NAME" value="DefaultOrganization" />
            <parameter key="PROJECT_NAME" value="XtendedSearch" />
            <parameter key="CATALOG_NAME" value="Contacts" />
            <parameter key="RESOURCE_DEFINITION_NAME" value="Clients" />
        </parameters>

        <customtag name="nom" type="text" />
        <customtag name="adresse" type="text" />
        <customtag name="fax" type="text" />
        <customtag name="CA" type="number" />
        <customtag name="telephone" type="date" />

    </index>
</indexes>

Source : https://wiki.myvdoc.net/xwiki/bin/view/Dev+Floor/VDPJStorageResourceIndexExtension