summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton
Commit message (Collapse)AuthorAgeFilesLines
* Reapply make attribute collection spec serial num optional.Tor Egge2023-02-063-22/+76
| | | | | Pass reconfig serial num explicitly to various reconfigure member functions since it might not be available from attribute collection spec.
* Revert "Make attribute collection spec serial num optional. Pass reconfig"Henning Baldersheim2023-02-063-76/+22
|
* Make attribute collection spec serial num optional. Pass reconfigTor Egge2023-02-063-22/+76
| | | | | serial num explicitly to various reconfigure member functions since it might not be available from attribute collection spec.
* Drop ranking assets repo from SearchableDocSubDB.Tor Egge2023-02-032-21/+15
|
* Remove unused variable.Tor Egge2023-02-021-1/+0
|
* Add helper member function to fixture classes.Tor Egge2023-02-021-46/+60
|
* Add prepare_reconfig member function to FastAccessDocSubDBConfigurerTor Egge2023-02-021-13/+45
| | | | and SearchableDocSubDBConfigurer.
* Add proton::DocumentDB::prepare_reconfigTor Egge2023-02-021-1/+5
|
* Deinline large destructors and clean up some code based on clion hints.Henning Baldersheim2023-02-016-63/+67
|
* Remove unused variable in searchcore docsummary unit test.Tor Egge2023-01-291-4/+0
|
* Remove redundant or pessimizing moves.Tor Egge2023-01-281-2/+2
|
* Propagate schema to summary manager.Tor Egge2023-01-251-1/+28
|
* separate profiling depth parametersHåvard Pettersen2023-01-191-1/+1
|
* - Remove the explicit close method in SessionManager. Just do it in ↵Henning Baldersheim2023-01-171-10/+10
| | | | | | | destructor instead. - Destruct instead of close. Works even if it has not been constructed. - Minor code cleanup.
* Only attribute fields can represent virtual fields.Geir Storli2023-01-131-7/+13
|
* Imported attributes can also represent virtual fields.Geir Storli2023-01-131-2/+2
|
* Expose SameElement query terms to ranking.Geir Storli2023-01-127-26/+37
| | | | | | A TermFieldMatchData is allocated per SameElement term, and this is used to signal matching docids in doUnpack() on the SameElement search iterator. This allows using the matches() rank feature on a field (virtual) that is searched using a SameElement term.
* - Hide membersHenning Baldersheim2023-01-072-41/+14
| | | | | | - Remove unused methods. - Set params in constructor and make them const. - reorder members to reduce holes in struct.
* Extract virtual fields in the index environment.Geir Storli2023-01-041-0/+35
| | | | | Fields that are represented by a set of attributes in the backend are considered virtual fields. Currently, this is map or array of struct fields (from the SD file) with struct-field attributes.
* Change from typedef to using in searchcore.Geir Storli2022-12-2131-95/+95
|
* Rename docsummary unit test file.Geir Storli2022-12-212-1/+1
|
* Remove stacksize from the thread pools and thread executors.Henning Baldersheim2022-12-2020-32/+31
|
* Merge pull request #25282 from ↵Henning Baldersheim2022-12-193-50/+93
|\ | | | | | | | | vespa-engine/geirst/avoid-flushing-components-more-than-necessary Avoid flushing components in proton more than necessary.
| * Avoid flushing components in proton more than necessary.Geir Storli2022-12-163-50/+93
| | | | | | | | | | | | Don't consider TLSSIZE ordering if there exists an active (ongoing) flush (for the same flush handler) that started before the last flush time of the flush target to evaluate. Instead we should wait for the active (ongoing) flush to be finished before doing another evaluation.
* | No need to restart sampling or reconfigure anything unless the config has ↵Henning Baldersheim2022-12-161-3/+11
|/ | | | changed.
* Include thread to get declaration of std::this_thread::sleep_for().Tor Egge2022-12-151-0/+1
|
* Merge pull request #25237 from vespa-engine/balder/gc-unused-executor-magicHenning Baldersheim2022-12-131-24/+5
|\ | | | | There is only one the master executor available to the MaintenanceJobs.
| * There is only one the master executor available to the MaintenanceJobs.Henning Baldersheim2022-12-131-24/+5
| | | | | | | | Remove all traces suggesting otherwise.
* | - Reorder to cancel the recurring task.Henning Baldersheim2022-12-131-1/+3
| | | | | | | | - Add and explicit close.
* | Revert "Revert "Use the forward scheduler in proton also for ↵Henning Baldersheim2022-12-131-4/+8
| | | | | | | | disk-mem-util-sampler"""
* | Revert "Revert "Revert "Use the forward scheduler in proton also for ↵Harald Musum2022-12-131-8/+4
|/ | | | disk-mem-util-sampler"" "
* Revert "Revert "Use the forward scheduler in proton also for ↵Henning Baldersheim2022-12-131-4/+8
| | | | disk-mem-util-sampler""
* Revert "Use the forward scheduler in proton also for disk-mem-util-sampler"Harald Musum2022-12-131-8/+4
|
* Use the forward scheduler in proton also for disk-mem-util-sampler.Henning Baldersheim2022-12-131-4/+8
|
* Merge pull request #25222 from ↵Henning Baldersheim2022-12-131-10/+30
|\ | | | | | | | | vespa-engine/balder/ensure-only-1-task-executing-and-wait-until-safe Balder/ensure only 1 task executing and wait until safe
| * Add unit test for proper sequencing of task execution and synchronous cleanup.Henning Baldersheim2022-12-131-0/+30
| |
| * Remove reset as interface for the executors. Require users to consider lifetime.Henning Baldersheim2022-12-121-10/+0
| |
* | Rewrite memoryflush tests to GTest.Geir Storli2022-12-122-55/+38
|/
* Merge pull request #25190 from vespa-engine/balder/add-cancellationHenning Baldersheim2022-12-111-4/+13
|\ | | | | Return a handle that will deregister the recurring task when it goes …
| * Return a handle that will deregister the recurring task when it goes out of ↵Henning Baldersheim2022-12-091-4/+13
| | | | | | | | | | | | scope. This requires the user to consider lifetime, and allows for finegrained control.
* | Merge pull request #25198 from ↵Henning Baldersheim2022-12-092-0/+73
|\ \ | |/ |/| | | | | vespa-engine/geirst/more-robust-initialization-of-proton-components Make initialization of proton components more robust regarding resour…
| * Make initialization of proton components more robust regarding resource usage.Geir Storli2022-12-092-0/+73
| | | | | | | | | | | | | | With this change the number of initialize threads is cut in half each time the initialization of proton components is aborted, e.g. due to running out of memory. This adjustment should ensure that we eventually are able to initialize and start proton if we are very tight on resources.
* | Move sessionmanager from documentdb to proton and use a ↵Henning Baldersheim2022-12-083-66/+7
|/ | | | SchedulerForwardExecutor to drive pruning instead of a maintenance job.
* GC unused session managerHenning Baldersheim2022-12-081-1/+0
|
* Add SessionManager in IDocumentDBOwner, but only use in mocks in tests for now.Henning Baldersheim2022-12-083-81/+39
|
* Wire SessionManager via IDocumentSubDBOwnerHenning Baldersheim2022-12-082-9/+12
|
* Add class that posts tasks at a regular interval to another executor.Geir Storli2022-12-082-24/+58
|
* GC unused DocumentDBMaintenanceConfigHenning Baldersheim2022-12-071-2/+2
|
* Report transient resource usage for all attributes and document meta store.Geir Storli2022-12-062-0/+16
|
* Turn off FullSearch optimization for active lids blueprint createLeafSearch().Tor Egge2022-12-061-9/+20
|