Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 85749 invoked from network); 26 Feb 2009 21:27:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Feb 2009 21:27:28 -0000 Received: (qmail 92641 invoked by uid 500); 26 Feb 2009 21:27:26 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 92619 invoked by uid 500); 26 Feb 2009 21:27:26 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 92608 invoked by uid 99); 26 Feb 2009 21:27:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2009 13:27:26 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mreutegg@day.com designates 207.126.148.182 as permitted sender) Received: from [207.126.148.182] (HELO eu3sys201aog002.obsmtp.com) (207.126.148.182) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 26 Feb 2009 21:27:17 +0000 Received: from source ([209.85.220.168]) by eu3sys201aob002.postini.com ([207.126.154.11]) with SMTP ID DSNKSacJIcAhobm/pT29Xp4M9Nr7RFY3qhhE@postini.com; Thu, 26 Feb 2009 21:26:57 UTC Received: by fxm12 with SMTP id 12so907317fxm.5 for ; Thu, 26 Feb 2009 13:26:57 -0800 (PST) MIME-Version: 1.0 Sender: mreutegg@day.com Received: by 10.181.55.2 with SMTP id h2mr594169bkk.52.1235683617090; Thu, 26 Feb 2009 13:26:57 -0800 (PST) In-Reply-To: References: <22220831.post@talk.nabble.com> <22231363.post@talk.nabble.com> Date: Thu, 26 Feb 2009 22:26:57 +0100 X-Google-Sender-Auth: 46ead969740b6e3b Message-ID: Subject: Re: Slashes in wildcard query string do not work From: Marcel Reutegger To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, On Thu, Feb 26, 2009 at 21:47, Alexander Klimetschek wrote: > On Thu, Feb 26, 2009 at 8:11 PM, PThiemann >> Does anyone know if query highlighing is supported with jcr:like? > > Yes, I think this is the case. no, it's not supported. only query terms in a jcr:contains are considered for highlighting. > It seems the default excerpt > highlighting is not able to handle wildcards. yes, it is, but only from jcr:contains. it does not depend on the excerpt provider, but on the underlying lucene query being able to provide terms on Query.extractTerms(Set). The wildcard query does this by expanding the pattern and collect all matching tokens in the index. this process is however limited to 1024 tokens. if your pattern matches more than 1024 distinct tokens in the index, you won't get any highlighted terms in the excerpt for the wildcard term. regards marcel