Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 53B8BD352 for ; Tue, 25 Sep 2012 12:46:09 +0000 (UTC) Received: (qmail 76786 invoked by uid 500); 25 Sep 2012 12:46:08 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 76697 invoked by uid 500); 25 Sep 2012 12:46:08 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 76680 invoked by uid 99); 25 Sep 2012 12:46:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2012 12:46:07 +0000 Date: Tue, 25 Sep 2012 23:46:07 +1100 (NCT) From: "Robert Muir (JIRA)" To: dev@lucene.apache.org Message-ID: <2065627249.121748.1348577167969.JavaMail.jiratomcat@arcas> In-Reply-To: <1910121374.118586.1348519808154.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (LUCENE-4423) DocumentStoredFieldVisitor.binaryField ignores offset and length MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-4423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462707#comment-13462707 ] Robert Muir commented on LUCENE-4423: ------------------------------------- +1 for the patch. Unrelated, its also bogus we have a Field(byte[], int, int) ctor but no Field(byte[], int, int) setter. I guess i don't like the inconsistency: but its all sugar for BytesRef anyway. > DocumentStoredFieldVisitor.binaryField ignores offset and length > ---------------------------------------------------------------- > > Key: LUCENE-4423 > URL: https://issues.apache.org/jira/browse/LUCENE-4423 > Project: Lucene - Core > Issue Type: Bug > Components: core/store > Reporter: Adrien Grand > Attachments: LUCENE-4423.patch, LUCENE-4423.patch > > > This is no problem with SimpleText and Lucene40 since in their cases, offset is always 0 and length the length of the byte[] array, but it might break with custom codecs. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org