Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 30317 invoked from network); 1 Sep 2010 10:35:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Sep 2010 10:35:43 -0000 Received: (qmail 30451 invoked by uid 500); 1 Sep 2010 10:35:41 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 30320 invoked by uid 500); 1 Sep 2010 10:35:38 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 30312 invoked by uid 99); 1 Sep 2010 10:35:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 10:35:37 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 212.54.43.150 is neither permitted nor denied by domain of markus.jelsma@buyways.nl) Received: from [212.54.43.150] (HELO smtpq1.hgv.b2b.iss.as9143.net) (212.54.43.150) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 10:35:29 +0000 Received: from [212.54.43.73] (helo=smtp2.hgv.b2b.iss.as9143.net) by smtpq1.hgv.b2b.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1Oqkeq-0002B5-MN for solr-user@lucene.apache.org; Wed, 01 Sep 2010 12:35:08 +0200 Received: from atwork-154.r-212.178.116.atwork.nl ([212.178.116.154] helo=waldo.buyways.nl) by smtp2.hgv.b2b.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1Oqkeq-0006Z8-0K for solr-user@lucene.apache.org; Wed, 01 Sep 2010 12:35:08 +0200 Received: from localhost (localhost [127.0.0.1]) by waldo.buyways.nl (Postfix) with ESMTP id DD2752C46B1 for ; Wed, 1 Sep 2010 12:35:07 +0200 (CEST) Received: from waldo.buyways.nl ([127.0.0.1]) by localhost (waldo.buyways.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id polt8mteszlN for ; Wed, 1 Sep 2010 12:35:07 +0200 (CEST) Received: from zealand.localnet (beauregard.buyways.nl [192.168.217.1]) by waldo.buyways.nl (Postfix) with ESMTP id C938E2C465C for ; Wed, 1 Sep 2010 12:35:07 +0200 (CEST) From: Markus Jelsma Reply-To: markus.jelsma@buyways.nl Organization: Buyways To: solr-user@lucene.apache.org Subject: Re: Proximity search + Highlighting Date: Wed, 1 Sep 2010 12:38:21 +0200 User-Agent: KMail/1.12.2 (Linux/2.6.31-22-generic; KDE/4.3.2; i686; ; ) References: <4C7E26FB.2060906@sciences-po.fr> In-Reply-To: <4C7E26FB.2060906@sciences-po.fr> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201009011238.22166.markus.jelsma@buyways.nl> X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1Oqkeq-0006Z8-0K X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=2.489, vereist 8, BAYES_50 0.00, CM_REPLY_NOARROW 0.30, FH_HOST_ALMOST_IP 1.89, HK_MUCHMONEY 0.30, SPF_PASS -0.00) X-ZiggoSMTP-MailScanner-SpamScore: ss X-ZiggoSMTP-MailScanner-From: markus.jelsma@buyways.nl X-Old-Spam-Status: No I think you need to enable usePhraseHighlighter in order to use the highlightMultiTerm parameter. On Wednesday 01 September 2010 12:12:11 Xavier Schepler wrote: > Hi, > > can the highlighting component highlight terms only if the distance > between them matches the query ? > I use those parameters : > > hl=on&hl.fl=qFR,iFR,mFR,vlFR&hl.usePhraseHighlighter=false&hl.highlightMult > iTerm=true&hl.simple.pre=&hl.simple.post=<%2Fb>&hl.mergeContiguous=false > Markus Jelsma - Technisch Architect - Buyways BV http://www.linkedin.com/in/markus17 050-8536620 / 06-50258350