[ 
https://issues.apache.org/jira/browse/SOLR-13172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16753879#comment-16753879
 ] 

Dawid Weiss commented on SOLR-13172:
------------------------------------

I think the handler and the mlt component all use the same code underneath, so 
the maintenance costs, even if they're there, are not that high. I filed an 
issue a while ago to improve the handler's ability to use requests that target 
multiple fields (with arbitrary length text) -- SOLR-12812. This isn't the same 
as duplicating the same text against all the fields (which is currently what 
the code does). I don't know if this can be simulated by MLT QP because we used 
the handler for requests from code (so it's more structured than the query 
parser).

If this isn't a big burden, I'd leave the handler in. Using the MLT QP for 
arbitrary-length inputs seems more complex (will require some form of escaping, 
for example?).

> Deprecate MoreLikeTHisHandler
> -----------------------------
>
>                 Key: SOLR-13172
>                 URL: https://issues.apache.org/jira/browse/SOLR-13172
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: MoreLikeThis
>            Reporter: Alessandro Benedetti
>            Priority: Major
>
> Following the discussions with [~dsmi...@mac.com]
> Currently the Lucene More Like This functionality is offered in Apache Solr 
> through :
>  * More Like This Handler
>  * More Like This Component
>  * More Like This Query Parser
> The query parser is the most flexible approach and it is well supported, it 
> is a good candidate to become the main entry point if a user wnat the MLT 
> functionality.
> The More Like This component is quite coupled with the others but it has a 
> sense and offers slightly different features from the query parser ( *Using 
> MoreLikeThis as a search component returns similar documents for each 
> document in the response set.*)
> So the proposal here is to deprecate and remove the More Like This Handler, 
> to ease the maintenance  of the functionality and to simplify the way new 
> users approach it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to