summaryrefslogtreecommitdiffstats
path: root/documentapi/src
Commit message (Collapse)AuthorAgeFilesLines
* Non-funcitonal changesjonmv2023-11-304-21/+18
|
* Use `shared_mutex` to allow non-contending reads (common case)Tor Brede Vekterli2023-10-172-7/+7
|
* Improve thread safety of MessageBus ContentPolicyTor Brede Vekterli2023-10-173-43/+71
| | | | | | | | | Updates of distribution config and cached cluster state are now both thread safe. Move to `shared_ptr` to allow for taking immutable strong refs. Also remove pointless two-phased config switch-over in favor of directly updating value inside lock.
* Revert "Merge pull request #28879 from ↵jonmv2023-10-112-2/+2
| | | | | | | vespa-engine/revert-28869-jonmv/job-runner-thread-metrics" This reverts commit 67351aa3e2adbbb4872097ed799f1ca837f35e6d, reversing changes made to aed7902ee0371efb89747d467c4a2f8124ddc08d.
* Revert "Jonmv/job runner thread metrics"Harald Musum2023-10-112-2/+2
|
* Non-functional changesjonmv2023-10-112-2/+2
|
* Update copyrightJon Bratseth2023-10-09271-271/+271
|
* Use std::filesystem::is_directory and std::filesystem::existsTor Egge2023-07-201-2/+2
|
* Deserialize match features in SearchResult used in streaming search.Geir Storli2023-05-022-15/+48
|
* Serialize match features in vdslib::SearchResult.Tor Egge2023-04-281-0/+48
|
* Unify passing of all feed operations through the various feed apis.Henning Baldersheim2023-04-271-7/+0
|
* Add comments describing that SearchResult and DocumentSummary messages and ↵Tor Egge2023-04-212-0/+4
| | | | | | replies were replaced by QueryResult message and reply in 2010.
* Remove (SearchResult|DocumentSummary)(Command|Reply) storage and documentapi ↵Tor Egge2023-04-2117-715/+8
| | | | messages.
* Add condition support to distributor `GetOperation`Tor Brede Vekterli2023-04-191-0/+4
| | | | | | This involves two things: * Propagate input condition to sent Get requests when present * Add condition match status to newest replica metadata aggregation
* add requested annotationsHåvard Pettersen2023-04-193-2/+7
|
* add create-if-non-existent flag for document putHåvard Pettersen2023-04-199-12/+146
|
* Reduce creation of Document instances without DocumentTypeRepo.Geir Storli2023-03-132-11/+14
|
* Backport visit slicing to `vespa-visit` CLI toolTor Brede Vekterli2023-03-011-0/+4
| | | | | | | | | | Allows for efficient parallelization across multiple visitor instances, mirroring the existing support in Document V1. Also clean up some legacy option value parsing code. Note: changing the parsed type for `maxtotalhits` from `int` to `long` is intentional; the internal limit is already a `long` and a cluster may have a lot more than `INT32_MAX` documents.
* avoid using fastos thread in searchcoreHåvard Pettersen2023-02-273-3/+0
| | | | also remove some left-behind includes
* untangle fnet from fastosHåvard Pettersen2023-02-222-7/+4
|
* - Use T && f() && to avoid moving temporaries.Henning Baldersheim2023-02-031-2/+2
| | | | - std::make_unique/make_shared
* - Deinline destructor.Henning Baldersheim2023-02-012-84/+75
| | | | | | - Move instead of copy = > noexcept move construtors. - make_unique/make_shared. - c++11 for loops
* deinline destructors.Henning Baldersheim2023-02-019-41/+25
|
* Stack => Deque and gc unused ConfigFileFormatHenning Baldersheim2023-01-251-62/+82
|
* Preserve return typeJon Bratseth2023-01-171-4/+8
|
* Return builderJon Bratseth2023-01-131-1/+2
|
* We can only handle unconditional async messages in network thread.Henning Baldersheim2023-01-121-1/+1
|
* Change from typedef to using in documentapi C++ code.Geir Storli2022-12-2124-49/+49
|
* Remove stacksize from the thread pools and thread executors.Henning Baldersheim2022-12-202-5/+7
|
* Handle unaligned read in PutDocumentMessage::getSequenceId() andTor Egge2022-12-092-2/+2
| | | | | UpdateDocumentMessage::getSequenceId() the same way as for RemoveDocumentMessage::getSequenceId().
* Revert "Revert collect(Collectors.toList())"Henning Baldersheim2022-12-042-2/+2
|
* Revert collect(Collectors.toList())Henning Baldersheim2022-12-042-2/+2
|
* collect(Collectors.toList()) -> toList()Henning Baldersheim2022-12-022-2/+2
|
* Move synchronous policy init inside lockTor Brede Vekterli2022-11-301-4/+4
| | | | | | | Avoids a race when multiple threads try to synchronously initialize a MessageBus policy. This resolves a TSan warning.
* Support tracing for /document/v1/ visit requestsjonmv2022-10-121-7/+6
|
* Return X-Vespa-Ignored-Fields if fields were ignoredJon Bratseth2022-10-066-8/+12
|
* Merge pull request #24042 from vespa-engine/bratseth/cleanup-671Jon Bratseth2022-09-235-6/+7
|\ | | | | No functional changes
| * No functional changesJon Bratseth2022-09-145-6/+7
| |
* | Short circuit boolean expressionsJon Bratseth2022-09-211-1/+2
| | | | | | | | | | | | | | | | Short circuit boolean expressions by converting them to (nested) if expressions. This also fixes a bug in Java expression evaluation where evaluation of arithmetic operations with the same precedence would be from right to left rather than left to right.
* | Revert "Revert "Revert "Short circuit boolean expressions"""Henning Baldersheim2022-09-211-2/+1
| |
* | Revert "Revert "Short circuit boolean expressions""Henning Baldersheim2022-09-211-1/+2
| |
* | Revert "Short circuit boolean expressions"Arnstein Ressem2022-09-201-2/+1
| |
* | Short circuit boolean expressionsJon Bratseth2022-09-201-1/+2
| | | | | | | | | | | | | | | | Short circuit boolean expressions by converting them to (nested) if expressions. This also fixes a bug in Java expression evaluation where evaluation of arithmetic operations with the same precedence would be from right to left rather than left to right.
* | Simplify and unify the use of Timers.Henning Baldersheim2022-09-141-28/+20
|/
* remove unused doxygen setup filesArne Juul2022-08-291-1213/+0
|
* GC long gone config and som minor code cleanup.Henning Baldersheim2022-07-061-3/+2
|
* Revert "Revert "Revert "GC long gone config"""Arnstein Ressem2022-07-051-2/+3
|
* Revert "Revert "GC long gone config""Henning Baldersheim2022-07-051-3/+2
|
* Revert "GC long gone config"Henning Baldersheim2022-07-051-2/+3
|
* GC long gone configHenning Baldersheim2022-07-051-3/+2
|