Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AD4B7D0C9 for ; Wed, 10 Oct 2012 11:15:44 +0000 (UTC) Received: (qmail 98460 invoked by uid 500); 10 Oct 2012 11:15:25 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 98238 invoked by uid 500); 10 Oct 2012 11:15:25 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 98069 invoked by uid 99); 10 Oct 2012 11:15:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2012 11:15:25 +0000 Date: Wed, 10 Oct 2012 11:15:25 +0000 (UTC) From: "Markus Jelsma (JIRA)" To: dev@lucene.apache.org Message-ID: <1919927656.19339.1349867725415.JavaMail.jiratomcat@arcas> In-Reply-To: <454510127.19168.1349867703057.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (LUCENE-4470) Expose SpanFirst in eDismax MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-4470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Markus Jelsma updated LUCENE-4470: ---------------------------------- Attachment: SOLR-4470-trunk-1.patch > 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 > > Attachments: SOLR-4470-trunk-1.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 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-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org