aboutsummaryrefslogtreecommitdiffstats
path: root/document
Commit message (Collapse)AuthorAgeFilesLines
* Add non-commutative operator tests to C++ implementationTor Brede Vekterli2020-02-181-0/+16
|
* Ensure well-defined semantics for non-commutative field comparisonsTor Brede Vekterli2020-02-182-3/+38
|
* Merge pull request #12096 from ↵Tor Brede Vekterli2020-02-073-58/+129
|\ | | | | | | | | vespa-engine/vekterli/simplify-regexes-generated-from-glob-patterns Simplify regexes generated from document selection glob patterns
| * Consistent test namingTor Brede Vekterli2020-02-071-1/+1
| |
| * Simplify regexes generated from document selection glob patternsTor Brede Vekterli2020-02-063-58/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Attempts to simplify the resulting regex as much as possible to help minimize the number of possible catastrophic backtracking cases that can be triggered by wildcard regexes. The following simplifications are currently performed: * '' -> /^$/ (empty string match) * '*' -> // (any string match) * '*foo*' -> /foo/ (substring match) * '*foo' -> /foo$/ (suffix match) * 'foo*' -> /^foo/ (prefix match) * collapsing runs of consecutive `*` wildcards into a single wildcard. `***` is identical to `**` which is identical to `*` etc, as all these match 0-n characters each. This also works with simplification, i.e. `***foo***` -> /foo/ and `***` -> // This relates to issue #12068
* | more robust tensor updateHåvard Pettersen2020-02-066-6/+69
| |
* | Merge branch 'master' into balder/less-unused-header-body-referencesHenning Baldersheim2020-02-0517-72/+445
|\|
| * Add comment to importedfield entry in documenttypes config definitionTor Brede Vekterli2020-02-031-0/+1
| |
| * Detect and handle simple imported fields in expressions (C++)Tor Brede Vekterli2020-01-312-6/+71
| |
| * Propagate configured imported fields to DocumentTypeRepo (C++)Tor Brede Vekterli2020-01-315-57/+139
| |
| * Detect and handle simple imported fields in expressions (Java)Tor Brede Vekterli2020-01-312-3/+59
| |
| * Wire imported fields config into Java DocumentTypeTor Brede Vekterli2020-01-316-4/+134
| |
| * Add imported fields to document configsTor Brede Vekterli2020-01-313-2/+41
| | | | | | | | | | | | | | | | This adds the field names of all imported fields in a search definition to the document configs associated with it (document manager and document types config for Java and C++, respectively). This enables consumers of these configs to distinguish between field references to imported fields and fields that don't exist in the document schema itself.
* | As java and c++ now doe sth same thing size is the same.Henning Baldersheim2020-01-3019-1/+1
| |
* | Header/body does not exist anymore. Deprecate and remove own internal usage.Henning Baldersheim2020-01-3017-126/+125
|/
* Reset all membersHenning Baldersheim2020-01-281-0/+1
|
* Add comment about optimisation and object lifetimeHenning Baldersheim2020-01-281-0/+5
|
* Set field directly.Henning Baldersheim2020-01-283-9/+8
|
* reset instead of clear, and only onceHenning Baldersheim2020-01-282-3/+3
|
* InlineHenning Baldersheim2020-01-282-12/+7
|
* Merge pull request #11968 from ↵Henning Baldersheim2020-01-288-13/+32
|\ | | | | | | | | vespa-engine/balder/allow-document-to-bring-backing-buffer-along-to-reduce-need-to-copy Allow room for bringing allocation along to reduce the need to copy.
| * Remove spurious line break.Henning Baldersheim2020-01-271-2/+1
| |
| * Allow room for bringing allocation along to reduce the need to copy.Henning Baldersheim2020-01-279-14/+34
| |
* | setFieldValue for Booleankkraune2020-01-282-0/+5
|/
* Add include statements needed by newer build environments.Tor Egge2020-01-261-0/+2
|
* Remove unused private member variables.Tor Egge2020-01-241-1/+1
|
* Followup on code comments.Henning Baldersheim2020-01-232-11/+14
|
* Add an extra indirection to the rarely used owned buffers, in order to keep ↵Henning Baldersheim2020-01-233-13/+22
| | | | the frequently accesed members in StructFieldValue close
* Avoid duplicating information.Henning Baldersheim2020-01-232-5/+6
|
* Move the transaction implementation from StructuredFieldValue to DocumentHenning Baldersheim2020-01-2310-126/+153
|
* Just use the stackHenning Baldersheim2020-01-231-2/+2
|
* Remove ByteBuffer indirection.Henning Baldersheim2020-01-238-46/+50
|
* Add indirection for the unlikely stuff to keep the likely members close and ↵Henning Baldersheim2020-01-233-78/+88
| | | | tight.
* Remove cloneability.Henning Baldersheim2020-01-234-20/+21
|
* Use a single chunkHenning Baldersheim2020-01-2334-228/+127
|
* Stay within your buffer.Henning Baldersheim2020-01-211-1/+1
|
* Merge pull request #11822 from vespa-engine/balder/reduce-bytebuffer-exposureHenning Baldersheim2020-01-2130-2279/+392
|\ | | | | Balder/reduce bytebuffer exposure
| * Remove zero termination.Henning Baldersheim2020-01-211-4/+2
| |
| * Add stream method and use memcpy over casting.Henning Baldersheim2020-01-211-3/+5
| |
| * c_str -> dataHenning Baldersheim2020-01-215-6/+6
| |
| * Unify and factor out common code.Henning Baldersheim2020-01-211-1/+1
| |
| * Fix typoHenning Baldersheim2020-01-201-1/+1
| |
| * GC unused codeHenning Baldersheim2020-01-204-31/+1
| |
| * GC unused constructorHenning Baldersheim2020-01-204-10/+1
| |
| * Update commentsHenning Baldersheim2020-01-201-13/+1
| |
| * 32bit size is more than enough here.Henning Baldersheim2020-01-204-22/+22
| |
| * Make length const.Henning Baldersheim2020-01-201-1/+1
| |
| * Make it known that getting serialized size will always be expensive.Henning Baldersheim2020-01-209-141/+73
| |
| * GC a load of unused code. ByteBuffer towards read only.Henning Baldersheim2020-01-2012-897/+76
| |
| * Simplify as functionality is abandoned.Henning Baldersheim2020-01-178-375/+155
| |