Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 13B1F10E4D for ; Fri, 28 Mar 2014 15:48:58 +0000 (UTC) Received: (qmail 62111 invoked by uid 500); 28 Mar 2014 15:48:46 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 61096 invoked by uid 500); 28 Mar 2014 15:48:42 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 61087 invoked by uid 99); 28 Mar 2014 15:48:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Mar 2014 15:48:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of uwe@thetaphi.de designates 85.25.204.22 as permitted sender) Received: from [85.25.204.22] (HELO mail.sd-datasolutions.de) (85.25.204.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Mar 2014 15:48:38 +0000 Received: from VEGA (unknown [IPv6:2001:1a80:2b03:7301:8e70:5aff:fed1:75a4]) by mail.sd-datasolutions.de (Postfix) with ESMTPSA id 3CF12332086A for ; Fri, 28 Mar 2014 15:48:17 +0000 (UTC) X-NSA-Greeting: Dear NSA, have fun with reading and analyzing this e-mail! From: "Uwe Schindler" To: References: <53355644.4090406@mailarchiva.com> <94F2F5FB-511B-4400-ABF0-D4A5ABBAC335@gmail.com> <53358D12.6030603@mailarchiva.com> <53359829.4050904@mailarchiva.com> In-Reply-To: <53359829.4050904@mailarchiva.com> Subject: RE: Lucene 4.7 intermittently not applying query filter Date: Fri, 28 Mar 2014 16:48:16 +0100 Message-ID: <02a001cf4a9d$22d06f80$68714e80$@thetaphi.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQIf3ZBTwXplfk+JDkI+2YPBDgKdjgIZ+flbAg/jFwsB4pgXagGfUjYNmhggXlA= Content-Language: de X-Virus-Checked: Checked by ClamAV on apache.org Hi Jamie, is your Query Filter also implemented by your team? If this is the case, = maybe you are not correctly implementing the random access = getDocIdSet(), bits(), or you don't correctly handle acceptDocs = parameter in your own DocIdSet / Filter implementation, leading to = random failures. Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: uwe@thetaphi.de > -----Original Message----- > From: Jamie [mailto:jamie@mailarchiva.com] > Sent: Friday, March 28, 2014 4:41 PM > To: java-user@lucene.apache.org > Subject: Re: Lucene 4.7 intermittently not applying query filter >=20 > I beg your pardon. Its our EmailFilter class that emits the tokens. We = do it this > way, since users like to search using individual components of an = email > address. e.g. joe or mycompany.com.au. I think we may have a > synchronization issue at play. I will perform some further testing and = will get > back to you. Thank you. >=20 > On 2014/03/28, 5:28 PM, Steve Rowe wrote: > > Jamie, > > > > UAX29URLEmailTokenizer does not emit email components as tokens; > =E2=80=9Cjohn.doe@mycompany.com.au=E2=80=9D will be tokenized as > =E2=80=9Cjohn.doe@mycompany.com.au=E2=80=9D, nothing more. = That=E2=80=99s why I asked what > EmailFilter does. > > > > If the filter really is ignored by Lucene, that would be a bug in = Lucene. I > think something else is likely going on, though, which is why I asked = you for > an example query matching too many docs and a doc it improperly = matches. > > > > Steve >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org