November Happy Hour will be moved to Thursday December 5th.

Indexing content with unusual characters

P-O
P-O
Vote:
 

Hi!

I am working with a solution using EPiserver Find. In the content I have some pages with some unusual characters like: š á č ů.

When I run the EPiServer Find Content Indexing Job I get the error message:  

An exception occurred while indexing (Content): ArrayIndexOutOfBoundsException[null].

When I remove the content with those characters the job runs just fine.

I tried to index a custom object where "SearchText" and "SearchTitle" contains the special characters, for example:

     var item = new MyObject()
            {
                SearchSection = "MySection",
                SearchHitUrl = "http://www.google.com",
                SearchSummary = "This is summary text",
                SearchText =  "lorem ipsum š á č ů ",
                SearchTitle = "MyTitle",
                SearchUpdateDate = DateTime.Now
            };

client.Index(item);

This crashes with the following error:

The remote server returned an error: (500) Internal Server Error.
RemoteTransportException[[euw1bfinddev02esd01][inet[/10.54.4.201:9300]][index]]; nested: ArrayIndexOutOfBoundsException;

After some testing I realize that its actually only the š character that gives the error. The string "lorem ipsum á č ů". Works fine, however "foo š" blows up. 

Does anyone have an Idea what the problem with š is?

#177519
Apr 13, 2017 17:02
P-O
Vote:
 

This issue is now resolved. It was some error in the EPi Find backend that is now fixed. 

#178224
May 05, 2017 7:22
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.