Return-Path: Delivered-To: apmail-incubator-lucene-net-commits-archive@minotaur.apache.org Received: (qmail 36434 invoked from network); 5 Aug 2009 17:52:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Aug 2009 17:52:19 -0000 Received: (qmail 20600 invoked by uid 500); 5 Aug 2009 17:52:27 -0000 Delivered-To: apmail-incubator-lucene-net-commits-archive@incubator.apache.org Received: (qmail 20551 invoked by uid 500); 5 Aug 2009 17:52:27 -0000 Mailing-List: contact lucene-net-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucene-net-dev@incubator.apache.org Delivered-To: mailing list lucene-net-commits@incubator.apache.org Received: (qmail 20542 invoked by uid 99); 5 Aug 2009 17:52:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 17:52:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 17:52:16 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0E8152388857; Wed, 5 Aug 2009 17:51:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r801336 - /incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentTermVector.cs Date: Wed, 05 Aug 2009 17:51:55 -0000 To: lucene-net-commits@incubator.apache.org From: digy@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090805175156.0E8152388857@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: digy Date: Wed Aug 5 17:51:55 2009 New Revision: 801336 URL: http://svn.apache.org/viewvc?rev=801336&view=rev Log: LUCENENET-183 for Lucene.Net 2.4.0 Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentTermVector.cs Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentTermVector.cs URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Index/SegmentTermVector.cs?rev=801336&r1=801335&r2=801336&view=diff ============================================================================== --- incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentTermVector.cs (original) +++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentTermVector.cs Wed Aug 5 17:51:55 2009 @@ -78,7 +78,7 @@ { if (terms == null) return - 1; - int res = System.Array.BinarySearch(terms, termText); + int res = System.Array.BinarySearch(terms, termText, StringComparer.Ordinal); return res >= 0 ? res : - 1; }