aboutsummaryrefslogtreecommitdiffstats
path: root/document
Commit message (Collapse)AuthorAgeFilesLines
* LogLevel.DEBUG -> Level.FINEgjoranv2020-04-251-2/+2
|
* Import java.util.logging.Level instead of com.yahoo.log.LogLevelgjoranv2020-04-251-1/+1
|
* Merge pull request #12928 from ↵Jon Bratseth2020-04-162-5/+3
|\ | | | | | | | | vespa-engine/bratseth/vespa-http-client-improvements Bratseth/vespa http client improvements
| * Nonfunctional changes onlyJon Bratseth2020-04-152-5/+3
| |
* | Improve readabilityHenning Baldersheim2020-04-153-5/+8
|/
* Ensure that documentid is legal.Henning Baldersheim2020-04-143-0/+39
|
* Add toString to abi.Henning Baldersheim2020-04-131-1/+2
|
* Add toString() to TestAndSetConditionRong-En Fan2020-04-121-0/+9
|
* Make RemoveOperation an interface and move implmentation to ↵Henning Baldersheim2020-04-082-2/+2
| | | | RemoveOperationWithDocId
* Don't have implicitly inlined test destructorTor Brede Vekterli2020-04-011-0/+3
|
* Also include actual expression size in messageTor Brede Vekterli2020-04-012-3/+4
|
* Add more limit details to parse failure messagesTor Brede Vekterli2020-04-013-7/+11
|
* Compile Flex lexer with options for better code generationTor Brede Vekterli2020-03-312-0/+17
|
* Add explicit limits to backend document selection parsingTor Brede Vekterli2020-03-3112-40/+192
| | | | | | | | | | | | | | Adds the following (very generous) limits: - Max AST depth of 1024 - Max input selection string size of 1 MiB Have to track AST depth manually, as there is no exposed way of doing this natively via Bison. Also removed a regex that had the potential of catastrophic backtracking in case of massive inputs. It wasn't removed during the previous purge due to being used with capture groups, which are not supported by our current vespalib regex wrapper.
* Non-functional changes onlyJon Bratseth2020-03-091-1/+4
|
* Move the lz4 to a single common place in vespajlibHenning Baldersheim2020-03-063-14/+0
|
* Use Google RE2 as underlying regex engineTor Brede Vekterli2020-03-042-25/+42
| | | | | | | | | | | | This introduces guaranteed upper bounds for memory usage and CPU time during regex evaluation. Most importantly, it removes the danger of catastrophic backtracking that is currrently present in GCC's std::regex implementation. With this commit, RE2 will be used instead of std::regex for: * Document selection regex/glob operators * Attribute regex search * Evaluation of mTLS authorization rules
* 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.