According to the documentation on the Solr wiki page, setting the hl.fragsize parameter to "0" indicates that the whole field value should be used (no fragmenting). However the FastVectorHighlighter throws an exception
message fragCharSize(0) is too small. It must be 18 or higher. java.lang.IllegalArgumentException: fragCharSize(0) is too small. It must be 18 or higher. at org.apache.lucene.search.vectorhighlight.SimpleFragListBuilder.createFieldFragList(SimpleFragListBuilder.java:36) at org.apache.lucene.search.vectorhighlight.FastVectorHighlighter.getFieldFragList(FastVectorHighlighter.java:177) at org.apache.lucene.search.vectorhighlight.FastVectorHighlighter.getBestFragments(FastVectorHighlighter.java:166) at I noticed that in Solr 1268 there was an attempt to fix this problem but it apparently did not work. 1) Is there any plan to implement a feature in FastVectorHighlighter that would behave the same as the regular Highlighter, i.e. return the whole field value when hl.fragsize=0? 2) Should I edit the wiki entry to indicate that the hl.fragsize=0 does not work with FVH? 3) Are there other parameters listed in the wiki that should have a note indicating whether they apply to only the regular highlighter or the FVH? Tom Burton-West