You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2015/02/05 09:27:36 UTC

[jira] [Updated] (SOLR-7072) Multiple mlt.fl does not work

     [ https://issues.apache.org/jira/browse/SOLR-7072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar updated SOLR-7072:
----------------------------------------
    Attachment: SOLR-7072.patch

Thanks Constantin.

Here's a patch which adds multiple mlt.fl param support and adds single-node and distributed tests for the same.

I found that the DistributedMLTComponentTest has been disabled for a long time with the only comment that it doesn't work on freebsd. The freebsd jvm has known problems and many solr tests do not pass on it. Still it is bad that we have disabled this test completely so I have enabled it again to recover some test coverage of the feature.

> Multiple mlt.fl does not work
> -----------------------------
>
>                 Key: SOLR-7072
>                 URL: https://issues.apache.org/jira/browse/SOLR-7072
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 4.10.1
>         Environment: Win7 64bit/JDK8
>            Reporter: Constantin Mitocaru
>              Labels: mlt
>         Attachments: SOLR-7072.patch
>
>
> I tested the mlt component in Solr Admin query with this parameter
> {noformat}
> mlt.fl=categories,tags,vtext
> {noformat}
> It works.
> HOWEVER
> {noformat}
> mlt.fl=categories&mlt.fl=tags&mlt.fl=vtext
> {noformat}
> Does not work!
> MOREOVER
> The solrJ client seems to turn this line
> {noformat}
> query.setParam( "mlt.fl", "categories", "tags", "vtext" );
> {noformat}
> into this
> {noformat}
> mlt.fl=categories&mlt.fl=tags&mlt.fl=vtext
> {noformat}
> Which, of course, does not work



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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