Return-Path: Delivered-To: apmail-lucene-java-commits-archive@www.apache.org Received: (qmail 45393 invoked from network); 16 Jun 2007 23:26:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jun 2007 23:26:00 -0000 Received: (qmail 98396 invoked by uid 500); 16 Jun 2007 23:26:04 -0000 Delivered-To: apmail-lucene-java-commits-archive@lucene.apache.org Received: (qmail 98363 invoked by uid 500); 16 Jun 2007 23:26:04 -0000 Mailing-List: contact java-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-commits@lucene.apache.org Received: (qmail 98348 invoked by uid 99); 16 Jun 2007 23:26:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jun 2007 16:26:03 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jun 2007 16:25:59 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 59A161A981A; Sat, 16 Jun 2007 16:25:39 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r547995 - /lucene/java/trunk/src/java/org/apache/lucene/search/Similarity.java Date: Sat, 16 Jun 2007 23:25:38 -0000 To: java-commits@lucene.apache.org From: buschmi@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070616232539.59A161A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: buschmi Date: Sat Jun 16 16:25:34 2007 New Revision: 547995 URL: http://svn.apache.org/viewvc?view=rev&rev=547995 Log: LUCENE-910: Change of the Payload javadoc comment in Similarity.java Modified: lucene/java/trunk/src/java/org/apache/lucene/search/Similarity.java Modified: lucene/java/trunk/src/java/org/apache/lucene/search/Similarity.java URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/Similarity.java?view=diff&rev=547995&r1=547994&r2=547995 ============================================================================== --- lucene/java/trunk/src/java/org/apache/lucene/search/Similarity.java (original) +++ lucene/java/trunk/src/java/org/apache/lucene/search/Similarity.java Sat Jun 16 16:25:34 2007 @@ -513,17 +513,16 @@ * what is in the byte array. *

* The default implementation returns 1. + *
+ *

+ * WARNING: The status of the Payloads feature is experimental. + * The APIs introduced here might change in the future and will not be + * supported anymore in such a case. * * @param payload The payload byte array to be scored * @param offset The offset into the payload array * @param length The length in the array * @return An implementation dependent float to be used as a scoring factor - * - * Warning: The status of the Payloads feature is experimental. The APIs - * introduced here might change in the future and will not be supported anymore - * in such a case. If you want to use this feature in a production environment - * you should wait for an official release. - * */ // TODO: Remove warning after API has been finalized public float scorePayload(byte [] payload, int offset, int length)