regarding attachments indexing and searching

kranjan
Kilo Explorer

I am using developer instance for service now with Calgary release. I want to add search for incidents attachments. I added the attribute attachment_index=true to the system dictionary for the incidents table, but still i am not able to search the contents of the attached files.

 

Is there anything else as well needed to make the attachments searchable with the incidents.

 

Thanks in advance

4 REPLIES 4

ccajohnson
Kilo Sage

Please be aware that the indexing may take some time to complete. Here is a wiki article that tells you how to check to see the status of your indexing:


Administering Zing Text Search - ServiceNow Wiki



Let us know if you are still having difficulty and what the exact difficulty is.


hi,



I have followed the link Administering Zing Text Search - ServiceNow Wiki for text indexing. I have added indexing for   Configuration item (cmdb_ci) table and its status is Ready.



And also have added search for Configuration item attachments. I added the attribute attachment_index=true to the system dictionary for Configuration item (cmdb_ci) table. Still i'm not able to search the contents of attachments.



I have attached file to Cluster as shown belowservicenow-indexing.png


But i was not able to search the contents of the file.



Could you please look into the issue and let me know if i go wrong .



Thanks,


Jaya Madhuri


igaray
ServiceNow Employee
ServiceNow Employee

Hello Please take a look at



Enabling Attachment Indexing - ServiceNow Wiki


4 Debugging Attachment Indexing


There you will be able to turn on 2 system properties that display the indexing and errors in your log for attachment text indexing:


glide.ts.index.attachment.debug


glide.ts.index.attachment.list_terms.debug




Before doing this please go to the sys_dictionary


Search for your table where you have set up attachment_indexing


Look for the table_name with the type of Collection.




Move into that recored


Finally click Regenerate Index.




You should next look into your logs and you should see your attachment display its text elements in the log.




epam
Kilo Guru

Hi



Just want to say that the attachements' indexing works fine on Fuji.


I checked it right now on the incident table with the attachement_index=true attribute.