Hi all,

When I go through the registry.xml file in the IS-5.9.0-m5 pack, some
configs which are in IS 5.8.0 are missing.

The following *<indexingConfiguration> *config is found in IS 5.8.0 pack.
But it is not found in IS-5.9.0-m5 according to the current config model.

<indexingConfiguration>
        <startIndexing>false</startIndexing>
        <startingDelayInSeconds>35</startingDelayInSeconds>
        <indexingFrequencyInSeconds>5</indexingFrequencyInSeconds>
        <!--number of resources submit for given indexing thread -->
        <batchSize>40</batchSize>
        <!--number of worker threads for indexing -->
        <indexerPoolSize>40</indexerPoolSize>
        <!-- location storing the time the indexing took place-->

<lastAccessTimeLocation>/_system/local/repository/components/org.wso2.carbon.registry/indexing/lastaccesstime</lastAccessTimeLocation>
        <!-- the indexers that implement the indexer interface for a
relevant media type/(s) -->
        <indexers>
            <indexer
class="org.wso2.carbon.registry.indexing.indexer.MSExcelIndexer"
mediaTypeRegEx="application/vnd.ms-excel"/>
            <indexer
class="org.wso2.carbon.registry.indexing.indexer.MSPowerpointIndexer"
mediaTypeRegEx="application/vnd.ms-powerpoint"/>
            <indexer
class="org.wso2.carbon.registry.indexing.indexer.MSWordIndexer"
mediaTypeRegEx="application/msword"/>
            <indexer
class="org.wso2.carbon.registry.indexing.indexer.PDFIndexer"
mediaTypeRegEx="application/pdf"/>
            <indexer
class="org.wso2.carbon.registry.indexing.indexer.XMLIndexer"
mediaTypeRegEx="application/xml"/>
            <indexer
class="org.wso2.carbon.registry.indexing.indexer.XMLIndexer"
mediaTypeRegEx="application/(.)+\+xml"/>
            <indexer
class="org.wso2.carbon.registry.indexing.indexer.PlainTextIndexer"
mediaTypeRegEx="application/swagger\+json"/>
            <indexer
class="org.wso2.carbon.registry.indexing.indexer.PlainTextIndexer"
mediaTypeRegEx="application/(.)+\+json"/>
            <indexer
class="org.wso2.carbon.registry.indexing.indexer.PlainTextIndexer"
mediaTypeRegEx="text/(.)+"/>
            <indexer
class="org.wso2.carbon.registry.indexing.indexer.PlainTextIndexer"
mediaTypeRegEx="application/x-javascript"/>
        </indexers>
        <exclusions>
            <exclusion
pathRegEx="/_system/config/repository/dashboards/gadgets/swfobject1-5/.*[.]html"/>
            <exclusion
pathRegEx="/_system/local/repository/components/org[.]wso2[.]carbon[.]registry/mount/.*"/>
        </exclusions>
    </indexingConfiguration>

Some new configs are available according to the new config model in
registry.xml file. Are there any reasons for removing this particular
config from registry.xml in the new configuration model?

Thanks,
Piraveena
*Piraveena Paralogarajah*
Software Engineer | WSO2 Inc.
*(m)* +94776099594 | *(e)* pirave...@wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to