Liferay 7.0 GA5 Custom entity Search portlet configuration not displaying

srini vasulu, modified 5 Years ago. Regular Member Posts: 139 Join Date: 2/22/11 Recent Posts
Hi
we created custom entity to display the docId extra column in Document libray and it's working fine.
But we want to search custom entity(docId) in search portlet and display when click on that link it will redirect to document libray preview page   <entity local-service="true" name="DLDocId">
        <!-- PK fields -->
        <column name="dlDocId" primary="true" type="long" />
        <!-- Group instance -->
        <column name="groupId" type="long" />
        <!-- Audit fields -->
        <column name="companyId" type="long" />
        <column name="userId" type="long" />
        <column name="userName" type="String" />
        <column name="createDate" type="Date" />
        <column name="modifiedDate" type="Date" />
        <!-- Other fields -->
        <column name="fileEntryId" type="long" />
        <column name="fileVersionId" type="long" />
        <column name="docId" type="String" />        <finder name="F_V" return-type="DLAutoNumber">
            <finder-column name="fileEntryId" />
            <finder-column name="fileVersionId" />
        </finder>
        <finder name="L_F" return-type="DLAutoNumber">
            <finder-column name="fileEntryId" />
            
            <finder-column name="fileVersionId" />
        </finder>
    
</entity>created index class in service layer ufollowed by https://help.liferay.com/hc/en-us/articles/360018157871-Creating-an-Entry-Indexer-
it's added in controlpanel for reindex, but i did not find it search faceted place. Please let me know how to add it in search portletto add it in faceted place is it mandatory to add the below lines in service.xml
<reference package-path="com.liferay.portlet.asset" entity="AssetEntry"/>
<reference package-path="com.liferay.portlet.asset" entity="AssetLink"/>
Thanks,Srini