You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (Commented JIRA)" <ji...@apache.org> on 2012/04/12 11:45:29 UTC

[jira] [Commented] (SOLR-2368) Improve extended dismax (edismax) parser

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

Jan Høydahl commented on SOLR-2368:
-----------------------------------

Today we can use pf, pf2, pf3 to *boost* only, as qf is required and always adds a MUST clause.
I think it would be useful to allow "pf/pf2/pf3" to give results if "qf" is not specified, i.e. empty qf must not add any MUST clause to the query.

Then this would generate a query with one SHOULD clause returning *only* docs where foo and bar exist within 100 terms.
{noformat}
q=foo bar&qf=&pf=text&ps=100
{noformat}

In fact, it is impossible to say qf= to specify an empty qf, it still falls back to schema's defaultSearchField..
                
> Improve extended dismax (edismax) parser
> ----------------------------------------
>
>                 Key: SOLR-2368
>                 URL: https://issues.apache.org/jira/browse/SOLR-2368
>             Project: Solr
>          Issue Type: Improvement
>          Components: query parsers
>            Reporter: Yonik Seeley
>              Labels: QueryParser
>
> This is a "mother" issue to track further improvements for eDismax parser.
> The goal is to be able to deprecate and remove the old dismax once edismax satisfies all usecases of dismax.

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org