All requests are serialized and deserialized at shard level, it is the only
method of creating executable Lucene queries. There is no "client-server
mode" at shard level. There would be no huge performance gain of "directly
pass in and out", there is nothing much to win, because sooner or later you
need executable Lucene query objects for this shard.

Jörg

On Mon, Apr 13, 2015 at 5:07 AM, Ted Smith <[email protected]> wrote:

> Hello:
>
> I am running ES with one Node, one Shard in embedded Java app.
> Does Node client run in "true" embedded mode or is it still going
> through the client server data flow?
>
> If I create a Search Request, object and excute it, get it,
> would ES first serialize it into Json data and send to a server thread
> which would deserialize it,  and then get result, convert it to Json
> and send back to client, which would convert it into java object?
>
> I'd expect in "true" embedded mode, the search object and result object
> would be directly pass in and out, without the overhead of client-server
> mode,
> which could be huge performance gain.
>
> Thanks
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/837f8bc5-7266-4673-84d4-44a73dde7cb9%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/837f8bc5-7266-4673-84d4-44a73dde7cb9%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGMXPVmTD%2Bp5LEZu2g%3D%2BhhpTF38EROELROAZqocmdxbvA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to