Did you check the index in edit mode? I was just wondering where this max length limit occurs...before, or after indexing when returning result.
There are a few max limits in Find like how many max facets to return, max file size etc so it's definitely possible. They are normally configured in client conventions that specify how indexing works.
If you have problems with the length of the returned text you should check out the section on HitSpecification that controls the length of the returned text. You can check out
http://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-Find/9/DotNET-Client-API/Searching/Unified-search/
If you have problem that the text is cut off before it gets to the index I would check out the defaults set on IUnifiedSearchRegistry instead.
es, I had already checked the index in edit mode and I could see that searchtext was cut off after 2402 characters (ending with ...).
So it definitely was a problem before searchtext got into the index. Thanks to your guidance I went into the SearchText overriden property and saw that TextIndexer.StripHtml() was used with a default maxlength of 2048 characters. There lied the problem. The solution is simple, increase the default value.
Thank you, Daniel
Sweet! Good to know that one. The striphtml is used in a few other places too...
Is there any max length on SearchText property?
It seems like it cuts of after 2400 characters? Is that documented, or is there no such limit which means I have an issue in my EPiServer solution?