You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Amit Nithian (JIRA)" <ji...@apache.org> on 2011/02/08 07:57:57 UTC

[jira] Created: (SOLR-2351) Allow the MoreLikeThis component to accept filters and use the already parsed query from previous stages (if applicable) as seed.

Allow the MoreLikeThis component to accept filters and use the already parsed query from previous stages (if applicable) as seed.
---------------------------------------------------------------------------------------------------------------------------------

                 Key: SOLR-2351
                 URL: https://issues.apache.org/jira/browse/SOLR-2351
             Project: Solr
          Issue Type: Improvement
          Components: MoreLikeThis
    Affects Versions: 1.5
            Reporter: Amit Nithian
            Priority: Minor
             Fix For: 1.5, 1.3


Currently the MLT component doesn't accept filter queries specified on the URL which my application needed (I needed to restrict similar results by a lat/long bounding box). This patch also attempts to solve the issue of allowing the boost functions of the dismax to be used in the MLT component by using the query object created by the QueryComponent to OR with the query created by the MLT as part of the final query. In a blank dismax query with no query/phrase clauses, this works although a separate BF definition/parsing would be ideal.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-2351) Allow the MoreLikeThis component to accept filters and use the already parsed query from previous stages (if applicable) as seed.

Posted by "Sameh Hamza (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107747#comment-13107747 ] 

Sameh Hamza commented on SOLR-2351:
-----------------------------------

I've successfully applied that patch and compiled, could you please explain what files/folders should i upload to live server to apply and how can I test it.

Many thanks
Sameh

> Allow the MoreLikeThis component to accept filters and use the already parsed query from previous stages (if applicable) as seed.
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2351
>                 URL: https://issues.apache.org/jira/browse/SOLR-2351
>             Project: Solr
>          Issue Type: Improvement
>          Components: MoreLikeThis
>            Reporter: Amit Nithian
>            Priority: Minor
>             Fix For: 3.5, 4.0
>
>         Attachments: mlt.patch
>
>
> Currently the MLT component doesn't accept filter queries specified on the URL which my application needed (I needed to restrict similar results by a lat/long bounding box). This patch also attempts to solve the issue of allowing the boost functions of the dismax to be used in the MLT component by using the query object created by the QueryComponent to OR with the query created by the MLT as part of the final query. In a blank dismax query with no query/phrase clauses, this works although a separate BF definition/parsing would be ideal.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (SOLR-2351) Allow the MoreLikeThis component to accept filters and use the already parsed query from previous stages (if applicable) as seed.

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonik Seeley updated SOLR-2351:
-------------------------------

    Affects Version/s:     (was: 1.5)
        Fix Version/s:     (was: 1.5)
                           (was: 1.3)
                       Next

> Allow the MoreLikeThis component to accept filters and use the already parsed query from previous stages (if applicable) as seed.
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2351
>                 URL: https://issues.apache.org/jira/browse/SOLR-2351
>             Project: Solr
>          Issue Type: Improvement
>          Components: MoreLikeThis
>            Reporter: Amit Nithian
>            Priority: Minor
>             Fix For: Next
>
>         Attachments: mlt.patch
>
>
> Currently the MLT component doesn't accept filter queries specified on the URL which my application needed (I needed to restrict similar results by a lat/long bounding box). This patch also attempts to solve the issue of allowing the boost functions of the dismax to be used in the MLT component by using the query object created by the QueryComponent to OR with the query created by the MLT as part of the final query. In a blank dismax query with no query/phrase clauses, this works although a separate BF definition/parsing would be ideal.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (SOLR-2351) Allow the MoreLikeThis component to accept filters and use the already parsed query from previous stages (if applicable) as seed.

Posted by "Amit Nithian (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amit Nithian updated SOLR-2351:
-------------------------------

    Attachment: mlt.patch

> Allow the MoreLikeThis component to accept filters and use the already parsed query from previous stages (if applicable) as seed.
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2351
>                 URL: https://issues.apache.org/jira/browse/SOLR-2351
>             Project: Solr
>          Issue Type: Improvement
>          Components: MoreLikeThis
>    Affects Versions: 1.5
>            Reporter: Amit Nithian
>            Priority: Minor
>             Fix For: 1.3, 1.5
>
>         Attachments: mlt.patch
>
>
> Currently the MLT component doesn't accept filter queries specified on the URL which my application needed (I needed to restrict similar results by a lat/long bounding box). This patch also attempts to solve the issue of allowing the boost functions of the dismax to be used in the MLT component by using the query object created by the QueryComponent to OR with the query created by the MLT as part of the final query. In a blank dismax query with no query/phrase clauses, this works although a separate BF definition/parsing would be ideal.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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