Do you have the RowIds and RecordIds to fetch?  If so then fetchRowBatch
should only fetch in multiple threads across shards.  Meaning that it will
be one thread per shard (I think).  However there is another way to do
this.  You could simply do a record only query with an ORed list of
recordids.

recordid:(rec1 rec2 rec3 rec4 ...)

That should also give you the behavior that you want.  Let me know if you
have any more questions.

Aaron




On Tue, Mar 11, 2014 at 7:01 AM, Ravikumar Govindarajan <
[email protected]> wrote:

> I am wondering if it's possible to fetchRow for a list<recordIds>.
>
> Ex:
> RowId=100, RecordIds=2,3,4,5,6
> RowId=200, RecordIds=40,50
>
> I saw that fetchRow supports only one recordId, while fetchRowBatch
> mandates me to create lot of threads to fetch by individual recordIds
>
> --
> Ravi
>

Reply via email to