Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 15992 invoked from network); 25 Dec 2008 18:13:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Dec 2008 18:13:39 -0000 Received: (qmail 80764 invoked by uid 500); 25 Dec 2008 18:13:32 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 80732 invoked by uid 500); 25 Dec 2008 18:13:32 -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 80721 invoked by uid 99); 25 Dec 2008 18:13:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Dec 2008 10:13:32 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ianvink@gmail.com designates 209.85.218.16 as permitted sender) Received: from [209.85.218.16] (HELO mail-bw0-f16.google.com) (209.85.218.16) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Dec 2008 18:13:24 +0000 Received: by bwz9 with SMTP id 9so9425750bwz.5 for ; Thu, 25 Dec 2008 10:13:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=y0W/QP2jP5tDNyYmXo77LGIdD7vaIX830lgTkN9r92k=; b=Q0xDIryvyKdncyl3gY49OIvpItdutph4jyT6XCnneLDsRNWPhjd/56efew9Bkl1f1g nREVJX9PN8N/fEjgJ4gepGBOk1PK2woPkOLKRQOLiXR0gx86nqnV74J+W0Y5x/xWcQif Es3z6XdyNm6QvidOyrgxDob9eahTqi90D63M4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=MklrF6OEnjWB1CxblWfkz+7MR7X5mvQ9pVI5bVm05Z7uPhwGzwKGASq8NZA5BIwLYy Gef5wysVKvM7IVNzfMeIWHuG6tHGTcutseiWJa/ie+5IOB3Kh9c0TBpGTAXUxO4IFd9l d9LRz1SWBeJFsK/QCY/U8XRSVy+sEPoooC+k8= Received: by 10.181.37.6 with SMTP id p6mr2680222bkj.197.1230228783960; Thu, 25 Dec 2008 10:13:03 -0800 (PST) Received: by 10.180.210.11 with HTTP; Thu, 25 Dec 2008 10:13:03 -0800 (PST) Message-ID: <5d53d5770812251013j71ccbf67jfccc9c51208d483b@mail.gmail.com> Date: Thu, 25 Dec 2008 14:13:03 -0400 From: "Ian Vink" To: java-user@lucene.apache.org Subject: Fast string access - Best Practise? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_22367_30697846.1230228783950" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_22367_30697846.1230228783950 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Which of these is the better practice: myTitle = luceneDocment.GetField("title").StringValue(); or myTitle = luceneDocment.Get("title"); Thanks in advance. Ian ------=_Part_22367_30697846.1230228783950--