summaryrefslogtreecommitdiffstats
path: root/searchsummary/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* GC unused code.Henning Baldersheim2020-08-131-8/+16
|
* handle locations in query for getdocsumArne Juul2020-07-153-3/+0
|
* one more ITEM_LOCATION_TERM -> ITEM_GEO_LOCATION_TERMArne Juul2020-07-151-1/+1
|
* more descriptive enum name for geo location termArne Juul2020-07-151-2/+2
|
* remove even more unused codeArne Juul2020-07-092-57/+4
|
* GC unused codeArne Juul2020-07-096-44/+3
|
* clean up various issues with ParseItem classArne Juul2020-07-096-25/+509
| | | | | | | | | | | * SimpleQueryStack only used for one unit test, move it there * Actual instances of ParseItem also only used for same unit test. Split out the object representation into a separate SimpleQueryStackItem class in the unit test directory. * give location ITEM_LOCATION_TERM instead of overloading NUMTERM * ParseItem::ITEM_PAREN never used for anything, remove it * add comment for removal of PAREN enum in prelude/query/Item.java * refactor flag handling with one method per flag
* Consolidate search for GTest.Tor Egge2020-07-073-3/+0
|
* return from main instead of exitArne Juul2020-07-032-4/+4
|
* Support filtering of matched elements for multi-value attributes.Geir Storli2020-06-054-139/+192
|
* Simplify validation of slime docsum by comparing slime objects directly.Geir Storli2020-06-052-82/+32
| | | | They also have nice pretty printing if some tests fail.
* Prepare to support matched-elements-only for arrays and weighted sets of ↵Geir Storli2020-05-204-55/+55
| | | | | | | primitive types. This renames StructFieldMapper to MatchingElementsFields with added support for basic fields. Also some terminology is aligned.
* update unit tests with new expected outputArne Juul2020-05-191-5/+5
|
* Extend unit test to use out of bounds matching element id.Tor Egge2020-02-201-0/+2
|
* Add ReadableAttributeVector accessor to IAttributeManagerTor Brede Vekterli2020-01-291-0/+4
| | | | | | | | | | Provides a unified interface for fetching both regular as well as imported attributes. Exposing `ReadableAttributeVector` instead of raw `AttributeVector` instances enforces that all access is done via appropriate acquired read guards. Refactor document selection processing code to use the new interface in order to prepare for imported field support in selections.
* Use vespalib::count_sHenning Baldersheim2019-12-191-1/+1
|
* WipeHistory has not been used for a very long time.Henning Baldersheim2019-12-161-3/+3
|
* Extend MatchedElementsFilterDFW to get the input field from the document ↵Geir Storli2019-12-031-3/+33
| | | | instance if it is not in the docsum blob.
* Rename urlresult* -> general_result* to match class name.Geir Storli2019-12-031-1/+1
|
* Address comment by specifying timeunit in the type.Henning Baldersheim2019-11-201-1/+1
|
* Use C++11 chrono instead prehistoric homegrown stuff.Henning Baldersheim2019-11-201-8/+7
|
* Reduce amount of inlining for large methodsHenning Baldersheim2019-10-141-9/+14
|
* Fix how slime field value is encoded into root inserter.Geir Storli2019-10-081-10/+4
|
* Setup struct field mapper when constructing matched elements filter dfw.Geir Storli2019-10-082-12/+88
|
* Add docsum field writer that filters matched elements from a complex field ↵Geir Storli2019-10-042-0/+215
| | | | retrieved from document store.
* Verify that struct mapper is correctly setup.Tor Egge2019-10-021-4/+44
|
* Change signature of fill_matching_elements to take a const reference toTor Egge2019-10-023-4/+9
| | | | StructFieldMapper.
* Remove some more transport related stuff.Henning Baldersheim2019-09-301-2/+1
|
* Move ownership of MatchingElements to GetDocsumsState.Tor Egge2019-09-273-3/+3
|
* Add filtering support to attribute combiner dynamic field writer.Tor Egge2019-09-253-6/+62
|
* Rewrite attribute combiner unit test to use GTest.Tor Egge2019-09-252-32/+46
|
* Remove files used by old unit test runner.Tor Egge2019-02-191-1/+0
|
* GC unused codeHenning Baldersheim2019-01-112-255/+59
|
* shared_ptr -> unique_ptrHenning Baldersheim2018-08-281-2/+2
|
* Move smartpointersHenning Baldersheim2018-08-271-3/+3
|
* Wire in the attribute execution via the IAttributeContext.Henning Baldersheim2018-08-271-15/+29
| | | | Also execution in a task for containment.
* use LOG_ABORT not just abort()Arne Juul2018-06-121-5/+5
| | | | | | | | | | * abort() has the unfortunate effect that nothing is seen in the log, just an event (which is usually not displayed); so ops people don't see that the program is crashing at all. * LOG_ABORT("message") will log an error with the message (and the file and line) before calling abort(), so it's easy to see what happened. * add or move <vespa/log/log.h> include and LOG_SETUP lines before LOG_ABORT is used (or included).
* Test map of struct.Tor Egge2018-06-081-12/+34
| | | | Test map of string.
* Handle empty array of struct in attribute combiner dynamic field writer.Tor Egge2018-06-081-3/+4
|
* Factor out common code to new function: toCompactJsonString.Tor Egge2018-06-081-16/+13
|
* Adjust year in copyright comment.Tor Egge2018-06-071-1/+1
|
* Add attribute combiner dynamic field writer.Tor Egge2018-06-072-0/+228
|
* Remove unused unit test.Tor Egge2018-06-0631-512/+0
|
* Add initial support for SameElement in backend too.Henning Baldersheim2018-05-251-4/+4
|
* Change AttributeContext to use makeReadGuard method on attribute vectors.Tor Egge2018-04-201-1/+1
|
* Use schematic 'type', 'message', 'details' error schema.Henning Baldersheim2018-02-021-4/+0
|
* Revert "Revert "Havardpe/avoid reading past json value in slime json parser""Arnstein Ressem2017-10-021-1/+1
|
* Revert "Havardpe/avoid reading past json value in slime json parser"Arnstein Ressem2017-10-021-1/+1
|
* avoid implicit cast to boolHåvard Pettersen2017-09-291-1/+1
|
* avoid requiring that json parsing consumes all inputHåvard Pettersen2017-09-291-1/+1
| | | | (the input could end with \n if human readable)