cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Datalist and search index

nettania
Confirmed Champ
Confirmed Champ

Goof afternoon,

based on this documentation https://docs.alfresco.com/6.0/references/dev-extension-points-data-lists.html I have created a simple Question/Answer data list. I can populate and edit the list but I get no results when I search form them. This is part of my model definition:

<types>
        <!-- Data List Item Type for the custom project list -->
        <type name="esol:esoListItem">
            <title>ESOL Item</title>
            <parent>dl:dataListItem</parent>
            <properties>
                <property name="esol:error">
                    <type>d:text</type>
                    <mandatory>true</mandatory>
                    <!-- Enable index search -->
                    <index enabled="true">
                        <tokenised>TRUE</tokenised>
                        <facetable>false</facetable>
                    </index>
                </property>
				<property name="esol:solution">
                    <type>d:mltext</type>
                    <mandatory>true</mandatory>
                    <!-- Enable index search -->
                    <index enabled="true">
                        <tokenised>TRUE</tokenised>
                        <facetable>false</facetable>
                    </index>
                </property>
            </properties>    
        </type>
    </types>

I have added index enabled="true", is there another insert point where I have to add something that search is working?

Thanks,

Florian

0 REPLIES 0