How do I define the keyword on a table?

peterraeves
Mega Guru

When I search for the keyword 'I170911_009', it comes out empty.

Image 5.png

When I search for the same value in the column directly, it returns a record (as expected).

Image 6.png

So how do I modify the keywords to search through the vendor_ticket column? I need this for when searching in the global search.

1 ACCEPTED SOLUTION

peterraeves
Mega Guru

I found it. It seems I needed to click 'Generate Text Index' on the collection dictionary for the table. When I navigate to the table record, the indexes were there, and the check box 'Text index' was set correctly, but despite all that, ServiceNow did not generate the text indexes when I moved the table in between environments... After generating the text index, the search shows the expected results.



Image 5.png


View solution in original post

13 REPLIES 13

Peter - Keywords will be used to search a text on all the fields of the table , reason being keywords are defined on collection and collection is combination of all fields.



I just searched incident in keywords



find_real_file.png



To know more on keywords use this link List search finds records from the current table


Kunal, this is not how servicenow works. Read my original post again and you notice that it does not work like you just explained. The value is clearly in a field, while it is not found through keywords.


peterraeves
Mega Guru

Update. I noticed a strange difference between environments, but not sure where this information is set 😕



On DEV, where it's successful.


Image 3.png



On TEST, where it's not successful.


Image 4.png


peterraeves
Mega Guru

I found it. It seems I needed to click 'Generate Text Index' on the collection dictionary for the table. When I navigate to the table record, the indexes were there, and the check box 'Text index' was set correctly, but despite all that, ServiceNow did not generate the text indexes when I moved the table in between environments... After generating the text index, the search shows the expected results.



Image 5.png