Smart search index error

Naresh Ede asked on April 27, 2020 03:37

Hello all,

We have a kentico 11.0.0 site deployed in Azure app service.

We have a created search index under "Local Indexes", and when we try to build the index we are getting the below error.

The surrogate pair (0xDBC0, 0x20) is invalid. A high surrogate character (0xD800 - 0xDBFF) must always be paired with a low surrogate character (0xDC00 - 0xDFFF).

We have seleceted the "Include attachment content:" checkbox in indexed content tab.

Anyone have idea about this error and how to reolve.


Recent Answers

Juraj Ondrus answered on April 27, 2020 21:16

It looks like there is some PDF with invalid Unicode surrogate pairs in PDF files terminated the indexing operation. Since such invalid surrogate pairs can occur in otherwise valid PDF files, the pairs are now stripped during the indexing process. This issue was fixed in Kentico 12.0.3 hotfix. If you cannot upgrade to Kentico 12, then you will have to check all your attachments one by one to see which one is causing this issue.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.