Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Revert "Revert "Do not expose fieldupdates as a list. Hide ↵ | Henning Baldersheim | 2018-09-18 | 8 | -177/+97 |
| | | | | implementation details ins…""" | ||||
* | Revert "Avoid NPE on non-exiting field" | Henning Baldersheim | 2018-09-18 | 2 | -7/+3 |
| | |||||
* | Avoid NPE on non-exiting field | Henning Baldersheim | 2018-09-17 | 2 | -3/+7 |
| | |||||
* | Less strict on possible missuse of deprecated API. | Henning Baldersheim | 2018-09-17 | 2 | -22/+43 |
| | | | | Make by name operatons fast by looking up the field in the document type. | ||||
* | Revert "Revert "Do not expose fieldupdates as a list. Hide implementation ↵ | Henning Baldersheim | 2018-09-14 | 8 | -89/+148 |
| | | | | details ins…"" | ||||
* | Revert "Do not expose fieldupdates as a list. Hide implementation details ↵ | Henning Baldersheim | 2018-09-14 | 8 | -148/+89 |
| | | | | ins…" | ||||
* | Merge pull request #6902 from vespa-engine/balder/hashmap-backed-documentupdate | Henning Baldersheim | 2018-09-13 | 8 | -89/+148 |
|\ | | | | | Do not expose fieldupdates as a list. Hide implementation details ins… | ||||
| * | Also update hashmap and detect errors due to misuse. | Henning Baldersheim | 2018-09-13 | 1 | -1/+10 |
| | | |||||
| * | Add Vespa 7 TODO | Henning Baldersheim | 2018-09-13 | 1 | -2/+12 |
| | | |||||
| * | Add deprecation comments and some renaming. | Henning Baldersheim | 2018-09-13 | 6 | -35/+60 |
| | | |||||
| * | Keep both list and hashmap | Henning Baldersheim | 2018-09-12 | 3 | -49/+32 |
| | | |||||
| * | Avoid using deprecated code. | Henning Baldersheim | 2018-09-11 | 3 | -7/+7 |
| | | |||||
| * | Do not expose fieldupdates as a list. Hide implementation details instead. | Henning Baldersheim | 2018-09-11 | 4 | -49/+81 |
| | | |||||
* | | Merge pull request #6918 from vespa-engine/balder/only-use-id-to-compare | Henning Baldersheim | 2018-09-13 | 10 | -18/+39 |
|\ \ | | | | | | | Just compare what is necessary for equality. | ||||
| * | | Use a private method to make code more readable and structured. | Henning Baldersheim | 2018-09-13 | 1 | -3/+5 |
| | | | |||||
| * | | Minor code cleanup while passing by. | Henning Baldersheim | 2018-09-12 | 4 | -13/+11 |
| | | | |||||
| * | | Identity only based on id. | Henning Baldersheim | 2018-09-12 | 4 | -2/+10 |
| | | | |||||
| * | | Just compare what is necessary for equality. | Henning Baldersheim | 2018-09-12 | 2 | -3/+16 |
| |/ | |||||
* | | Add test for proper setup and fix dirty retyping of ReferenceDataType target ↵ | Henning Baldersheim | 2018-09-12 | 3 | -0/+66 |
| | | | | | | | | to also do renaming. | ||||
* | | Never give up. | Henning Baldersheim | 2018-09-11 | 1 | -5/+0 |
|/ | |||||
* | Add toString | Henning Baldersheim | 2018-09-11 | 2 | -0/+17 |
| | |||||
* | Add explicit test to equals and compareTo and avoid * imports | Henning Baldersheim | 2018-09-11 | 2 | -2/+58 |
| | |||||
* | Due to some ugly inheritance you must use values with great care. In equals ↵ | Henning Baldersheim | 2018-09-10 | 3 | -7/+35 |
| | | | | it must use entrySet() due to some very ugly inheritance. | ||||
* | Also prune away ClearValue updates if possible. | Henning Baldersheim | 2018-09-10 | 2 | -0/+54 |
| | |||||
* | Use the cheaper equals instead of potentially expensive compareTo. | Henning Baldersheim | 2018-09-10 | 1 | -1/+1 |
| | |||||
* | Before compareTo on a hashmap makes sense it must be sorted. | Henning Baldersheim | 2018-09-10 | 3 | -23/+84 |
| | |||||
* | Switch to new javacc maven plugin: | gjoranv | 2018-08-27 | 4 | -13/+10 |
| | | | | | | | | - config model - document - documentapi - indexinglanguage. - searchlib | ||||
* | Add example in comment for remove field path update class. | Tor Egge | 2018-08-16 | 1 | -0/+9 |
| | |||||
* | 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 |
| | |