Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Stop iterating field path when variable value is out of array boundary. | Tor Egge | 2018-08-15 | 1 | -1/+2 |
| | |||||
* | Iterate over result list in reverse order to avoid stale | Tor Egge | 2018-08-15 | 2 | -2/+22 |
| | | | | array indexes when removing array elements. | ||||
* | Reverse iteration over selection result in an attempt to | Tor Egge | 2018-08-15 | 3 | -1/+32 |
| | | | | | | | | | | | avoid stale array indexes being used as part of applying a remove field path update. This change assumes that variables stored in result list have increasing values. Add unit test for removal of multiple array elements using remove field path update. | ||||
* | Stop iterating field path when variable value is out of array boundary. | Tor Egge | 2018-08-15 | 1 | -0/+2 |
| | |||||
* | Remove whitespace | Henning Baldersheim | 2018-08-12 | 40 | -103/+103 |
| | |||||
* | Remove extra whitespace | Henning Baldersheim | 2018-08-12 | 5 | -5/+5 |
| | |||||
* | Avoid ambiguity in gcc 8.2 | Henning Baldersheim | 2018-08-11 | 1 | -1/+1 |
| | |||||
* | Pass stringref by value | Henning Baldersheim | 2018-08-11 | 31 | -39/+39 |
| | |||||
* | Pass stringref by value | Henning Baldersheim | 2018-08-10 | 54 | -170/+166 |
| | |||||
* | Move try/catch statements to parseDocumentSelection helper function. | Tor Egge | 2018-08-06 | 1 | -13/+15 |
| | |||||
* | Consider parse error as invalid selection expression. | Tor Egge | 2018-08-06 | 2 | -7/+26 |
| | |||||
* | Don't string wrap refs that are guaranteed to be zero-terminated | Tor Brede Vekterli | 2018-07-26 | 5 | -7/+7 |
| | |||||
* | Remove stringref::c_str() | Tor Brede Vekterli | 2018-07-25 | 27 | -53/+66 |
| | | | | | | | | | | | | | The expected semantics of c_str() (a null-terminated string) cannot be satisfied with a string reference, so remove the function entirely to prevent people from using it in buggy ways. Replaces c_str() with data() in places where it is presumed safe, otherwise constructs temporary string instances. Certain callsites have been de-stringref'd in favor of regular strings, in particular where C APIs have been transitively called. The vast majority of these were called with string parameters anyway, so should not cause much extra allocation. | ||||
* | Merge pull request #6451 from ↵ | Henning Baldersheim | 2018-07-24 | 3 | -3/+39 |
|\ | | | | | | | | | vespa-engine/vekterli/ignore-array-element-update-for-out-of-bounds-index Ignore array element update with index out of bounds | ||||
| * | Ignore array element update with index out of bounds | Tor Brede Vekterli | 2018-07-23 | 3 | -3/+39 |
| | | | | | | | | | | | | Only affects "element match" field value updates. Silently ignoring the update matches the semantics of semantically identical field path updates. | ||||
* | | Merge pull request #6444 from vespa-engine/bratseth/java-model-inference | Jon Bratseth | 2018-07-23 | 1 | -5/+8 |
|\ \ | |/ |/| | Bratseth/java model inference | ||||
| * | Model inference initial commit | Jon Bratseth | 2018-06-28 | 1 | -5/+8 |
| | | |||||
* | | Remove a restriction that is not necessary since FieldUpdates are applied first. | Henning Baldersheim | 2018-07-20 | 1 | -2/+0 |
| | | |||||
* | | Update javadoc. | Henning Baldersheim | 2018-07-20 | 1 | -10/+10 |
| | | | | | | | | Improve error message and produce it in one place. | ||||
* | | Add a prune method that can be used to remove updates that will have no ↵ | Henning Baldersheim | 2018-07-20 | 2 | -0/+90 |
| | | | | | | | | | | | | effect when applied. Currently will only affect ASSIGN updates. | ||||
* | | Fix author tag for Simon | Bjørn Christian Seime | 2018-07-05 | 38 | -38/+38 |
| | | |||||
* | | Explicit UTF-8 charset | Olli Virtanen | 2018-06-28 | 1 | -1/+6 |
| | | |||||
* | | Minor warning cleanup | Olli Virtanen | 2018-06-27 | 1 | -4/+0 |
| | | |||||
* | | Include .toJson() in Document analogously to .toXml() | Olli Virtanen | 2018-06-27 | 2 | -5/+59 |
|/ | |||||
* | some more cleanup | Arne Juul | 2018-06-20 | 3 | -7/+7 |
| | |||||
* | add and use HDR_ABORT instead | Arne Juul | 2018-06-20 | 1 | -2/+3 |
| | |||||
* | Merge branch 'master' into arnej/use-log-abort | Arne Juul | 2018-06-20 | 39 | -806/+641 |
|\ | |||||
| * | Reuse common code | Henning Baldersheim | 2018-06-15 | 1 | -4/+2 |
| | | |||||
| * | Only deserialize the docId on the initial deserialize of the header. | Henning Baldersheim | 2018-06-14 | 2 | -76/+69 |
| | | | | | | | | Just skip and verify on subsequent invocations. | ||||
| * | Update comments | Henning Baldersheim | 2018-06-14 | 5 | -17/+7 |
| | | |||||
| * | Update after comments from @vekterli | Henning Baldersheim | 2018-06-14 | 15 | -65/+26 |
| | | |||||
| * | ByteBuffer -> nbostream | Henning Baldersheim | 2018-06-14 | 9 | -36/+30 |
| | | |||||
| * | Remove unused version | Henning Baldersheim | 2018-06-14 | 11 | -32/+19 |
| | | |||||
| * | Remove unused version from api | Henning Baldersheim | 2018-06-14 | 18 | -50/+34 |
| | | |||||
| * | ByteBuffer -> nbostream | Henning Baldersheim | 2018-06-14 | 18 | -120/+72 |
| | | |||||
| * | Merge pull request #6185 from ↵ | Henning Baldersheim | 2018-06-14 | 8 | -352/+399 |
| |\ | | | | | | | | | | | | | vespa-engine/balder/balder/prepare-lazy-deserialize-rebased-2 Balder/balder/prepare lazy deserialize rebased 2 | ||||
| | * | Address somment form @vekterli | Henning Baldersheim | 2018-06-14 | 1 | -12/+22 |
| | | | |||||
| | * | 1 - Use a backing buffer for the DocumentUpdate that always is source of truth. | Henning Baldersheim | 2018-06-12 | 8 | -349/+386 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2 - Use this buffer for re-serialization. 3 - Make deserialization lazy where possible. Currently lazy on replay and when arriving over the storageapi. Still needs to eager over documentapi. 4 - Deserialize eagerly in the persistence thread since those are plentyfull and not bottlenecked, instead of in the single master thread. Use real repo. | ||||
| * | | Merge pull request #6188 from vespa-engine/balder/cache-the-default-doctype | Geir Storli | 2018-06-13 | 5 | -167/+98 |
| |\ \ | | | | | | | | | Balder/cache the default doctype | ||||
| | * | | Reduce code visibility. | Henning Baldersheim | 2018-06-13 | 5 | -45/+23 |
| | | | | | | | | | | | | | | | | Avoid do very frequent hash lookup for something that is always present. | ||||
| | * | | C++11 for loops, style changes++ | Henning Baldersheim | 2018-06-13 | 1 | -122/+75 |
| | |/ | |||||
| * / | Only call classFromId once | Henning Baldersheim | 2018-06-13 | 1 | -6/+4 |
| |/ | |||||
* / | use LOG_ABORT not just abort() | Arne Juul | 2018-06-12 | 4 | -6/+16 |
|/ | | | | | | | | | | * abort() has the unfortunate effect that nothing is seen in the log, just an event (which is usually not displayed); so ops people don't see that the program is crashing at all. * LOG_ABORT("message") will log an error with the message (and the file and line) before calling abort(), so it's easy to see what happened. * add or move <vespa/log/log.h> include and LOG_SETUP lines before LOG_ABORT is used (or included). | ||||
* | Last style changes before lazy documentupdate PR. | Henning Baldersheim | 2018-06-12 | 8 | -47/+32 |
| | |||||
* | Merge branch 'master' into balder/reduce-code-visibility-rebased | Henning Baldersheim | 2018-06-12 | 1 | -1/+0 |
|\ | |||||
| * | Merge pull request #6174 from vespa-engine/arnej/cleanup-old-mak-files | Henning Baldersheim | 2018-06-12 | 1 | -1/+0 |
| |\ | | | | | | | clean up remnants of .mak files | ||||
| | * | clean up remnants of .mak files | Arne Juul | 2018-06-11 | 1 | -1/+0 |
| | | | |||||
* | | | Reduce code visibility | Henning Baldersheim | 2018-06-12 | 24 | -144/+62 |
|/ / | | | | | | | | | | | Conflicts: document/src/vespa/document/update/documentupdate.h document/src/vespa/document/update/mapvalueupdate.cpp | ||||
* | | Inline flip/clear | Henning Baldersheim | 2018-06-12 | 2 | -20/+9 |
| | | |||||
* | | Fix deserialization of MapValueUpdates for array fields in C++ | Tor Brede Vekterli | 2018-06-11 | 2 | -1/+58 |
|/ | | | | | Must deserialize element with nested data type (since that's what's on the wire), not with data type of array itself. |