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

Simon Willnauer commented on LUCENE-5725:
-----------------------------------------

maybe we should just use variable args on the constructor like

{noformat}

public Query like(String fieldName, Reader... readers) {
 //...
}

@Deprecated 
public Query like(Reader r, String fieldName) throws IOException {
 ...
}
{noformat}

and can we have a test for it?

> More Like This: necessary improvement to run mlt on multi-field values.
> -----------------------------------------------------------------------
>
>                 Key: LUCENE-5725
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5725
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Alex Ksikes
>            Priority: Minor
>         Attachments: LUCENE-5725.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to