It can be pretty confusing. The user didn't type those terms and the
terms can be pretty odd. Effective, but odd. They might be half-phrases
or other things that just look bad and distracting.

wunder

On 4/30/09 6:23 AM, "Eric Sabourin" <eric.sabourin2...@gmail.com> wrote:

> solr find the specified document, extracts its interesting terms as
> configured, and uses the interesting terms for its query does it not?
> If so, would it be that inappropriate to highlight snippets in the "similar"
> documents it finds showing which interesting terms occur in which fields?
> 
> Just a thought...
> 
> Eric
> 
> 
> On Thu, Apr 30, 2009 at 12:27 AM, Walter Underwood
> <wunderw...@netflix.com>wrote:
> 
>> Think about this for a moment. When you use MoreLikeThis, the query
>> is a document. How do you highlight a document in another document?
>> 
>> wunder
>> 
>> On 4/29/09 9:21 PM, "Matt Weber" <m...@mattweber.org> wrote:
>> 
>>> Any luck on this?  I am experiencing the same issue.  Highlighting
>>> works fine on all other request handlers, but breaks when I use the
>>> MoreLikeThisHandler.
>>> 
>>> Thanks,
>>> 
>>> Matt Weber
>>> 
>>> 
>>> 
>>> 
>>> On Apr 28, 2009, at 5:29 AM, Eric Sabourin wrote:
>>> 
>>>> Yes... at least I think so.  the highlighting works correctly for me
>>>> on
>>>> another request handler... see below the request handler for my
>>>> morelikethishandler query.
>>>> Thanks for your help... Eric
>>>> 
>>>> 
>>>>  <requestHandler name="/mlt" class="solr.MoreLikeThisHandler">
>>>>    <lst name="defaults">
>>>> 
>>>>     <str name="fl">
>>>>     score,id,timestamp,type,textualId,subject,url,server
>>>>    </str>
>>>> 
>>>>     <str name="echoParams">explicit</str>
>>>>     <str name="mlt.match.include">true</str>
>>>>     <str name="mlt.interestingTerms">list</str>
>>>>       <str
>>>> name
>>>> =
>>>> "mlt
>>>> .fl">subject,requirements,productName,justification,operation_exact</
>>>> str>
>>>>       <int name="mlt.minwl">2</int>
>>>>       <int name="mlt.mintf">1</int>
>>>>       <int name="mlt.mindf">2</int>
>>>> 
>>>>    <str name="hl">true</str>
>>>>    <str name="hl.snippets">1</str>
>>>>    <!-- for subject and textualID fields, we want no fragmenting, just
>>>> highlighting -->
>>>>    <str name="f.textualId.hl.fragsize">0</str>
>>>>    <str name="f.subject.hl.fragsize">0</str>
>>>>    <str name="f.requirements.hl.fragmenter">regex</str> <!-- defined
>>>> below
>>>> -->
>>>>    <str name="f.justification.hl.fragmenter">regex</str>
>>>>    </lst>
>>>>  </requestHandler>
>>>> 
>>>> 
>>>> On Mon, Apr 27, 2009 at 11:30 PM, Otis Gospodnetic <
>>>> otis_gospodne...@yahoo.com> wrote:
>>>> 
>>>>> 
>>>>> Eric,
>>>>> 
>>>>> Have you tried using MLT with parameters described on
>>>>> http://wiki.apache.org/solr/HighlightingParameters ?
>>>>> 
>>>>> 
>>>>> Otis
>>>>> --
>>>>> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
>>>>> 
>>>>> 
>>>>> 
>>>>> ----- Original Message ----
>>>>>> From: Eric Sabourin <eric.sabourin2...@gmail.com>
>>>>>> To: solr-user@lucene.apache.org
>>>>>> Sent: Monday, April 27, 2009 10:31:38 AM
>>>>>> Subject: Term highlighting with MoreLikeThisHandler?
>>>>>> 
>>>>>> I submit a query to the MoreLikeThisHandler to find documents
>>>>>> similar to
>>>>> a
>>>>>> specified document.  This works and I've configured my request
>>>>>> handler to
>>>>>> also return the interesting terms.
>>>>>> 
>>>>>> Is it possible to have MLT return to me highlight snippets in the
>>>>>> similar
>>>>>> documents it returns? I mean generate hl snippets of the interesting
>>>>> terms?
>>>>>> If so how?
>>>>>> 
>>>>>> Thanks... Eric
>>>>> 
>>>>> 
>>>> 
>>>> 
>>>> --
>>>> Eric
>>>> Sent from Halifax, NS, Canada
>>> 
>> 
>> 
> 

Reply via email to