summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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-2132-96/+96
|
* 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
|
* Report transient disk usage for attribute disk snapshots.Geir Storli2022-12-021-9/+95
| | | | All snapshots except the best one count towards transient disk usage.
* Rewrite attribute directory tests to GTest.Geir Storli2022-12-012-85/+84
|
* Update unit test for handling removes in attribute writer.Tor Egge2022-11-251-16/+10
|
* Drop support for old gtest.Tor Egge2022-11-181-1/+1
|
* explicit default filterHåvard Pettersen2022-10-311-0/+3
|
* Use search::test::SchemaBuilder in searchcore unit tests.Tor Egge2022-10-217-78/+59
|
* Return the full search iterator when all lids are active.Geir Storli2022-10-201-0/+37
| | | | | This opens up for optimizations of the global filter iterator tree based on SearchIterator::matches_any().
* Stop testing with url data type, use uri data type instead.Tor Egge2022-10-191-45/+8
|
* Use std::make_sharedHenning Baldersheim2022-10-181-17/+16
|
* Handle that [docid] can use an optional attribute.Henning Baldersheim2022-10-141-1/+1
|
* Add serialisation for sorting to documentmetastore.Henning Baldersheim2022-10-141-0/+32
|
* Use document::AnnotationType::TERM. Remove search::linguistics::TERM.Tor Egge2022-10-131-3/+3
|