aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #6439 from vespa-engine/balder/lift-rankitemHenning Baldersheim2018-07-203-4/+53
|\ | | | | Balder/lift rankitem
| * Only necessary to do the cast once.Henning Baldersheim2018-07-201-2/+3
| |
| * Add a test that RankItems stay on top after whitelisting.Henning Baldersheim2018-07-202-0/+40
| |
| * If the root is a RankItem, add the whitelist to the first child in an and.Henning Baldersheim2018-07-201-4/+12
| |
* | Add control of cache update policy when an item changes value.Henning Baldersheim2018-07-195-5/+21
|/
* Actually test what you claimHenning Baldersheim2018-07-191-2/+2
|
* Merge pull request #6413 from vespa-engine/balder/prevent-large-adjustmentsHenning Baldersheim2018-07-184-15/+89
|\ | | | | Balder/prevent large adjustments
| * Extend test and fix typos.Henning Baldersheim2018-07-182-5/+27
| |
| * - std::make_xxxHenning Baldersheim2018-07-172-11/+12
| | | | | | | | - c++11 for loop
| * Prevent changes above 10%Henning Baldersheim2018-07-172-0/+12
| |
| * Prevent division by zero and large relative changes on very small numbers.Henning Baldersheim2018-07-172-4/+43
| |
* | Revert "As we changed to add a 5% summary cache some time ago, we should ↵Harald Musum2018-07-171-1/+1
|/ | | | also…"
* Merge pull request #6402 from vespa-engine/balder/reduce-sleepHenning Baldersheim2018-07-175-145/+83
|\ | | | | Balder/reduce sleep
| * Update commentHenning Baldersheim2018-07-171-1/+1
| |
| * Reduce wait between same targets to from 1s to 100msHenning Baldersheim2018-07-171-1/+1
| |
| * Only wait 1 ms between targetsHenning Baldersheim2018-07-171-3/+4
| |
| * Use std::move and std:.make_xxxx.Henning Baldersheim2018-07-175-50/+30
| |
| * - Use std::make_unique/shared.Henning Baldersheim2018-07-172-90/+47
| | | | | | | | | | | | | | - Unify alignment - deduplicate code. - Remove unused code. - NULL -> nullptr.
* | As we changed to add a 5% summary cache some time ago, we should also change ↵Henning Baldersheim2018-07-161-1/+1
|/ | | | | | default read to DIRECTIO. That was an oversight at the time.
* Ensure that all attribute iterators expose the search context creating the ↵Geir Storli2018-06-251-9/+12
| | | | | | iterator. This ensures that also fast-search struct field attributes work together with the sameElement operator.
* Merge pull request #6255 from vespa-engine/balder/invert-and-simplifyHenning Baldersheim2018-06-211-8/+5
|\ | | | | Invert the logic and simplify the loop.
| * Invert the logic and simplify the loop.Henning Baldersheim2018-06-211-8/+5
| |
* | some more cleanupArne Juul2018-06-205-7/+6
| |
* | move LOG_SETUP after other includesArne Juul2018-06-2019-52/+49
| |
* | add and use HDR_ABORT insteadArne Juul2018-06-202-4/+6
| |
* | Merge branch 'master' into arnej/use-log-abortArne Juul2018-06-2057-321/+482
|\|
| * Reduce default feeding.concurrency from 0.5 to 0.2.Geir Storli2018-06-191-1/+1
| | | | | | | | This should reduce problems with query latency spikes during re-distribution of data.
| * Add missing ')'Henning Baldersheim2018-06-181-1/+1
| |
| * Use correct prefix name when selecting executor.Henning Baldersheim2018-06-173-9/+4
| |
| * - Remove the execute(string, ...) and force the use of ExecutorId.Henning Baldersheim2018-06-178-65/+50
| | | | | | | | | | - Remove some double bookkeeping in AttributeWriter. - Ensure that we always use attribute.getNamePrefix() to compute executor id.
| * Rewrite test to enure AttributeWriter is given a fully populated ↵Henning Baldersheim2018-06-172-26/+31
| | | | | | | | AttributeManager
| * Choose executorId the same way both places.Henning Baldersheim2018-06-161-3/+7
| |
| * Precompute and store attribute and executor id together in a single hashmap.Henning Baldersheim2018-06-162-7/+18
| | | | | | | | the executor id so complex fields use the same executor.
| * Catch explicit known exceptions and return correct error code.Henning Baldersheim2018-06-142-26/+39
| |
| * Merge pull request #6185 from ↵Henning Baldersheim2018-06-1437-145/+147
| |\ | | | | | | | | | | | | vespa-engine/balder/balder/prepare-lazy-deserialize-rebased-2 Balder/balder/prepare lazy deserialize rebased 2
| | * Reduce code visibility and C++11ification.Henning Baldersheim2018-06-1429-122/+119
| | |
| | * Reinstate update verificationHenning Baldersheim2018-06-144-7/+5
| | |
| | * Temporarily disable testHenning Baldersheim2018-06-131-0/+4
| | |
| | * 1 - Use a backing buffer for the DocumentUpdate that always is source of truth.Henning Baldersheim2018-06-128-20/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2 - Use this buffer for re-serialization. 3 - Make deserialization lazy where possible. Currently lazy on replay and when arriving over the storageapi. Still needs to eager over documentapi. 4 - Deserialize eagerly in the persistence thread since those are plentyfull and not bottlenecked, instead of in the single master thread. Use real repo.
| * | Merge pull request #6191 from ↵Geir Storli2018-06-137-49/+195
| |\ \ | | | | | | | | | | | | | | | | vespa-engine/toregge/detect-unchanged-field-in-struct Handle struct field attributes in attribute reprocessing initializer and attribute aspect delayer.
| | * | Struct field attributes can be removed without reprocessing.Tor Egge2018-06-134-4/+74
| | | |
| | * | Detect unchanged field in in array/map of struct.Tor Egge2018-06-133-45/+121
| | |/
| * / Reduce code visibility.Henning Baldersheim2018-06-131-1/+1
| |/ | | | | | | Avoid do very frequent hash lookup for something that is always present.
* / use LOG_ABORT not just abort()Arne Juul2018-06-1229-43/+72
|/ | | | | | | | | | * abort() has the unfortunate effect that nothing is seen in the log, just an event (which is usually not displayed); so ops people don't see that the program is crashing at all. * LOG_ABORT("message") will log an error with the message (and the file and line) before calling abort(), so it's easy to see what happened. * add or move <vespa/log/log.h> include and LOG_SETUP lines before LOG_ABORT is used (or included).
* Last style changes before lazy documentupdate PR.Henning Baldersheim2018-06-122-11/+7
|
* Merge branch 'master' into balder/reduce-code-visibility-rebasedHenning Baldersheim2018-06-1216-108/+82
|\
| * Merge pull request #6174 from vespa-engine/arnej/cleanup-old-mak-filesHenning Baldersheim2018-06-121-34/+0
| |\ | | | | | | clean up remnants of .mak files
| | * clean up remnants of .mak filesArne Juul2018-06-111-34/+0
| | |
| * | Merge pull request #6170 from vespa-engine/balder/avoid-unneccessary-refcountingGeir Storli2018-06-122-10/+5
| |\ \ | | | | | | | | No need to do referencecounting just for fun.
| | * | No need to do referencecounting just for fun.Henning Baldersheim2018-06-122-10/+5
| | | |