Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix broken links | kkraune | 2020-05-20 | 2 | -2/+2 |
| | |||||
* | Non-functional changes only | Jon Bratseth | 2020-05-13 | 2 | -0/+7 |
| | |||||
* | LogLevel.DEBUG -> Level.FINE | gjoranv | 2020-04-25 | 1 | -2/+2 |
| | |||||
* | Import java.util.logging.Level instead of com.yahoo.log.LogLevel | gjoranv | 2020-04-25 | 1 | -1/+1 |
| | |||||
* | Merge pull request #12928 from ↵ | Jon Bratseth | 2020-04-16 | 2 | -5/+3 |
|\ | | | | | | | | | vespa-engine/bratseth/vespa-http-client-improvements Bratseth/vespa http client improvements | ||||
| * | Nonfunctional changes only | Jon Bratseth | 2020-04-15 | 2 | -5/+3 |
| | | |||||
* | | Improve readability | Henning Baldersheim | 2020-04-15 | 3 | -5/+8 |
|/ | |||||
* | Ensure that documentid is legal. | Henning Baldersheim | 2020-04-14 | 3 | -0/+39 |
| | |||||
* | Add toString to abi. | Henning Baldersheim | 2020-04-13 | 1 | -1/+2 |
| | |||||
* | Add toString() to TestAndSetCondition | Rong-En Fan | 2020-04-12 | 1 | -0/+9 |
| | |||||
* | Make RemoveOperation an interface and move implmentation to ↵ | Henning Baldersheim | 2020-04-08 | 2 | -2/+2 |
| | | | | RemoveOperationWithDocId | ||||
* | Don't have implicitly inlined test destructor | Tor Brede Vekterli | 2020-04-01 | 1 | -0/+3 |
| | |||||
* | Also include actual expression size in message | Tor Brede Vekterli | 2020-04-01 | 2 | -3/+4 |
| | |||||
* | Add more limit details to parse failure messages | Tor Brede Vekterli | 2020-04-01 | 3 | -7/+11 |
| | |||||
* | Compile Flex lexer with options for better code generation | Tor Brede Vekterli | 2020-03-31 | 2 | -0/+17 |
| | |||||
* | Add explicit limits to backend document selection parsing | Tor Brede Vekterli | 2020-03-31 | 12 | -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 only | Jon Bratseth | 2020-03-09 | 1 | -1/+4 |
| | |||||
* | Move the lz4 to a single common place in vespajlib | Henning Baldersheim | 2020-03-06 | 3 | -14/+0 |
| | |||||
* | Use Google RE2 as underlying regex engine | Tor Brede Vekterli | 2020-03-04 | 2 | -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++ implementation | Tor Brede Vekterli | 2020-02-18 | 1 | -0/+16 |
| | |||||
* | Ensure well-defined semantics for non-commutative field comparisons | Tor Brede Vekterli | 2020-02-18 | 2 | -3/+38 |
| | |||||
* | Merge pull request #12096 from ↵ | Tor Brede Vekterli | 2020-02-07 | 3 | -58/+129 |
|\ | | | | | | | | | vespa-engine/vekterli/simplify-regexes-generated-from-glob-patterns Simplify regexes generated from document selection glob patterns | ||||
| * | Consistent test naming | Tor Brede Vekterli | 2020-02-07 | 1 | -1/+1 |
| | | |||||
| * | Simplify regexes generated from document selection glob patterns | Tor Brede Vekterli | 2020-02-06 | 3 | -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 update | Håvard Pettersen | 2020-02-06 | 6 | -6/+69 |
| | | |||||
* | | Merge branch 'master' into balder/less-unused-header-body-references | Henning Baldersheim | 2020-02-05 | 17 | -72/+445 |
|\| | |||||
| * | Add comment to importedfield entry in documenttypes config definition | Tor Brede Vekterli | 2020-02-03 | 1 | -0/+1 |
| | | |||||
| * | Detect and handle simple imported fields in expressions (C++) | Tor Brede Vekterli | 2020-01-31 | 2 | -6/+71 |
| | | |||||
| * | Propagate configured imported fields to DocumentTypeRepo (C++) | Tor Brede Vekterli | 2020-01-31 | 5 | -57/+139 |
| | | |||||
| * | Detect and handle simple imported fields in expressions (Java) | Tor Brede Vekterli | 2020-01-31 | 2 | -3/+59 |
| | | |||||
| * | Wire imported fields config into Java DocumentType | Tor Brede Vekterli | 2020-01-31 | 6 | -4/+134 |
| | | |||||
| * | Add imported fields to document configs | Tor Brede Vekterli | 2020-01-31 | 3 | -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 Baldersheim | 2020-01-30 | 19 | -1/+1 |
| | | |||||
* | | Header/body does not exist anymore. Deprecate and remove own internal usage. | Henning Baldersheim | 2020-01-30 | 17 | -126/+125 |
|/ | |||||
* | Reset all members | Henning Baldersheim | 2020-01-28 | 1 | -0/+1 |
| | |||||
* | Add comment about optimisation and object lifetime | Henning Baldersheim | 2020-01-28 | 1 | -0/+5 |
| | |||||
* | Set field directly. | Henning Baldersheim | 2020-01-28 | 3 | -9/+8 |
| | |||||
* | reset instead of clear, and only once | Henning Baldersheim | 2020-01-28 | 2 | -3/+3 |
| | |||||
* | Inline | Henning Baldersheim | 2020-01-28 | 2 | -12/+7 |
| | |||||
* | Merge pull request #11968 from ↵ | Henning Baldersheim | 2020-01-28 | 8 | -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 Baldersheim | 2020-01-27 | 1 | -2/+1 |
| | | |||||
| * | Allow room for bringing allocation along to reduce the need to copy. | Henning Baldersheim | 2020-01-27 | 9 | -14/+34 |
| | | |||||
* | | setFieldValue for Boolean | kkraune | 2020-01-28 | 2 | -0/+5 |
|/ | |||||
* | Add include statements needed by newer build environments. | Tor Egge | 2020-01-26 | 1 | -0/+2 |
| | |||||
* | Remove unused private member variables. | Tor Egge | 2020-01-24 | 1 | -1/+1 |
| | |||||
* | Followup on code comments. | Henning Baldersheim | 2020-01-23 | 2 | -11/+14 |
| | |||||
* | Add an extra indirection to the rarely used owned buffers, in order to keep ↵ | Henning Baldersheim | 2020-01-23 | 3 | -13/+22 |
| | | | | the frequently accesed members in StructFieldValue close | ||||
* | Avoid duplicating information. | Henning Baldersheim | 2020-01-23 | 2 | -5/+6 |
| | |||||
* | Move the transaction implementation from StructuredFieldValue to Document | Henning Baldersheim | 2020-01-23 | 10 | -126/+153 |
| | |||||
* | Just use the stack | Henning Baldersheim | 2020-01-23 | 1 | -2/+2 |
| |