Question

Elastic Search not working for customized Notes table (Data-WorkAttach-Note)

Hello everyone,

I have created a customized Notes table with a class descendant of the Data-WorkAttach-Note. When I add a note in this class, I can see the entry in FTSIndexer queue. But was not able to retrieve results in Full text search. Also I observed if we use OOTB Link-Attachment class then only the indexing is triggered. There is no indexing happening with customized Link-Attachment class. Any leads on this behaviour will be highly appreciated.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

July 9, 2018 - 3:04pm

What version of Pega is this?

On the Search Settings landing page (where you configure your indexing host nodes) are you also indexing attachments? This is a separate option below Work I believe.

Can you explain what exactly you mean by the following statement: Also I observed if we use OOTB Link-Attachment class then only the indexing is triggered.

July 10, 2018 - 4:44am
Response to NickLoving_GCS

Yes Nick, this option is checked in our application. Our application is hosted for two different countries. As a regulatory compliance I want to keep notes for each country tobe stored in country specific table, not in pc_Workattach table. Also in the same way I am trying to keep a specific class inherited from Link-Attachment class to this country specific table. 

In response to "I observed if we use OOTB Link-Attachment class then only the indexing is triggered" : I can see the entries for FTSIndexer only when I use default Link-Attachment class while storing the attachment. My doubt is how we can trigger Indexing (For Elastic Search) for the classes which inherits the Link-Attachment class.

July 10, 2018 - 9:34am

Interesting. That is a scenario I have not seen before and I'm not sure if there are issues with doing that.

I'd recommend entering an SR and updating this post with the ID so that it can be looked into.

December 27, 2018 - 3:56pm

@NIKHILD6 Did you try, creating a "Custom Search Properties" instance for Data-WorkAttach-Note and then re-index work and data?