summaryrefslogtreecommitdiffstats
path: root/document
Commit message (Collapse)AuthorAgeFilesLines
* surely the TAG type is a tag typeArne H Juul2022-03-091-1/+3
|
* Merge pull request #21598 from vespa-engine/toregge/avoid-ambiguous-overloadHenning Baldersheim2022-03-081-1/+1
|\ | | | | Avoid ambiguous overload.
| * Avoid ambiguous overload.Tor Egge2022-03-081-1/+1
| |
* | Merge pull request #21586 from vespa-engine/balder/gc-unused-threadpoolHenning Baldersheim2022-03-081-1/+0
|\ \ | | | | | | Balder/gc unused threadpool
| * | Get VESPA_DLL_LOCAL from vespa/fastos/types.hHenning Baldersheim2022-03-071-1/+0
| |/
* / deprecate useless constructorArne H Juul2022-03-082-10/+19
|/ | | | | | * always ignored non-null typeName * the intention was probably something else * was not used anywhere
* Merge pull request #21580 from vespa-engine/arnej/verify-namecollision-failsJon Bratseth2022-03-071-3/+8
|\ | | | | struct/document name collision fails
| * struct/document name collision failsArne H Juul2022-03-071-3/+8
| | | | | | | | | | * the unit tests claims that this works, and seems to verify that. But the generated config isn't valid.
* | Use corrcet type for short.Henning Baldersheim2022-03-071-1/+1
| |
* | Use XXFieldValue::make over std::make_uniqueHenning Baldersheim2022-03-0715-55/+54
| |
* | No reuse, so just use return value optimisation.Henning Baldersheim2022-03-072-12/+9
| |
* | GC unused non-const iterate interface.Henning Baldersheim2022-03-072-15/+7
| |
* | GC redundant convenience wasy of assigning primitive field values.Henning Baldersheim2022-03-0723-303/+78
|/
* As a first step to reduce code complexity around FieldValue move test-only ↵Henning Baldersheim2022-03-059-124/+115
| | | | | | convenience methods out to test-only helpers.
* Remove clone from DataType.Henning Baldersheim2022-03-0427-120/+61
|
* Remove identifiable from document::DataTypeHenning Baldersheim2022-03-0447-421/+294
| | | | Also remove the virtual == operator and the need for default constructor.
* Reduce use of Identifiable for document::DatatTypeHenning Baldersheim2022-03-0343-129/+162
|
* GC cloneableHenning Baldersheim2022-03-036-17/+10
|
* Explicitly precompute GlobalId for reference values to avoid lazy init raceTor Brede Vekterli2022-03-032-1/+4
| | | | | | | | | | | | | This is a workaround for `DocumentId::getGlobalId()`'s lazy GID computation currently not being thread safe in a `const` context. The following race was previously possible: * Attribute writer thread calls `DocumentId::getGlobalId` when applying the reference value update to a reference attribute. Writes GID and flag. * Shared executor thread calls `DocumentId::operator=` with the same ID instance as the rhs argument when applying the reference value update to the doc store. Causes a read race with the above write.
* Expect updated error messageJon Bratseth2022-03-011-2/+1
|
* No functional changesJon Bratseth2022-03-013-23/+16
|
* Add noexcept specifiers.Tor Egge2022-02-282-3/+3
|
* Enable assignment of document::DocumentType::FieldSet.Tor Egge2022-02-283-3/+7
|
* Remove inlining warnings (document).Tor Egge2022-02-262-0/+4
|
* Remove TODO on changing toString to YQL formatJon Bratseth2022-02-221-1/+1
| | | | | | It would be nice but it breaks 842 tests for us, and probably a lot for applications too, so it is just not worth the effort.
* deprecate modifying types in-placeArne H Juul2022-02-172-5/+12
| | | | | * instead of modifying a MapDataType or WeightedSetDataType instance in-place, make a new instance as necessary.
* Move TODO to Vespa 9 (was previously moved to 8 from 7)gjoranv2022-02-171-1/+1
|
* avoid using getHeader() in serialization codeArne H Juul2022-02-164-27/+31
|
* add special DocumentOnly fieldset in Java as wellArne H Juul2022-02-157-2/+110
| | | | | | * should have same behavior in Java and C++ * extend unit tests to verify * note various places where we want to change the default on Vespa 8 branch
* - Generate mode modern c++ code.Henning Baldersheim2022-02-081-1/+0
| | | | | - Use existing predefined types. - Allow for better management by allowing large string vectors to be mmapped.
* Merge pull request #21082 from vespa-engine/balder/reduce-code-visibilityHenning Baldersheim2022-02-071-2/+2
|\ | | | | Reduce code visibility and include only what you need from config lib…
| * Reduce code visibility and include only what you need from config library.Henning Baldersheim2022-02-061-2/+2
| |
* | CleanupJon Bratseth2022-02-061-3/+2
|/
* Improve maven-shade-plugin filter, and move to parent pom.gjoranv2022-02-031-11/+0
| | | | - Removes 223 build warnings (out of 562 for building non-test code)
* Revert "Exclude META-INF files and module-info.class from uber jars."Harald Musum2022-02-021-2/+4
|
* Exclude META-INF files and module-info.class from uber jars.gjoranv2022-02-021-4/+2
| | | | - Generate countless warnings for duplicates and breaking encapsulation.
* Add SuppressWarnings for removal of config.subscription types.gjoranv2022-02-022-2/+11
|
* configurable rendering of "position" structsArne H Juul2022-01-248-8/+236
|
* add special '[document]' fieldsetArne H Juul2022-01-187-12/+65
| | | | | | | * specially handled like [all] and [docid] * depends on the document type having a configured fieldset named '[document]' * should make it possible to run vespa-visit -l '[document]' and get only the fields declared inside the document for any and all document types.
* Schedule small tasks for field merge.Tor Egge2022-01-171-1/+3
|
* enable cast lintingArne H Juul2022-01-071-1/+0
|
* GC use of deprecated junit assertThat and unifyHenning Baldersheim2021-12-211-3/+4
|
* GC deprecated junit assertThat.Henning Baldersheim2021-12-216-68/+66
|
* Fix typoJon Marius Venstad2021-12-151-1/+1
|
* Restore current behavior and add Vesopa 8 TODOsJon Bratseth2021-12-143-3/+28
|
* Match document types in document selections exactly onlyJon Bratseth2021-12-1411-38/+140
| | | | | | Routing all child types to a cluster a parent is added to may be convenient for some users, but if it's not what you want it is then harder to prevent it from happening.
* Test matching in inherited fieldJon Bratseth2021-12-132-3/+15
|
* Allow exact match on document type onlyJon Bratseth2021-12-132-19/+6
|
* Add noexcept specifiers.Tor Egge2021-12-114-4/+4
|
* deprecate parts of DocumentTypeManagerArne H Juul2021-12-105-1/+47
| | | | | | | | * we want to stop using IDs as unique key for DataTypes; these methods are only used in our own config setup. * nothing should setup a self-subscribing manager; add a convenience to create a manager from a config file to use from unit tests.