Make FragmentsBuilder use Encoder, as Highlighter does.
FVH: use Encoder, remove MultiColored*FragmentsBuilder
Bulk close for 3.1
trunk: Committed revision 982824.
branch_3x: Committed revision 982828.
I'll commit tomorrow.
As I change the FragmentsBuilder interface in this ticket, I want to use this opportunity to take tag arrays in the added methods. This change enables tags to be set per-field override in Solr.
JUnit test added.
This patch breaks back-compat because I added two methods that take Encoder to FragmentsBuilder interface. But using the methods bring in "per-field override" feature in Solr.