summaryrefslogtreecommitdiffstats
path: root/searchcore/src/apps/proton/proton.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-04-17 09:33:53 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-06-22 12:47:00 +0000
commitb56785323aaf66f1db473db130c2126ffdd76b9b (patch)
tree5b10903d9d500e2fe37cdfd8a5e078b4928c2753 /searchcore/src/apps/proton/proton.cpp
parentf323d7eadd378266f2523cf0771aa00abbcd8b0a (diff)
Add a rank feature that will use the distribution key to provide a globally unique number.
unique = (docId << 16 | distributionKey)
Diffstat (limited to 'searchcore/src/apps/proton/proton.cpp')
-rw-r--r--searchcore/src/apps/proton/proton.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/searchcore/src/apps/proton/proton.cpp b/searchcore/src/apps/proton/proton.cpp
index 8f2be3257fc..8709b0d01b1 100644
--- a/searchcore/src/apps/proton/proton.cpp
+++ b/searchcore/src/apps/proton/proton.cpp
@@ -124,11 +124,9 @@ public:
int64_t getGeneration() const override;
};
-ProtonServiceLayerProcess::ProtonServiceLayerProcess(const config::ConfigUri &
- configUri,
+ProtonServiceLayerProcess::ProtonServiceLayerProcess(const config::ConfigUri & configUri,
proton::Proton & proton,
- PersistenceProvider *
- downPersistence)
+ PersistenceProvider * downPersistence)
: ServiceLayerProcess(configUri),
_proton(proton),
_metricManager(nullptr),