On 20 March 2014 06:10, wrote:
> Oh yes you are right. There was a mistake in my calculation.
>
> Well I'll try without the submessage. The count of docid and of score is
> always the same. So there is no Problem for me.
>
> But it's sad that java takes around 2 seconds to send the Message to the
Oh yes you are right. There was a mistake in my calculation.
Well I'll try without the submessage. The count of docid and of score is
always the same. So there is no Problem for me.
But it's sad that java takes around 2 seconds to send the Message to the
server, recieve the Response and display
On Thu, Mar 20, 2014 at 8:40 AM, wrote:
> The message will be changed. Score isn't optional. Every docid has a score.
>
> I could try it as you suggested. Without the message.
>
> But I'm a little bit confused.
>
> I tried it with Java and with C++. Java can parse the Response in less than
> a se
The message will be changed. Score isn't optional. Every docid has a score.
I could try it as you suggested. Without the message.
But I'm a little bit confused.
I tried it with Java and with C++. Java can parse the Response in less than
a second. C++ takes 20-25 seconds. Both times it is the sa
On Thu, Mar 20, 2014 at 3:28 AM, wrote:
> Hello,
>
> I have a message type like this:
>
> message SearchResponse {
> enum Status {
> OK = 200;
> BAD_REQUEST = 400;
> REQUEST_TIMEOUT = 408;
> INTERNAL_SERVER_ERROR = 500;
> }
> required Status status = 1;
Hello,
I have a message type like this:
message SearchResponse {
enum Status {
OK = 200;
BAD_REQUEST = 400;
REQUEST_TIMEOUT = 408;
INTERNAL_SERVER_ERROR = 500;
}
required Status status = 1;
message Result {
required int32 docid = 1;