summaryrefslogtreecommitdiffstats
path: root/document
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "Revert "Do not expose fieldupdates as a list. Hide ↵Henning Baldersheim2018-09-188-177/+97
| | | | implementation details ins…"""
* Revert "Avoid NPE on non-exiting field"Henning Baldersheim2018-09-182-7/+3
|
* Avoid NPE on non-exiting fieldHenning Baldersheim2018-09-172-3/+7
|
* Less strict on possible missuse of deprecated API.Henning Baldersheim2018-09-172-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 Baldersheim2018-09-148-89/+148
| | | | details ins…""
* Revert "Do not expose fieldupdates as a list. Hide implementation details ↵Henning Baldersheim2018-09-148-148/+89
| | | | ins…"
* Merge pull request #6902 from vespa-engine/balder/hashmap-backed-documentupdateHenning Baldersheim2018-09-138-89/+148
|\ | | | | Do not expose fieldupdates as a list. Hide implementation details ins…
| * Also update hashmap and detect errors due to misuse.Henning Baldersheim2018-09-131-1/+10
| |
| * Add Vespa 7 TODOHenning Baldersheim2018-09-131-2/+12
| |
| * Add deprecation comments and some renaming.Henning Baldersheim2018-09-136-35/+60
| |
| * Keep both list and hashmapHenning Baldersheim2018-09-123-49/+32
| |
| * Avoid using deprecated code.Henning Baldersheim2018-09-113-7/+7
| |
| * Do not expose fieldupdates as a list. Hide implementation details instead.Henning Baldersheim2018-09-114-49/+81
| |
* | Merge pull request #6918 from vespa-engine/balder/only-use-id-to-compareHenning Baldersheim2018-09-1310-18/+39
|\ \ | | | | | | Just compare what is necessary for equality.
| * | Use a private method to make code more readable and structured.Henning Baldersheim2018-09-131-3/+5
| | |
| * | Minor code cleanup while passing by.Henning Baldersheim2018-09-124-13/+11
| | |
| * | Identity only based on id.Henning Baldersheim2018-09-124-2/+10
| | |
| * | Just compare what is necessary for equality.Henning Baldersheim2018-09-122-3/+16
| |/
* | Add test for proper setup and fix dirty retyping of ReferenceDataType target ↵Henning Baldersheim2018-09-123-0/+66
| | | | | | | | to also do renaming.
* | Never give up.Henning Baldersheim2018-09-111-5/+0
|/
* Add toStringHenning Baldersheim2018-09-112-0/+17
|
* Add explicit test to equals and compareTo and avoid * importsHenning Baldersheim2018-09-112-2/+58
|
* Due to some ugly inheritance you must use values with great care. In equals ↵Henning Baldersheim2018-09-103-7/+35
| | | | it must use entrySet() due to some very ugly inheritance.
* Also prune away ClearValue updates if possible.Henning Baldersheim2018-09-102-0/+54
|
* Use the cheaper equals instead of potentially expensive compareTo.Henning Baldersheim2018-09-101-1/+1
|
* Before compareTo on a hashmap makes sense it must be sorted.Henning Baldersheim2018-09-103-23/+84
|
* Switch to new javacc maven plugin:gjoranv2018-08-274-13/+10
| | | | | | | | - config model - document - documentapi - indexinglanguage. - searchlib
* Add example in comment for remove field path update class.Tor Egge2018-08-161-0/+9
|
* Stop iterating field path when variable value is out of array boundary.Tor Egge2018-08-151-1/+2
|
* Iterate over result list in reverse order to avoid staleTor Egge2018-08-152-2/+22
| | | | array indexes when removing array elements.
* Reverse iteration over selection result in an attempt toTor Egge2018-08-153-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 Egge2018-08-151-0/+2
|
* Remove whitespaceHenning Baldersheim2018-08-1240-103/+103
|
* Remove extra whitespaceHenning Baldersheim2018-08-125-5/+5
|
* Avoid ambiguity in gcc 8.2Henning Baldersheim2018-08-111-1/+1
|
* Pass stringref by valueHenning Baldersheim2018-08-1131-39/+39
|
* Pass stringref by valueHenning Baldersheim2018-08-1054-170/+166
|
* Move try/catch statements to parseDocumentSelection helper function.Tor Egge2018-08-061-13/+15
|
* Consider parse error as invalid selection expression.Tor Egge2018-08-062-7/+26
|
* Don't string wrap refs that are guaranteed to be zero-terminatedTor Brede Vekterli2018-07-265-7/+7
|
* Remove stringref::c_str()Tor Brede Vekterli2018-07-2527-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 Baldersheim2018-07-243-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 boundsTor Brede Vekterli2018-07-233-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-inferenceJon Bratseth2018-07-231-5/+8
|\ \ | |/ |/| Bratseth/java model inference
| * Model inference initial commitJon Bratseth2018-06-281-5/+8
| |
* | Remove a restriction that is not necessary since FieldUpdates are applied first.Henning Baldersheim2018-07-201-2/+0
| |
* | Update javadoc.Henning Baldersheim2018-07-201-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 Baldersheim2018-07-202-0/+90
| | | | | | | | | | | | effect when applied. Currently will only affect ASSIGN updates.
* | Fix author tag for SimonBjørn Christian Seime2018-07-0538-38/+38
| |
* | Explicit UTF-8 charsetOlli Virtanen2018-06-281-1/+6
| |