aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/main/java
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Only need a single instance to represent the empty argument.Henning Baldersheim2021-11-023-3/+3
|
* Unify on using a list for backing.Henning Baldersheim2021-11-023-41/+29
|
* Use UTF-8 bytewise ordering for StringResultNode comparisonsTor Brede Vekterli2021-11-011-23/+62
| | | | | | | | | | | | | | | The C++ backend uses `memcmp` ordering of UTF-8 strings for its `StringResultNode` instances and expects the container to feed it nodes in the same order. However, the Java code used `String` internally, which compares UTF-16 codepoints instead of UTF-8 octets. These may not agree on the ordering, particularly in the presence of surrogate pairs. Java `StringResultNode` now uses a raw UTF-8 byte array as its value backing, which has the added benefit that (de-)serializing is effectively a no-op. Some extra `String` roundtrip work needed now to support the various type-erased `ResultNode` functionality, but this is not expected to be called in a hot path.
* Update 2019 Oath copyrights.gjoranv2021-10-271-1/+1
|
* Update Verizon Media copyright notices.gjoranv2021-10-071-1/+1
|
* Update 2019 Yahoo Holdings copyright notices.gjoranv2021-10-072-2/+2
|
* Update 2018 copyright notices.gjoranv2021-10-077-8/+8
|
* Update 2017 copyright notices.gjoranv2021-10-07192-192/+192
|
* Pass destinationJon Bratseth2021-09-301-1/+1
| | | | | This allows embedders to switch on it to enable bucket testing and similar.
* add "hamming" functionArne H Juul2021-09-232-1/+3
|
* ExpressionTransformer: only setChildren if any child nodes is transformedLester Solbakken2021-09-151-4/+14
|
* Use a single cached object to make logic simpler and only update on object.Henning Baldersheim2021-09-141-2/+6
|
* Create as list tooHenning Baldersheim2021-09-141-8/+4
|