LUCENE-4122 Remove other non-fatal refs to Payload.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348222 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrzej Bialecki 2012-06-08 20:06:24 +00:00
parent 28cc18d23d
commit 694d75773d
6 changed files with 10 additions and 9 deletions

View File

@ -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)
*

View File

@ -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)}.
*

View File

@ -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

View File

@ -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.

View File

@ -254,8 +254,8 @@ import org.apache.lucene.util.fst.FST; // javadocs
* <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

View File

@ -24,7 +24,7 @@ import org.apache.lucene.util.encoding.IntEncoder;
/**
* 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);