add information about Payload->BytesRef

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378555 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-08-29 13:51:43 +00:00
parent 45d6f0edc0
commit 660e880347
1 changed files with 5 additions and 0 deletions

View File

@ -626,3 +626,8 @@ you can now do this:
method, StoredFieldVisitor has a needsField method: if that method
returns true then the field will be loaded and the appropriate
type-specific method will be invoked with that fields's value.
* LUCENE-4122: Removed the Payload class and replaced with BytesRef.
PayloadAttribute's name is unchanged, it just uses the BytesRef
class to refer to the payload bytes/start offset/end offset
(or null if there is no payload).