You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ab...@apache.org on 2012/06/08 22:06:25 UTC
svn commit: r1348222 - in /lucene/dev/trunk/lucene:
analysis/common/src/java/org/apache/lucene/analysis/payloads/
core/src/java/org/apache/lucene/analysis/
core/src/java/org/apache/lucene/codecs/lucene40/
facet/src/java/org/apache/lucene/facet/index/
Author: ab
Date: Fri Jun 8 20:06:24 2012
New Revision: 1348222
URL: http://svn.apache.org/viewvc?rev=1348222&view=rev
Log:
LUCENE-4122 Remove other non-fatal refs to Payload.
Modified:
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/FloatEncoder.java
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/IntegerEncoder.java
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/PayloadEncoder.java
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/analysis/Token.java
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40PostingsFormat.java
lucene/dev/trunk/lucene/facet/src/java/org/apache/lucene/facet/index/CategoryListPayloadStream.java
Modified: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/FloatEncoder.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/FloatEncoder.java?rev=1348222&r1=1348221&r2=1348222&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/FloatEncoder.java (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/FloatEncoder.java Fri Jun 8 20:06:24 2012
@@ -20,7 +20,7 @@ import org.apache.lucene.util.BytesRef;
*/
/**
- * Encode a character array Float as a {@link org.apache.lucene.index.Payload}.
+ * Encode a character array Float as a {@link BytesRef}.
* <p/>
* @see org.apache.lucene.analysis.payloads.PayloadHelper#encodeFloat(float, byte[], int)
*
Modified: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/IntegerEncoder.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/IntegerEncoder.java?rev=1348222&r1=1348221&r2=1348222&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/IntegerEncoder.java (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/IntegerEncoder.java Fri Jun 8 20:06:24 2012
@@ -21,7 +21,7 @@ import org.apache.lucene.util.BytesRef;
/**
- * Encode a character array Integer as a {@link org.apache.lucene.index.Payload}.
+ * Encode a character array Integer as a {@link BytesRef}.
* <p/>
* See {@link org.apache.lucene.analysis.payloads.PayloadHelper#encodeInt(int, byte[], int)}.
*
Modified: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/PayloadEncoder.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/PayloadEncoder.java?rev=1348222&r1=1348221&r2=1348222&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/PayloadEncoder.java (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/PayloadEncoder.java Fri Jun 8 20:06:24 2012
@@ -21,7 +21,8 @@ import org.apache.lucene.util.BytesRef;
/**
- * Mainly for use with the DelimitedPayloadTokenFilter, converts char buffers to Payload.
+ * Mainly for use with the DelimitedPayloadTokenFilter, converts char buffers to
+ * {@link BytesRef}.
* <p/>
* NOTE: This interface is subject to change
*
@@ -31,7 +32,7 @@ public interface PayloadEncoder {
BytesRef encode(char[] buffer);
/**
- * Convert a char array to a {@link org.apache.lucene.index.Payload}
+ * Convert a char array to a {@link BytesRef}
* @param buffer
* @param offset
* @param length
Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/analysis/Token.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/analysis/Token.java?rev=1348222&r1=1348221&r2=1348222&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/analysis/Token.java (original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/analysis/Token.java Fri Jun 8 20:06:24 2012
@@ -46,7 +46,7 @@ import org.apache.lucene.util.BytesRef;
belongs to. For example an end of sentence marker token might be implemented
with type "eos". The default token type is "word".
<p>
- A Token can optionally have metadata (a.k.a. Payload) in the form of a variable
+ A Token can optionally have metadata (a.k.a. payload) in the form of a variable
length byte array. Use {@link DocsAndPositionsEnum#getPayload()} to retrieve the
payloads from the index.
Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40PostingsFormat.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40PostingsFormat.java?rev=1348222&r1=1348221&r2=1348222&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40PostingsFormat.java (original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40PostingsFormat.java Fri Jun 8 20:06:24 2012
@@ -254,8 +254,8 @@ import org.apache.lucene.util.fst.FST; /
* <p>4, 5, 4</p>
* <p>PayloadData is metadata associated with the current term position. If
* PayloadLength is stored at the current position, then it indicates the length
- * of this Payload. If PayloadLength is not stored, then this Payload has the same
- * length as the Payload at the previous position.</p>
+ * of this payload. If PayloadLength is not stored, then this payload has the same
+ * length as the payload at the previous position.</p>
* <p>OffsetDelta/2 is the difference between this position's startOffset from the
* previous occurrence (or zero, if this is the first occurrence in this document).
* If OffsetDelta is odd, then the length (endOffset-startOffset) differs from the
Modified: lucene/dev/trunk/lucene/facet/src/java/org/apache/lucene/facet/index/CategoryListPayloadStream.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/facet/src/java/org/apache/lucene/facet/index/CategoryListPayloadStream.java?rev=1348222&r1=1348221&r2=1348222&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/facet/src/java/org/apache/lucene/facet/index/CategoryListPayloadStream.java (original)
+++ lucene/dev/trunk/lucene/facet/src/java/org/apache/lucene/facet/index/CategoryListPayloadStream.java Fri Jun 8 20:06:24 2012
@@ -24,7 +24,7 @@ import org.apache.lucene.util.encoding.I
/**
* Accumulates category IDs for a single document, for writing in byte array
- * form, for example, to a Lucene Payload.
+ * form, for example, to a Lucene payload.
*
* @lucene.experimental
*/
@@ -33,7 +33,7 @@ public class CategoryListPayloadStream {
private ByteArrayOutputStream baos = new ByteArrayOutputStream(50);
private IntEncoder encoder;
- /** Creates a Payload stream using the specified encoder. */
+ /** Creates a payload stream using the specified encoder. */
public CategoryListPayloadStream(IntEncoder encoder) {
this.encoder = encoder;
this.encoder.reInit(baos);