[jira] [Created] (SOLR-3352) eDismax: pf2 should kick in for a query with 2 terms

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (SOLR-3352) eDismax: pf2 should kick in for a query with 2 terms

Tim Allison (Jira)
eDismax: pf2 should kick in for a query with 2 terms
----------------------------------------------------

                 Key: SOLR-3352
                 URL: https://issues.apache.org/jira/browse/SOLR-3352
             Project: Solr
          Issue Type: Bug
    Affects Versions: 3.5, 3.4, 3.3, 3.2, 3.1, 3.6
            Reporter: Jan Høydahl
            Assignee: Jan Høydahl
             Fix For: 4.0


...and pf3 for query with 3 terms. Today q=foo bar does not generate a bigram, but q=foo bar baz generates two bigrams.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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

Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (SOLR-3352) eDismax: pf2 should kick in for a query with 2 terms

Tim Allison (Jira)

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

Jan Høydahl updated SOLR-3352:
------------------------------

    Attachment: SOLR-3352.patch

The patch. Only change is "<=" into "<".

Also adding test for pf, pf2, pf3 and ps to validate the fix.

Let's fix this now and worry about optimizing potential corner cases with redundant clauses as a separate issue.
               

> eDismax: pf2 should kick in for a query with 2 terms
> ----------------------------------------------------
>
>                 Key: SOLR-3352
>                 URL: https://issues.apache.org/jira/browse/SOLR-3352
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.1, 3.2, 3.3, 3.4, 3.5, 3.6
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>             Fix For: 4.0
>
>         Attachments: SOLR-3352.patch
>
>
> ...and pf3 for query with 3 terms. Today q=foo bar does not generate a bigram, but q=foo bar baz generates two bigrams.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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

Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (SOLR-3352) eDismax: pf2 should kick in for a query with 2 terms

Tim Allison (Jira)
In reply to this post by Tim Allison (Jira)

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

Jan Høydahl resolved SOLR-3352.
-------------------------------

    Resolution: Fixed

Committed
               

> eDismax: pf2 should kick in for a query with 2 terms
> ----------------------------------------------------
>
>                 Key: SOLR-3352
>                 URL: https://issues.apache.org/jira/browse/SOLR-3352
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.1, 3.2, 3.3, 3.4, 3.5, 3.6
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>             Fix For: 4.0
>
>         Attachments: SOLR-3352.patch
>
>
> ...and pf3 for query with 3 terms. Today q=foo bar does not generate a bigram, but q=foo bar baz generates two bigrams.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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