Markus Jelsma created LUCENE-4470:
-------------------------------------

             Summary: Expose SpanFirst in eDismax
                 Key: LUCENE-4470
                 URL: https://issues.apache.org/jira/browse/LUCENE-4470
             Project: Lucene - Core
          Issue Type: Improvement
          Components: modules/queryparser
    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.1, 5.0


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to