summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Use correct summary type for field sp2 (a long field).Tor Egge2022-07-132-3/+3
|
* Restore original semantics of ResultClass::GetIndexFromName() andTor Egge2022-07-061-29/+29
| | | | | | ResultClass::GetIndexFromEnumValue. Caller must check for entry being present. Rename GeneralResult member functions that checks for entry being present.
* Reduce code duplication by using fef::QueryValue in RequestContext ↵Geir Storli2022-07-051-8/+15
| | | | implementation.
* Move summary field converter unit test from searchcore to searchsummary.Tor Egge2022-06-303-761/+1
|
* Use std::filesystem to create and remove directories.Tor Egge2022-06-234-17/+18
|
* avoid nullptr derefHåvard Pettersen2022-06-213-4/+4
|
* more testing (arnej)Håvard Pettersen2022-06-091-0/+11
|
* Remove no longer used metrics for Vespa 8.Geir Storli2022-06-081-22/+4
|
* Remove 'attribute: huge' from config def file and C++ code.Geir Storli2022-06-082-11/+1
|
* Remove most use of vespalib::rmdir in searchcore.Tor Egge2022-06-028-42/+41
|
* Remove most use of vespalib::rmdir in searchlib.Tor Egge2022-06-026-7/+6
|
* Avoid using vespalib::Identifiable.Henning Baldersheim2022-05-275-10/+14
|
* Move the AttributeSpec and hide the ConfigHenning Baldersheim2022-05-2610-37/+44
|
* Include config in cpp file.Henning Baldersheim2022-05-263-3/+3
|
* Include searchcommon/attribut/config.h yourself and prepare for hiding large ↵Henning Baldersheim2022-05-2516-92/+98
| | | | | | implementation. Add setters to vespalib::GrowStrategy.
* - Introduce the concept of minimal capacity for rcu vectors.Henning Baldersheim2022-05-242-4/+8
| | | | | - This is to prevent shrinking down past what has been configured in proton.documentdb[].allocation.initialnumdocs - shrinking down past the configured value is not supported as that would counter the preallocation done to prevent resizing.
* - Avoid using shared_ptr for simpe AllocConfig and ThreadingServiceConfig.Henning Baldersheim2022-05-233-2/+4
| | | | - Reduce exposure of DocumentDBConfig and DocumentDBConfigManager classes.
* Fold searchlib_uca into searchlibHenning Baldersheim2022-05-215-5/+0
|
* Fold staging_vespalib into vespalibHenning Baldersheim2022-05-202-3/+3
|
* Move tracking of num field writer threads from ThreadingServiceConfig to ↵Geir Storli2022-05-184-49/+43
| | | | | | SharedThreadingServiceConfig. This is a follow-up for when the shared field writer executor is used across all document dbs.
* Merge pull request #22633 from ↵Henning Baldersheim2022-05-184-15/+15
|\ | | | | | | | | vespa-engine/balder/move-persistence-spi-types-under-vespa Balder/move persistence spi types under vespa
| * - Move persitence/spi/types.h under to persitence/spi/types.hHenning Baldersheim2022-05-184-15/+15
| | | | | | | | - Cut dependency to persistencetypes for searchlib.
* | Move ScheduledExecutor to searchcore and drop fnet dependency in ↵Henning Baldersheim2022-05-183-0/+63
|/ | | | staging_vespalib in order to prepare collapsing stagingg vespalib into vespalib
* Remove unused code after the shared field writer is used for all document dbs.Geir Storli2022-05-162-35/+6
|
* Collapse searchcorespi into searchcoreHenning Baldersheim2022-05-159-1/+279
|
* support default tensor values for query featureHåvard Pettersen2022-05-131-0/+32
|
* Merge pull request #22569 from ↵Tor Egge2022-05-121-18/+65
|\ | | | | | | | | vespa-engine/geirst/global-filter-and-searchable-copies Auto-adjust global filter tuning parameters to handle searchable-copi…
| * Auto-adjust global filter tuning parameters to handle searchable-copies > 1.Geir Storli2022-05-121-18/+65
| |
* | Don't attempt to actually execute document moves from a cancelled bucket moverTor Brede Vekterli2022-05-121-1/+31
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents the following race condition where the bucket mover logic fails to notify the content layer that the bucket sub DB status has changed for a particular bucket: 1. Bucket state is changed over SPI, a mover is created and registered and a BucketTask is scheduled onto the persistence queues to actually do the document reads and finalize the move. 2. Before the bucket task is executed, bucket state is changed again over the SPI. A new mover is created, the old one is cancelled (tagging mover as not consistent) and another BucketTask is scheduled onto the persistence queues. Note: the old task still remains. 3. Old bucket task is executed and performs the actual document moving despite being cancelled. No notification is done towards the content layer since the mover was tagged as not being consistent. 4. New bucket task is executed and tries to move the same document set as the old mover. Since the documents are no longer present in the source document DB, the moves fail. This tags the mover as inconsistent and no notification is done. Bucket is automatically rechecked, but since all docs are already moved away there is nothing more to do and no subsequent mover is created. This means the "should notify?" edge is not triggered and the content layer remains blissfully unaware of any sub DB changes. This commit simply changes cancellation to actually inhibit document moves from taking place. This lets the preempting mover successfully complete its moves, thus triggering the notify-edge as expected.
* make new bitvector when growingHåvard Pettersen2022-05-111-1/+1
|
* Auto-adjust targetHits for approximate nearest neighbor search when using ↵Geir Storli2022-05-101-2/+9
| | | | | | | | post-filtering. The goal is to expose 'targetHits' hits to first-phase ranking. Before searching the HNSW index, targetHits is adjusted based on the estimated hit ratio of the query to compensate for the hits that will be removed in post-filtering.
* Fix race conditions in vespalib::Cache.Tor Egge2022-04-292-2/+2
|
* Improve and re-structure trace logging from the query setup part of matching.Geir Storli2022-04-261-4/+4
| | | | Especially, provide more details for the selection of global filter strategy.
* Revert "Improve and re-structure trace logging from the query setup part of ↵Harald Musum2022-04-261-4/+4
| | | | m…"
* Merge pull request #22266 from vespa-engine/geirst/improve-query-setup-tracingGeir Storli2022-04-251-4/+4
|\ | | | | Improve and re-structure trace logging from the query setup part of m…
| * Improve and re-structure trace logging from the query setup part of matching.Geir Storli2022-04-251-4/+4
| | | | | | | | Especially, provide more details for the selection of global filter strategy.
* | Update metrics atomically.Henning Baldersheim2022-04-251-14/+5
|/
* Merge pull request #22105 from vespa-engine/arnej/just-new-config-filesHenning Baldersheim2022-04-121-81/+83
|\ | | | | switch to new-style config
| * switch to new-style configArne H Juul2022-04-121-81/+83
| |
* | Write unit test for how global filter is calculated and handled.Geir Storli2022-04-111-12/+70
| |
* | remove FastOS_ApplicationHåvard Pettersen2022-04-082-12/+12
|/ | | | | | | | fixup (per application): - maybe ignore SIGPIPE - wire argc/argv untangle Vespa Test Framework strip down deprecated TestApp
* Remove unneeded include statements in searchlib.Tor Egge2022-04-071-2/+0
|
* improve error messages when verifying rank setupHåvard Pettersen2022-04-061-1/+5
|
* GC unused Context parameterHenning Baldersheim2022-03-311-36/+23
|
* Move SearchContext out from AttributeVector.Tor Egge2022-03-291-1/+2
|
* Merge pull request #21879 from vespa-engine/arnej/use-std-functionHenning Baldersheim2022-03-291-4/+4
|\ | | | | use std::function
| * use std::functionArne H Juul2022-03-291-4/+4
| | | | | | | | * no need to implement our own (restricted) version of it
* | Merge pull request #21856 from ↵Henning Baldersheim2022-03-295-93/+68
|\ \ | | | | | | | | | | | | vespa-engine/balder/avoid-identifiable-for-valueupdate-2 Balder/avoid identifiable for valueupdate 2
| * | Minor simplifications after PR feedback.Henning Baldersheim2022-03-293-8/+8
| | |
| * | Remove copy constructors.Henning Baldersheim2022-03-285-93/+68
| |/