lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nuno Leitao" <n...@scaletrix.com>
Subject Re: MoreLikeThis handler and field collapsing.
Date Mon, 30 Jul 2007 16:18:40 GMT
I will take a stab at patching the MoreLikeThis handler - but given
that I have never touched a single line of Solr code this might fail
miserably :)

Maybe there is a kind soul which could provide a new patch for
SOLR-236 which includes field collapse with MLT ?

On 30/07/07, Ryan McKinley <ryantxu@gmail.com> wrote:
> Nuno Leitao wrote:
> > Hi,
> >
> > I have a 1.3 Solr with the field collapsing patch (SOLR-236 -
> > http://issues.apache.org/jira/browse/SOLR-236).
> >
> > Collapsing works great, but only using the dismax and standard query
> > handler - I haven't managed to get it to work using the MoreLikeThis
> > handler though - I am going for a simplistic approach where I just run a
> > query such as:
> >
> > /mlt?start=0&rows=3&collapse.field=collapsefield&collapse.type=normal
> >
> > Looking at the SOLR-236 patch it seems the field collapsing has only
> > been patched into the StandardRequestHandler and the
> > DisMaxRequestHandler, which would explain why this fails to work
> > completely, but perhaps someone has found another way ?
> >
>
> I have not tried, but field collapsing should be able to work with the
> MoreLikeThis handler -- but it is not part of the patch.
>
> Given that we keep trying to add more widgets to the search chain, there
> has been talk of "search component" based handler that can easily share
> this sort of functionality.
>
> check:
> https://issues.apache.org/jira/browse/SOLR-281
> http://www.nabble.com/search-components-%28plugins%29-tf3898040.html#a11050274
>
> SOLR-281 is now just a quick/dirty brainstorm, but I think it is the
> likely direction for how field collapsing will be integrated.
>
> In short, if you need something to work quickly: apply the same pattern
> from DisMax and Standard to the MoreLikeThis handler.  If you have more
> time (and interest) it would be great to add these features to SOLR-281.
>
>
> ryan
>
>
>

Mime
View raw message