Long Web Content articles are not returned in search results


  • Very long web content articles are not being returned in search results


  • Liferay DXP 7.0
  • Liferay DXP 7.1


  • This is due to a limitation in Elasticsearch where the number of bytes for any field being indexed cannot exceed 32,766. This value is hard-coded and cannot be changed.
  • The best available workaround for articles that exceed this value would be to set the fields that are exceeding the max index size as "Not Indexable" in the Web Content structure
  • By doing this, the fields with the content would not be indexed, but the rest of the articles (such as the title and metadata) could still be indexed
0 人中有 0 人觉得有帮助