summaryrefslogtreecommitdiffstats
path: root/document
Commit message (Collapse)AuthorAgeFilesLines
* - 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.
* Increase container ideal disk utilizationJon Bratseth2021-12-091-6/+8
|
* Merge pull request #20415 from vespa-engine/arnej/delete-some-old-junkHenning Baldersheim2021-12-083-304/+0
|\ | | | | remove unused config files
| * remove unused config filesArne H Juul2021-12-083-304/+0
| | | | | | | | | | * these were used for unit tests a long time ago, but are no longer useful
* | Merge pull request #20384 from ↵Henning Baldersheim2021-12-085-122/+518
|\ \ | | | | | | | | | | | | vespa-engine/arnej/proposed-model-for-document-manager-config proposal for new documentmanager config
| * | new config no longer overrides internal ID of configured typesArne H Juul2021-12-081-4/+4
| | |
| * | convert one checked-in config file to new-style config for unit testingArne H Juul2021-12-081-105/+96
| | |
| * | add another Apply implentationArne H Juul2021-12-081-13/+261
| | | | | | | | | | | | | | | * if there is no config at all in the old arrays, read new per-doctype config instead
| * | get more information from toString()Arne H Juul2021-12-081-0/+1
| | |
| * | minor changed to proposed new config:Arne H Juul2021-12-081-4/+3
| | | | | | | | | | | | | | | * use names for primitive types, not internal id * avoid specifying internal id for annotation types when possible
| * | proposal for new documentmanager configArne H Juul2021-12-061-0/+157
| |/
* / always try reading annotation payloadArne H Juul2021-12-081-6/+11
|/ | | | | | | | * even if the serialized datatype ID doesn't match our config, it's quite possible the payload is OK. * does it really make sense to "handle it gracefully" and just ignore the payload? This seems wrong to me, but keep old behavior for now.
* Add custom `@Beta` annotationBjørn Christian Seime2021-12-031-1/+1
| | | | Replace use of Guava's `com.google.common.annotations.Beta` with custom annotation.
* more descriptive name for header fileArne H Juul2021-12-029-8/+8
|
* track namespace move in documenttypes.defArne H Juul2021-12-0212-15/+31
| | | | | | | * For C++ code this introduces a "document::config" namespace, which will sometimes conflict with the global "config" namespace. * Move all forward-declarations of the types DocumenttypesConfig and DocumenttypesConfigBuilder to a common header file.
* DocumenttypesConfig is no longer PublicApiArne H Juul2021-12-021-835/+0
|
* move to non-public packageArne H Juul2021-12-021-1/+1
| | | | | | | * the "documenttypes" config should be in same package / namespace as the "documentmanager" config; it should not be part of a PublicApi. Since everything here is internal implmentation details (only used by C++ components currently) this should not impact any users.
* remove support for registering temporary types in DocumentTypeManagerArne H Juul2021-12-011-90/+6
|
* rewrite DocumentTypeManagerConfigurerArne H Juul2021-12-011-120/+164
| | | | | | | | | | | | | | instead of registering temporary types in the manager, use the following strategy: * create real struct types first, but without fields or inherits * create documents types, also without inherits and extra stuff * create all remaining types, recursing to get dependency order * fill structs with field and inherits * fill documents with inherits and fieldsets * after all types are fully created, register them in the manager Note that annotatation type handling is mostly unchanged, since it already followed a similar strategy.
* avoid warnings from unit tests by closing subscriberArne H Juul2021-12-0110-15/+28
|
* deprecate classes scheduled for removalArne H Juul2021-11-309-0/+20
|
* refactor for better readability and robustnessArne H Juul2021-11-291-12/+18
|
* simpler wiring inside Apply classArne H Juul2021-11-291-29/+24
|
* refactor so config application can have some internal stateArne H Juul2021-11-291-158/+179
|
* add possible flagArne H Juul2021-11-293-0/+8
|
* accept 'lat'/'lng' JSON for positionsArne H Juul2021-11-253-38/+109
|
* Unify with similar code.Henning Baldersheim2021-11-111-2/+1
|
* GC void testsHenning Baldersheim2021-11-111-80/+0
|
* Save file no longer generatedHenning Baldersheim2021-11-102-1/+0
|
* Update abiHenning Baldersheim2021-11-101-2/+1
|