read bytes reference in shard count request

This commit is contained in:
Shay Banon 2012-01-08 13:21:03 +02:00
parent 0941d157be
commit 638a8a19e4
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class ShardCountRequest extends BroadcastShardOperationRequest {
super.readFrom(in); super.readFrom(in);
minScore = in.readFloat(); minScore = in.readFloat();
BytesHolder bytes = in.readBytesHolder(); BytesHolder bytes = in.readBytesReference();
querySource = bytes.bytes(); querySource = bytes.bytes();
querySourceOffset = bytes.offset(); querySourceOffset = bytes.offset();
querySourceLength = bytes.length(); querySourceLength = bytes.length();