Koji,
Thank you for the reply.
Being something of a novice with Solr, I would be grateful if you could
clarify my next steps.
I infer from your reply that there is no current implementation yet
contributed for the FVH similar to the regex fragmenter.
Thus I need to write my own custom extensions of *FragmentsBuilder
<http://lucene.apache.org/java/3_0_1/api/contrib-fast-vector-highlighter/org/apache/lucene/search/vectorhighlight/FragmentsBuilder.html>
& **FragListBuilder
<http://lucene.apache.org/java/3_0_1/api/contrib-fast-vector-highlighter/org/apache/lucene/search/vectorhighlight/FragListBuilder.html>
*interfaces to take in and apply the regex.
I would be happy to contribute back what I create.
Appreciate whatever guidance you can offer,
Christopher
On 2:59 PM, Koji Sekiguchi wrote:
(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