Last modified: 2014-09-25 11:49:18 UTC
ItemSearchTextGenerator and EntitySearchTextGenerator are currently incompatible. This leads to ItemContent::getTextForSearchIndex() re-implementing the logic in EntityContent::getTextForSearchIndex(). This code dublication has big potential for confusion. Instead, ItemSearchTextGenerator and EntitySearchTextGenerator should share an interface, which a generic implementation of getTextForSearchIndex could use.