diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-04-17 09:33:53 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2020-06-22 12:47:00 +0000 |
commit | b56785323aaf66f1db473db130c2126ffdd76b9b (patch) | |
tree | 5b10903d9d500e2fe37cdfd8a5e078b4928c2753 /searchcore/src/apps/proton/proton.cpp | |
parent | f323d7eadd378266f2523cf0771aa00abbcd8b0a (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.cpp | 6 |
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), |