Increasing the Speed of Search/Indexing Times

This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable. 

This article describes one Liferay properties that may increase the speed of both search and indexing in your environment.

Affected Products

Liferay Portal 6.1.x EE and above

Resolution

Both Lucene (which ships with Liferay) and Solr have a post-processing feature that allows for the highlighting of words that match the query that you entered. This can be a helpful feature, but in some environments, it may cause slower performance.

To turn off search highlighting in your index, start the portal with the following portal-ext.property:

index.search.highlight.enable=false

这篇文章有帮助吗?
0 人中有 0 人觉得有帮助