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

Alessandro Benedetti commented on SOLR-13172:
---------------------------------------------

Hi [~dweiss], this is a good call.
The time I checked if it was ready for deprecation I actually didn't check that 
sub-feature of the MLT, my bad.
And indeed that Lucene MLT feature is only accessible via the handler.

But I just checked the MLT query parser(s) and we have access to the Solr 
request in there (so the reader with the text in input is accessibile).
Effectively having that additional logic in the query parser can make sense (in 
the end you use an additional parameter provided by the user to build the 
query).

In my opinion it would be still possible to deprecate it and add the feature to 
the MLT Query Parser (actually we can add the feature there anyway).

To conclude, I don't have any strong opinion in deprecating the handler, but if 
we confirm all its features are achievable through the query parser, having 
less choice for the user could help.

> 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 [[email protected]]
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to