Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 34454 invoked from network); 23 Feb 2007 01:26:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Feb 2007 01:26:22 -0000 Received: (qmail 74687 invoked by uid 500); 23 Feb 2007 01:26:25 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 74453 invoked by uid 500); 23 Feb 2007 01:26:24 -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 74442 invoked by uid 99); 23 Feb 2007 01:26:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Feb 2007 17:26:24 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [212.226.92.15] (HELO monkey.teamware.com) (212.226.92.15) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Feb 2007 17:26:13 -0800 Received: from nimitz (nimitz.teamw.com [10.142.128.10]) by monkey.teamware.com (8.13.1/8.13.1) with ESMTP id l1N1Pl30013801 for ; Fri, 23 Feb 2007 03:25:47 +0200 Received: from [10.142.3.10] ([10.142.3.10]) by nimitz with ESMTP id m2n3p8lq; 23 Feb 2007 03:25:00 +0200 Message-ID: <45DE429F.4020203@teamware.com> Date: Fri, 23 Feb 2007 12:25:51 +1100 From: Antony Bowesman Organization: Teamware Group User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Re: Positions in SpanFirst References: <45DC28E0.4070604@teamware.com> <359a92830702210516h2d0faa55id9a71f5e8bd1312c@mail.gmail.com> <45DCABC9.7060303@teamware.com> <359a92830702211359r2705dcbegdbfa6411b3b4b170@mail.gmail.com> <45DCDF3D.4070305@teamware.com> <359a92830702211640n6eb2eb94n7ec8306cc867a237@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (monkey.teamware.com [212.226.92.15]); Fri, 23 Feb 2007 03:25:47 +0200 (EET) X-TWG-MailScanner-Information: See www.mailscanner.info for information X-TWG-MailScanner: Found to be clean X-TWG-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.001, required 5, autolearn=not spam, BAYES_50 0.00) X-MailScanner-From: adb@teamware.com X-Virus-Checked: Checked by ClamAV on apache.org Chris Hostetter wrote: > : So I don't see why using a SpanNear that respects order and a large > : IncrementGap won't solve your problem...... Although it would return "odd" > > i think the use case he's worreid about is that he needs to be able to > find matches just on the "start" of a persons name, ie... > > Email#1 To: Jim Bob; Sue Anne-Marie Brown; John Doe > Email#2 To: Tom Smith; Bob Jones; John Doe > > ...he needs to support existing semantics that let him say "find emails > where the start of a persons name is 'bob' and it returns Email#2, but not > email#1 .. hence his interest in SpanFirst -- he wants to match the > "first" few tokens of a "value" added to a field (which isn't waht > SpanFirst does) Correct. That's one of the current search mechanisms. It's not a major issue and I think I'll probably end up ducking it on the basis that the system directory defaults to a surname/firstname name order, but of course there's no guarantee that mail from other systems will have those names in that order, e.g. #1 To: Bowesman Antony #2 To: Antony Bowesman makes this 'starts with' feature less useful. Thanks again Hoss and Erick for the suggestions! This list is excellent and I do wonder if you guys actually have day jobs that you are able to do as well as give the amount of time you seem to on this list! Antony --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org