(10/12/05 5:53), CRB wrote:
Got the FVH to work in Solr 3.1 (or at least I presume I have given I can see
multi-color
highlighting in the output.)
But I am not able to get it to recognize the "regex" fragmenter. I get no
change in output if I
specify the fragmenter. In fact, I can even enter bogus names for the
fragmenter and get no change
in the output.
Grateful for any suggestions.
Settings and output below.
Christopher
*Query*
http://localhost:8983/solr/10k-Fragments/select?
q=content%3Aliquidity
&rows=100
&fl=id%2Ccontent
&qt=standard
&hl.fl=content
&hl.useFastVectorHighlighter=true
&hl=true
&hl.fragmentsBuilder=colored
&hl.fragmenter=regex
Christopher,
Because algorithm of FVH is totally different from (traditional) highlighter,
FVH doesn't see hl.fragmenter and hl.formatter, but see hl.fragListBuilder
and hl.fragmentsBuilder instead. I think your settings and request/response
looks good except hl.fragmenter=regex. FVH simply ignores the parameter.
Koji
--
http://www.rondhuit.com/en/