Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | 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 | |
| | | ||||||
* | | 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. |