aboutsummaryrefslogtreecommitdiffstats
path: root/documentapi
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2023-04-21 13:43:56 +0200
committerTor Egge <Tor.Egge@online.no>2023-04-21 13:43:56 +0200
commit25bb1d2132bf569d424988a3f72c94f616e03b2d (patch)
treeccb48230a39585a68bde4fa9640d5ce14472f48c /documentapi
parentbb882d760f931c655a569f3d09744021395203b0 (diff)
Add comments describing that SearchResult and DocumentSummary messages and replies were replaced
by QueryResult message and reply in 2010.
Diffstat (limited to 'documentapi')
-rwxr-xr-xdocumentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/DocumentProtocol.java2
-rw-r--r--documentapi/src/vespa/documentapi/messagebus/documentprotocol.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/DocumentProtocol.java b/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/DocumentProtocol.java
index 554e97b38fc..6185437a48f 100755
--- a/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/DocumentProtocol.java
+++ b/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/DocumentProtocol.java
@@ -50,6 +50,7 @@ public class DocumentProtocol implements Protocol {
public static final int MESSAGE_CREATEVISITOR = DOCUMENT_MESSAGE + 7;
public static final int MESSAGE_DESTROYVISITOR = DOCUMENT_MESSAGE + 8;
public static final int MESSAGE_VISITORINFO = DOCUMENT_MESSAGE + 9;
+ // SearchResult and DocumentSummary messages were replaced by QueryResult message in 2010.
// public static final int MESSAGE_SEARCHRESULT = DOCUMENT_MESSAGE + 11;
// public static final int MESSAGE_DOCUMENTSUMMARY = DOCUMENT_MESSAGE + 14;
public static final int MESSAGE_MAPVISITOR = DOCUMENT_MESSAGE + 15;
@@ -70,6 +71,7 @@ public class DocumentProtocol implements Protocol {
public static final int REPLY_CREATEVISITOR = DOCUMENT_REPLY + 7;
public static final int REPLY_DESTROYVISITOR = DOCUMENT_REPLY + 8;
public static final int REPLY_VISITORINFO = DOCUMENT_REPLY + 9;
+ // SearchResult and DocumentSummary replies were replaced by QueryResult reply in 2010.
// public static final int REPLY_SEARCHRESULT = DOCUMENT_REPLY + 11;
// public static final int REPLY_DOCUMENTSUMMARY = DOCUMENT_REPLY + 14;
public static final int REPLY_MAPVISITOR = DOCUMENT_REPLY + 15;
diff --git a/documentapi/src/vespa/documentapi/messagebus/documentprotocol.h b/documentapi/src/vespa/documentapi/messagebus/documentprotocol.h
index 879f769af3b..d91d355c567 100644
--- a/documentapi/src/vespa/documentapi/messagebus/documentprotocol.h
+++ b/documentapi/src/vespa/documentapi/messagebus/documentprotocol.h
@@ -55,6 +55,7 @@ public:
MESSAGE_CREATEVISITOR = DOCUMENT_MESSAGE + 7,
MESSAGE_DESTROYVISITOR = DOCUMENT_MESSAGE + 8,
MESSAGE_VISITORINFO = DOCUMENT_MESSAGE + 9,
+ // SearchResult and DocumentSummary messages were replaced by QueryResult message in 2010.
// MESSAGE_SEARCHRESULT = DOCUMENT_MESSAGE + 11,
//MESSAGE_MULTIOPERATION = DOCUMENT_MESSAGE + 13,
// MESSAGE_DOCUMENTSUMMARY = DOCUMENT_MESSAGE + 14,
@@ -78,6 +79,7 @@ public:
REPLY_CREATEVISITOR = DOCUMENT_REPLY + 7,
REPLY_DESTROYVISITOR = DOCUMENT_REPLY + 8,
REPLY_VISITORINFO = DOCUMENT_REPLY + 9,
+ // SearchResult and DocumentSummary replies were replaced by QueryResult reply in 2010.
// REPLY_SEARCHRESULT = DOCUMENT_REPLY + 11,
//REPLY_MULTIOPERATION = DOCUMENT_REPLY + 13,
// REPLY_DOCUMENTSUMMARY = DOCUMENT_REPLY + 14,