Return-Path: Delivered-To: apmail-lucene-solr-user-archive@locus.apache.org Received: (qmail 70702 invoked from network); 4 Jan 2007 05:34:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jan 2007 05:34:17 -0000 Received: (qmail 14948 invoked by uid 500); 4 Jan 2007 05:34:23 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 14918 invoked by uid 500); 4 Jan 2007 05:34:23 -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 14899 invoked by uid 99); 4 Jan 2007 05:34:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jan 2007 21:34:22 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of yseeley@gmail.com designates 64.233.182.185 as permitted sender) Received: from [64.233.182.185] (HELO nf-out-0910.google.com) (64.233.182.185) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jan 2007 21:34:13 -0800 Received: by nf-out-0910.google.com with SMTP id n28so6684786nfc for ; Wed, 03 Jan 2007 21:33:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=WT3w45NzvU9U0jx52FH6F0FkyJeqigQACuvNJ/236MtdcZ5N08py5AfKs+LqVDmN6zcB/D3ya+y5chLd5nXcT1RxSZtbpUgRiVV6P5YPFNz7mAaeR+YMR3nYjv01xFpgf16maLY+YvpQgubyzGq2W2nYI+KJ5TDlsr0fxFFrIIU= Received: by 10.82.183.19 with SMTP id g19mr1591717buf.1167888832156; Wed, 03 Jan 2007 21:33:52 -0800 (PST) Received: by 10.82.185.11 with HTTP; Wed, 3 Jan 2007 21:33:52 -0800 (PST) Message-ID: Date: Thu, 4 Jan 2007 00:33:52 -0500 From: "Yonik Seeley" Sender: yseeley@gmail.com To: solr-user@lucene.apache.org Subject: Re: Better highlighting fragmenter In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3d2ce8cb0701031713s9e19b88s144b985cef502b5f@mail.gmail.com> X-Google-Sender-Auth: 63863d6e28cfd5bb X-Virus-Checked: Checked by ClamAV on apache.org On 1/3/07, Walter Underwood wrote: > We tried several APIs and decided that the best was an array of > String with the odd elements containing the strings that needed > highlighting. Good idea... the only thing I could think of was an array of start/end offsets into the string, which is harder to read and probably harder to deal with. -Yonik