summaryrefslogtreecommitdiffstats
path: root/searchcore
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #25680 from vespa-engine/mpolden/set-gpu-deviceMartin Polden2023-01-241-0/+2
|\ | | | | Support configuration of GPU device to use in ONNX model
| * Support configuration of GPU device to use in ONNX modelMartin Polden2023-01-231-0/+2
| |
* | Warn about bad config, and cap searchable copies at redundancyHenning Baldersheim2023-01-231-2/+10
|/
* separate profiling depth parametersHåvard Pettersen2023-01-195-18/+25
|
* wire in match profilingHåvard Pettersen2023-01-182-4/+16
|
* - Remove the explicit close method in SessionManager. Just do it in ↵Henning Baldersheim2023-01-174-22/+16
| | | | | | | 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-132-8/+16
|
* Imported attributes can also represent virtual fields.Geir Storli2023-01-132-8/+8
|
* Expose SameElement query terms to ranking.Geir Storli2023-01-1215-38/+64
| | | | | | 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-073-44/+16
| | | | | | - Remove unused methods. - Set params in constructor and make them const. - reorder members to reduce holes in struct.
* Cap number of threads used per query at number of cores.Henning Baldersheim2023-01-065-2/+8
|
* Add interface class IKeywordExtractorFactory.Tor Egge2023-01-051-2/+4
| | | | Move ownership of IKeywordExtractor to JuniperDFW.
* Add interface class IKeywordExtractor.Tor Egge2023-01-051-2/+2
|
* Remove unused IDocsumEnvironment::lookupIndex() member function.Tor Egge2023-01-051-1/+0
| | | | Remove unused KeywordExtractor constructor argument.
* Extract virtual fields in the index environment.Geir Storli2023-01-042-0/+71
| | | | | 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.
* - Remove allowvisitcaching which has been true for many years.Henning Baldersheim2023-01-031-1/+0
| | | | - Improve thread safety.
* Stop current task before updating config and restarting task.Henning Baldersheim2023-01-021-1/+1
|
* Use mutex/condition_variable instead of atomic/sleep for synchronization.Henning Baldersheim2023-01-021-11/+23
|
* Use a unique_ptr and hide implementation.Henning Baldersheim2022-12-212-7/+10
|
* Change from typedef to using in searchcore.Geir Storli2022-12-21146-294/+292
|
* Rename docsummary unit test file.Geir Storli2022-12-212-1/+1
|
* Remove stacksize from the thread pools and thread executors.Henning Baldersheim2022-12-2039-80/+69
|
* Simplify implementation of FlushEngine::FlushMeta::getStart().Geir Storli2022-12-191-1/+1
|
* Merge pull request #25282 from ↵Henning Baldersheim2022-12-1919-92/+258
|\ | | | | | | | | 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-1619-92/+258
| | | | | | | | | | | | 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.
* | reduce number of files included and some minor cleanup.Henning Baldersheim2022-12-163-1/+7
| |
* | Use curly bracesHenning Baldersheim2022-12-161-1/+2
| |
* | No need to restart sampling or reconfigure anything unless the config has ↵Henning Baldersheim2022-12-165-13/+34
|/ | | | changed.
* The inner task has potentially longer lifetime than the outer task so we ↵Henning Baldersheim2022-12-151-1/+1
| | | | need to bring along a copy of everything we need.
* Include thread to get declaration of std::this_thread::sleep_for().Tor Egge2022-12-151-0/+1
|
* Consider disk space used by symlinks and directories.Tor Egge2022-12-141-3/+12
|
* Merge pull request #25237 from vespa-engine/balder/gc-unused-executor-magicHenning Baldersheim2022-12-135-55/+14
|\ | | | | There is only one the master executor available to the MaintenanceJobs.
| * Locate clearing and populating _periodicTaskHandles list in same method for ↵Henning Baldersheim2022-12-131-2/+1
| | | | | | | | readability.
| * There is only one the master executor available to the MaintenanceJobs.Henning Baldersheim2022-12-135-53/+13
| | | | | | | | Remove all traces suggesting otherwise.
* | - Reorder to cancel the recurring task.Henning Baldersheim2022-12-133-4/+6
| | | | | | | | - Add and explicit close.
* | Revert "Revert "Use the forward scheduler in proton also for ↵Henning Baldersheim2022-12-135-46/+41
| | | | | | | | disk-mem-util-sampler"""
* | Revert "Revert "Revert "Use the forward scheduler in proton also for ↵Harald Musum2022-12-135-41/+46
|/ | | | disk-mem-util-sampler"" "
* Since the DiskMemUsageSampler must be alive during documentdb shutdown, it ↵Henning Baldersheim2022-12-133-2/+7
| | | | must closed instead of deleted when disconnecting from scheduler.
* Revert "Revert "Use the forward scheduler in proton also for ↵Henning Baldersheim2022-12-135-47/+37
| | | | disk-mem-util-sampler""
* Revert "Use the forward scheduler in proton also for disk-mem-util-sampler"Harald Musum2022-12-135-37/+47
|
* Remove includes not needed.Henning Baldersheim2022-12-133-17/+14
|
* Use the forward scheduler in proton also for disk-mem-util-sampler.Henning Baldersheim2022-12-134-30/+23
|
* Merge pull request #25222 from ↵Henning Baldersheim2022-12-136-39/+131
|\ | | | | | | | | 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-126-36/+7
| |
| * Track which tasks are ongoing, and cancel and clean up in correct order.Henning Baldersheim2022-12-123-6/+97
| |
* | Merge pull request #25223 from vespa-engine/geirst/memory-flush-gtestHenning Baldersheim2022-12-122-55/+38
|\ \ | |/ |/| Rewrite memoryflush tests to GTest.
| * Rewrite memoryflush tests to GTest.Geir Storli2022-12-122-55/+38
| |
* | Keep the original task in a shared_ptr in the wrapping lambda and make a ↵Henning Baldersheim2022-12-121-2/+3
| | | | | | | | copy of it and pass to the actual task diaptch on another executor to ensure lifetime.
* | Clean up cancelled taskHenning Baldersheim2022-12-121-1/+2
|/