|
|
-
Does MultiTerm highlighting work with the fastVectorHighlighter?
Burton-West, Tom 2011-06-08, 19:24
We are trying to implement highlighting for wildcard (MultiTerm) queries. This seems to work find with the regular highlighter but when we try to use the fastVectorHighlighter we don't see any results in the highlighting section of the response. Appended below are the parameters we are using.
Tom Burton-West
query <str name="q">ocr:tink*</str> highlighting params:
<str name="hl.highlightMultiTerm">true</str> <str name="hl.fragsize">200</str> <str name="hl.useFastVectorHighlighter">true</str> <str name="hl.snippets">200</str> <str name="hl.fragmentsBuilder">colored</str> <str name="hl.fragListBuilder">simple</str> <str name="hl.fl">ocr</str> <str name="hl.usePhraseHighlighter">true</str> <str name="hl">true</str>
+
Burton-West, Tom 2011-06-08, 19:24
-
Re: Does MultiTerm highlighting work with the fastVectorHighlighter?
Koji Sekiguchi 2011-06-09, 14:24
(11/06/09 4:24), Burton-West, Tom wrote: > We are trying to implement highlighting for wildcard (MultiTerm) queries. This seems to work find with the regular highlighter but when we try to use the fastVectorHighlighter we don't see any results in the highlighting section of the response. Appended below are the parameters we are using. It is the feature of FVH. FVH supports TermQuery, PhraseQuery, BooleanQuery and DisjunctionMaxQuery and Query constructed by those queries. koji -- http://www.rondhuit.com/en/
+
Koji Sekiguchi 2011-06-09, 14:24
-
RE: Does MultiTerm highlighting work with the fastVectorHighlighter?
Burton-West, Tom 2011-06-09, 15:14
Hi Koji, Thank you for your reply.
>> It is the feature of FVH. FVH supports TermQuery, PhraseQuery, BooleanQuery and DisjunctionMaxQuery >> and Query constructed by those queries.
Sorry, I'm not sure I understand. Are you saying that FVH supports MultiTerm highlighting?
Tom
+
Burton-West, Tom 2011-06-09, 15:14
-
Re: Does MultiTerm highlighting work with the fastVectorHighlighter?
Koji Sekiguchi 2011-06-09, 15:39
(11/06/10 0:14), Burton-West, Tom wrote: > Hi Koji, > > > Thank you for your reply. > >>> It is the feature of FVH. FVH supports TermQuery, PhraseQuery, BooleanQuery and DisjunctionMaxQuery >>> and Query constructed by those queries. > > Sorry, I'm not sure I understand. Are you saying that FVH supports MultiTerm highlighting? Tom, I'm sorry but FVH doesn't cover MultiTermQuery. koji -- http://www.rondhuit.com/en/
+
Koji Sekiguchi 2011-06-09, 15:39
-
Re: Does MultiTerm highlighting work with the fastVectorHighlighter?
Erick Erickson 2011-06-08, 20:56
Just to check, does the field have termVectors="true" set? I think it's required for FVH to work. Best Erick
On Wed, Jun 8, 2011 at 3:24 PM, Burton-West, Tom <[EMAIL PROTECTED]> wrote: > We are trying to implement highlighting for wildcard (MultiTerm) queries. This seems to work find with the regular highlighter but when we try to use the fastVectorHighlighter we don't see any results in the highlighting section of the response. Appended below are the parameters we are using. > > Tom Burton-West > > query > <str name="q">ocr:tink*</str> > highlighting params: > > <str name="hl.highlightMultiTerm">true</str> > <str name="hl.fragsize">200</str> > <str name="hl.useFastVectorHighlighter">true</str> > <str name="hl.snippets">200</str> > <str name="hl.fragmentsBuilder">colored</str> > <str name="hl.fragListBuilder">simple</str> > <str name="hl.fl">ocr</str> > <str name="hl.usePhraseHighlighter">true</str> > <str name="hl">true</str> > >
+
Erick Erickson 2011-06-08, 20:56
-
RE: Does MultiTerm highlighting work with the fastVectorHighlighter?
Burton-West, Tom 2011-06-08, 21:22
Hi Erick,
Thanks for asking, yes we have termVectors=true set:
<fieldType name="FullText" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="false" stored="true" termVectors="true" termPositions="true" termOffsets="true">
I guess I should also mention that highlighting works fine using the fastVectorHighLighter as long as we don't do a MultiTerm query. For example see the query and results appended below (using the same hl parameters listed in the previous email) Tom -------------------------------------------------------- <str name="q">ocr:tinkham</str>
<lst name="highlighting"> − <lst name="mdp.39015015394847_24"> − <arr name="ocr"> − <str> John {lt:}b style="background:#ffff00"{gt:}Tinkham{lt:}/b{gt:}, who married Miss Mallie Kingsbury; Mr. William Ash- ley, and Mr. Leavitt, who, I believe, built the big stone house, now left high and dry by itself, on the top of Lyon street hill. As </str> </arr> </lst> </lst>
-----Original Message----- From: Erick Erickson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 08, 2011 4:56 PM To: [EMAIL PROTECTED] Subject: Re: Does MultiTerm highlighting work with the fastVectorHighlighter?
Just to check, does the field have termVectors="true" set? I think it's required for FVH to work. Best Erick
+
Burton-West, Tom 2011-06-08, 21:22
|
|