You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2014/03/16 05:56:38 UTC

[jira] [Updated] (SOLR-3925) Expose SpanFirst in eDismax

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

David Smiley updated SOLR-3925:
-------------------------------

    Fix Version/s:     (was: 4.7)
                   4.8

> Expose SpanFirst in eDismax
> ---------------------------
>
>                 Key: SOLR-3925
>                 URL: https://issues.apache.org/jira/browse/SOLR-3925
>             Project: Solr
>          Issue Type: Improvement
>          Components: query parsers
>    Affects Versions: 4.0-BETA
>         Environment: solr-spec 5.0.0.2012.10.09.19.29.59
> solr-impl 5.0-SNAPSHOT 1366361:1396116M - markus - 2012-10-09 19:29:59 
>            Reporter: Markus Jelsma
>             Fix For: 4.8
>
>         Attachments: SOLR-3925-trunk-1.patch, SOLR-3925-trunk-2.patch
>
>
> Expose Lucene's SpanFirst capability in Solr's extended Dismax query parser. This issue adds the SF-parameter (SpanFirst) and takes a FIELD~DISTANCE^BOOST formatted value.
> For example, sf=title~5^2 will give a boost of 2 if one of the normal clauses, originally generated for automatic phrase queries, is located within five positions from the field's start.
> Unit test is included and all tests pass.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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