summaryrefslogtreecommitdiffstats
path: root/searchlib/src/main/java
Commit message (Collapse)AuthorAgeFilesLines
* Avoid confusing the reader by starting off with OR. Just use null instead.Henning Baldersheim2022-09-211-1/+1
|
* Simplify operatorsByPrecedence listHenning Baldersheim2022-09-212-17/+1
|
* Use pattern variableHenning Baldersheim2022-09-211-4/+2
|
* Short circuit boolean expressionsJon Bratseth2022-09-212-12/+21
| | | | | | | | Short circuit boolean expressions by converting them to (nested) if expressions. This also fixes a bug in Java expression evaluation where evaluation of arithmetic operations with the same precedence would be from right to left rather than left to right.
* Revert "Revert "Revert "Short circuit boolean expressions"""Henning Baldersheim2022-09-212-21/+12
|
* Revert "Revert "Short circuit boolean expressions""Henning Baldersheim2022-09-212-12/+21
|
* Revert "Short circuit boolean expressions"Arnstein Ressem2022-09-202-21/+12
|
* Short circuit boolean expressionsJon Bratseth2022-09-202-12/+21
| | | | | | | | Short circuit boolean expressions by converting them to (nested) if expressions. This also fixes a bug in Java expression evaluation where evaluation of arithmetic operations with the same precedence would be from right to left rather than left to right.
* pattern matching for instanceof reduces castingAndreas Eriksen2022-06-161-2/+2
|
* Remove deprecated ctors in SerializationContextgjoranv2022-06-091-31/+22
|
* GC deprecated unused methodsHenning Baldersheim2022-06-081-6/+0
|
* GC deprecated unused methodsHenning Baldersheim2022-06-081-16/+3
|
* Remove deprecated APIs exposing Guava typesBjørn Christian Seime2022-06-083-27/+0
|
* Don't require overriding max() if using predef as grouping expressionBjørn Christian Seime2022-05-0313-0/+26
|
* Add ordering test for IntegerBucketResultNode and fix overflow bug.Henning Baldersheim2022-04-211-5/+5
|
* Cheaper way to get number of children.Henning Baldersheim2022-04-201-1/+6
|
* Merge pull request #22044 from vespa-engine/bratseth/flatten-totalhitsBjørn Christian Seime2022-04-193-60/+40
|\ | | | | Bratseth/flatten totalhits
| * Update searchlib/src/main/java/com/yahoo/searchlib/aggregation/Grouping.javaBjørn Christian Seime2022-04-191-1/+1
| |
| * No functional changesJon Bratseth2022-04-073-60/+40
| |
* | Special handle lists with 2 or less elements.Henning Baldersheim2022-04-121-0/+4
| |
* | Optimize fro the most common case where the lists are either empty or has ↵Henning Baldersheim2022-04-121-52/+112
| | | | | | | | | | | | 1-2 elements. Do not use the ArraryList until it is necessary.
* | Dash lastJon Bratseth2022-04-071-2/+2
| |
* | Allow creatibng reference nodes from simple reference stringsJon Bratseth2022-04-072-34/+35
| |
* | Allow $ in identifiersJon Bratseth2022-04-071-2/+2
| |
* | Allow inputs declarations in rank profilesJon Bratseth2022-04-043-7/+11
|/
* No functional changesJon Bratseth2022-03-232-4/+4
|
* Don't convert true and false to 1.0 and 0.0Jon Bratseth2022-03-041-2/+0
|
* Revert "Revert "'true' and 'false' literals in ranking expressions""Jon Bratseth2022-03-042-1/+4
| | | | This reverts commit 95979285c20b384c3053d210c9e4e4661e13ecd5.
* Revert "'true' and 'false' literals in ranking expressions"Arnstein Ressem2022-03-032-4/+1
|
* Merge pull request #21504 from vespa-engine/bratseth/truefalseJon Bratseth2022-03-032-1/+4
|\ | | | | 'true' and 'false' literals in ranking expressions
| * 'true' and 'false' literals in ranking expressionsJon Bratseth2022-03-022-1/+4
| |
* | No functional changesJon Bratseth2022-03-027-140/+73
|/
* Merge grouping results incrementally in search invokerBjørn Christian Seime2022-03-011-0/+4
|
* Compute hash without serializing to stringJon Bratseth2022-03-0117-40/+105
|
* Avoid deprecated methodJon Bratseth2022-02-281-3/+7
|
* Suppress warningJon Bratseth2022-02-281-0/+1
|
* Pass type contextJon Bratseth2022-02-282-27/+29
|
* remove cruft from FeatureListArne H Juul2022-02-241-9/+2
|
* Resolve slice dimensionJon Bratseth2022-02-164-19/+56
|
* Allow quoted string slice labelsJon Bratseth2022-02-151-3/+1
|
* remove redundant castArne H Juul2022-01-061-1/+1
|
* Deprecate ctors and methods in 'searchlib' using Guava ImmutableMapBjørn Christian Seime2021-12-073-18/+39
| | | | | | - com.yahoo.searchlib.rankingexpression.rule.FunctionReferenceContext - com.yahoo.searchlib.rankingexpression.rule.SerializationContext - com.yahoo.searchlib.rankingexpression.rule.TensorFunctionNode
* Add custom `@Beta` annotationBjørn Christian Seime2021-12-036-6/+6
| | | | Replace use of Guava's `com.google.common.annotations.Beta` with custom annotation.
* JDK 17: Fix out-of-sequence javadoc headers.gjoranv2021-11-101-1/+1
|
* Cleanup - no functional changesJon Bratseth2021-11-042-58/+37
|
* Avoid intermediate NegativeNode in the leaf nodes, adding approximately ↵Henning Baldersheim2021-11-034-9/+21
| | | | 15-20% extra nodes.
* Avoid keeping string around in the leaf nodes. It is not worth the space.Henning Baldersheim2021-11-031-4/+0
|
* Also override function()Henning Baldersheim2021-11-032-1/+17
|
* Add a LongValue to preserve integer numbers.Henning Baldersheim2021-11-032-2/+124
|
* Make StringValue symmetric so it can accept its output (toString) as input.Henning Baldersheim2021-11-034-8/+4
|