lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SOLR-2368) Improve extended dismax (edismax) parser
Date Thu, 12 Apr 2012 09:45:29 GMT

    [ 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


Mime
View raw message