aboutsummaryrefslogtreecommitdiffstats
path: root/document
Commit message (Collapse)AuthorAgeFilesLines
* Use find_package to find gtest library.Tor Egge2020-06-291-1/+3
|
* Merge pull request #13709 from ↵Jon Bratseth2020-06-261-0/+4
|\ | | | | | | | | vespa-engine/bratseth/surrogate-aware-gram-splitting Surrogate aware gram splitting
| * Surrogate aware gram splittingJon Bratseth2020-06-251-0/+4
| |
* | Merge pull request #13696 from ↵Jon Bratseth2020-06-261-11/+4
|\ \ | |/ |/| | | | | vespa-engine/bratseth/handle-existing-spanTree-rebased Handle an existing spantree in exactmatch
| * Handle an existing spantree in exactmatchJon Bratseth2020-06-241-11/+4
| | | | | | | | | | This may happen if a field which is indexed is used as an input for another field indexed as exact match.
* | Add source target per module for generated sources.Tor Egge2020-06-231-0/+3
|/
* Merge pull request #13619 from vespa-engine/bratseth/spare-capacity-maintainerJon Bratseth2020-06-181-0/+2
|\ | | | | Bratseth/spare capacity maintainer
| * SpareCapacityMaintainer sketchJon Bratseth2020-06-121-0/+2
| |
* | Merge pull request #13601 from ↵Henning Baldersheim2020-06-1816-232/+104
|\ \ | | | | | | | | | | | | vespa-engine/balder/remove-leftovers-from-head-body-period-and-depcrecate-methods-levaing-on-vespa-8 - Removing body struct from our own usage.
| * | Follow up from PR comments and GC some more code.Henning Baldersheim2020-06-185-43/+4
| | |
| * | - Removing body struct from our own usage.Henning Baldersheim2020-06-1615-196/+107
| |/ | | | | | | | | - Deprecate public methods using body struct. - Update expected generated config.
* | Test that Java parser already works as expectedTor Brede Vekterli2020-06-171-0/+4
| |
* | Support "user" and "group" as identifiers in C++ selection parserTor Brede Vekterli2020-06-172-4/+24
| | | | | | | | | | | | These were not included in the explicit list of allowed tokens and would therefore cause parse failures if e.g. a document type was called "user".
* | Remove Beta annotations.Henning Baldersheim2020-06-161-3/+0
|/
* fix broken linkskkraune2020-05-202-2/+2
|
* Non-functional changes onlyJon Bratseth2020-05-132-0/+7
|
* 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
|