aboutsummaryrefslogtreecommitdiffstats
path: root/document
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix regression where supertype in field expression would not resolveTor Brede Vekterli2023-02-212-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A change between 7 and 8 to use exact-matching for document types was implemented a tad too aggressively, as it should still be possible to match against supertypes in a document selection field expression. Let type `B` inherit `A`, and `A` have a field `foo`, and matching a document of type `B`: Prior to this fix: * `B.foo` _would_ match (implicit supertype field resolving) * `A.foo` would _not_ match due to exact type mismatch After this fix, both will match as generally expected.
* | Tune cluster controller memoryJon Bratseth2023-02-211-1/+1
|/ | | | | | - Change from 7 to 6 cluster controllers per host - Correct real memory limit for admin - Test admin provisioning
* - [[noreturn]] is standard.Henning Baldersheim2023-02-151-1/+1
| | | | - gnu printf format specification is defacto standard.
* Use faster std::from_chars instead of oldstyle strtoul.Henning Baldersheim2023-02-131-9/+8
|
* Remove optimisation now void since libc now optimizes for newer cpus.Henning Baldersheim2023-02-132-87/+36
| | | | Time has caught up.
* Add workaround for std::from_chars for double in libc++.Tor Egge2023-02-111-0/+13
|
* Avoid implicit-exception-spec-mismatch warning.Tor Egge2023-02-082-2/+8
|
* - Improve sanity checking of input to distance-to-path feature.Henning Baldersheim2023-02-061-0/+2
| | | | - Keep comment
* Merge pull request #25871 from ↵Henning Baldersheim2023-02-047-86/+25
|\ | | | | | | | | vespa-engine/balder/drop-boost-crc-random-tokenizer Drop boost crc, random and tokenizer
| * Drop boost crc, random and tokenizerHenning Baldersheim2023-02-047-86/+25
| |
* | Add test for negative infinity tooHenning Baldersheim2023-02-041-0/+1
| |
* | Handle negative out of range too.Henning Baldersheim2023-02-041-1/+3
| |
* | No boost spirit qiHenning Baldersheim2023-02-031-25/+20
|/
* Implement destructor, move and copy constructors.Henning Baldersheim2023-02-022-23/+12
|
* Deinline large destructors and clean up some code based on clion hints.Henning Baldersheim2023-02-019-115/+143
|
* Remove unused local variables in document::select::CloningVisitor.Tor Egge2023-01-311-2/+0
|
* Rewrite to do initialization in constructor.Henning Baldersheim2023-01-304-56/+29
|
* Suppress stringop-overflow= warning for document::select::ResultSetTor Egge2023-01-291-0/+5
| | | | when compiling with gcc 13.
* Disable deprecated-copy-with-user-provided-copy warning option when compilingTor Egge2023-01-291-1/+1
| | | | source files generated by bison with clang.
* Include cstdint to get declaration of fixed width integer types.Tor Egge2023-01-282-0/+2
|
* Deprecate xml methodsHenning Baldersheim2023-01-2730-433/+37
|
* Support embedding an array to a mixed 2d tensorJon Bratseth2023-01-271-2/+1
|
* More document deserialization improvementsTor Brede Vekterli2023-01-261-4/+6
| | | | | | | * Move field info reading before checking remaining buffer size, as the serialized data size does not include the field info. * Increment read cursor prior to using serialized annotation buffer, thus preemptively triggering any OOB exceptions.
* Replace synchronized Stack with Deque in feed and query path.Henning Baldersheim2023-01-253-76/+51
|
* Merge pull request #25720 from vespa-engine/vekterli/improve-doc-deserializationTor Brede Vekterli2023-01-251-16/+21
|\ | | | | Improve handling of corrupted serialized document data
| * Field offsets/sizes may point into resulting uncompressed rangeTor Brede Vekterli2023-01-251-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | This may be larger than the input buffer. It is explicitly verified that the actual uncompressed buffer size matches the expected size, meaning that these offsets will be valid prior to use. Additionally: * Ensure that we constrain non-compressed offsets/sizes to point within the buffer range of the field itself, and not beyond. * Do not attempt to set a field in the legacy deserialization path if the field extraction failed and returned an empty `unique_ptr`.
| * Improve handling of corrupted serialized document dataTor Brede Vekterli2023-01-251-11/+15
| |
* | Merge pull request #25690 from vespa-engine/arnej/some-whitespace-fixupsArne H Juul2023-01-242-2/+2
|\ \ | | | | | | remove some whitespace at end of lines
| * | remove some whitespace at end of linesArne Juul2023-01-222-2/+2
| |/
* | Merge pull request #25654 from vespa-engine/bratseth/input-fallbackJon Bratseth2023-01-232-14/+16
|\ \ | |/ |/| Bratseth/input fallback
| * Skip statements on partial updates onlyJon Bratseth2023-01-231-13/+13
| |
| * Cleanup - no functional changesJon Bratseth2023-01-201-1/+3
| |
* | Less inlining and hide some methodsHenning Baldersheim2023-01-203-6/+0
|/
* * refactor to get just one method for struct readingArne Juul2023-01-191-50/+17
| | | | * also, use two simple arrays instead of arraylist of tuples
* no real need to use a temporary bufferArne Juul2023-01-191-25/+6
|
* Merge pull request #25616 from vespa-engine/arnej/stricter-span-node-id-checkHenning Baldersheim2023-01-191-6/+6
|\ | | | | check complete span node type
| * check complete span node typeArne Juul2023-01-181-6/+6
| | | | | | | | * this matches actual serialization format and C++ implementation
* | Trigger annotation deserialization when inspecting transactionlog verbose.Henning Baldersheim2023-01-181-0/+7
|/
* Quote correctlyJon Bratseth2023-01-171-2/+2
|
* Test direct renderingJon Bratseth2023-01-162-1/+3
|
* Test direct renderingJon Bratseth2023-01-163-18/+49
|
* Support direct tensor renderingJon Bratseth2023-01-144-44/+42
|
* Handle type renderingJon Bratseth2023-01-134-4/+11
| | | | | - Always output type for consistency. - Ignore type in input.
* Use JsonFormat for JSON renderingJon Bratseth2023-01-134-185/+37
|
* Merge pull request #25549 from vespa-engine/bratseth/tensor-direct-valuesLester Solbakken2023-01-1318-148/+197
|\ | | | | Parse tensor JSON values at root
| * Avoid copyJon Bratseth2023-01-1214-79/+76
| |
| * Improve namingJon Bratseth2023-01-122-10/+7
| |
| * Simplify by using a listJon Bratseth2023-01-123-41/+39
| |
| * Parse tensor JSON values at rootJon Bratseth2023-01-126-54/+111
| | | | | | | | | | | | | | | | | | | | Our current tensor JSON formats require a "blocks", "cells" or "values" key at the root, containing values in various forms. This adds support for skipping that extra level and adding content at the root, where the permissible content format depends on the tensor type, and matches the formats below "blocks", "cells" or "values" for the corresponding tensor types.
* | add noreturn, fix indentArne Juul2023-01-121-3/+3
| |