summaryrefslogtreecommitdiffstats
path: root/searchlib
Commit message (Collapse)AuthorAgeFilesLines
...
| * Don't make changes to the nearest neighbor index (hnsw) when the inserted ↵Geir Storli2022-06-108-7/+90
| | | | | | | | | | | | tensor is unchanged. With this optimization we avoid doing unnecessary costly work, first removing the vector point, then inserting the same point.
* | Remove deprecated ctors in SerializationContextgjoranv2022-06-092-35/+22
| |
* | fix undefined behavior in unit testsHåvard Pettersen2022-06-0911-23/+25
|/
* more testing (arnej)Håvard Pettersen2022-06-091-3/+5
|
* disallow bad position fieldArne H Juul2022-06-092-9/+2
|
* Merge pull request #22969 from vespa-engine/havardpe/aggr-result-is-ptrHenning Baldersheim2022-06-0933-246/+239
|\ | | | | expression result is pointer
| * expression result is pointerHåvard Pettersen2022-06-0733-246/+239
| | | | | | | | | | since it can sometimes be nullptr (deref of nullptr is undefined behavior)
* | Add bm25() and matches() and remove now() as default rank features to be ↵Geir Storli2022-06-085-9/+31
| | | | | | | | dumped on Vespa 8.
* | Set project version to 8-SNAPSHOTgjoranv2022-06-081-2/+2
| |
* | GC deprecated unused methodsHenning Baldersheim2022-06-082-7/+0
| |
* | GC deprecated unused methodsHenning Baldersheim2022-06-082-18/+3
| |
* | Add missing deps to lz4-java, and exclude in container-devgjoranv2022-06-081-0/+4
| | | | | | | | (no longer provided by jdisc)
* | Remove 'attribute: huge' from config def file and C++ code.Geir Storli2022-06-086-29/+6
| |
* | Remove deprecated APIs exposing Guava typesBjørn Christian Seime2022-06-084-30/+0
|/
* fix undefined behavior in unit tests -- WIPHåvard Pettersen2022-06-076-17/+12
|
* Creating the document metastore read guard is expensive and is not necessary ↵Henning Baldersheim2022-06-048-30/+46
| | | | | | | | to do for every imported attribute. We do it once per metastore and cache it in the ImportedAttributeContext. It would be even better if we could drop support for the default makeReadGuard(bool). Then we would also avoid copying the shared_ptr.
* Let ImportedAttributesRepo return a reference to a shared_ptr instead of a ↵Henning Baldersheim2022-06-032-6/+3
| | | | shared_ptr since that is all you need.
* Remove most use of vespalib::rmdir in searchlib.Tor Egge2022-06-0215-64/+59
|
* Use braces.Henning Baldersheim2022-06-021-2/+2
|
* - Optimize get_tensor_ref optimizing for no branches on happy path.Henning Baldersheim2022-06-014-35/+22
| | | | | - Also drop check for reference as that is done in the next called method. - Inline DirectTensorStore::get_tensor.
* Add an interface to getting an optional readonly singlevalue enumvector.Henning Baldersheim2022-06-018-44/+61
|
* Merge pull request #22842 from ↵Geir Storli2022-06-012-20/+1
|\ | | | | | | | | vespa-engine/toregge/drop-check-for-equiv-parent-in-disk-term-blueprint Drop check for equiv parent in disk term blueprint.
| * Drop check for equiv parent in disk term blueprint.Tor Egge2022-06-012-20/+1
| |
* | Don't calculate score or weights when unpacking for a term inTor Egge2022-06-0111-71/+245
|/ | | | a filter field or for a term not used by ranking.
* Avoid pulling in stringfmt.h in by moving code to .cpp file.Henning Baldersheim2022-05-311-0/+1
|
* Merge pull request #22809 from ↵Henning Baldersheim2022-05-318-10/+33
|\ | | | | | | | | vespa-engine/toregge/reduce-use-of-default-values-in-parameter-lists Reduce use of default values in parameter lists.
| * Reduce use of default values in parameter lists.Tor Egge2022-05-318-10/+33
| |
* | Fix forward declarations.Tor Egge2022-05-311-1/+1
|/
* Simplify AttributeVector by moving out ValueModifier, EnumModifier and BaseName.Henning Baldersheim2022-05-2724-165/+215
|
* GC unused includeHenning Baldersheim2022-05-271-1/+0
|
* Avoid using vespalib::Identifiable.Henning Baldersheim2022-05-2736-132/+72
|
* Inherit from vespalib::GrowStrategyHenning Baldersheim2022-05-2615-49/+27
|
* Use unique_ptr for Config in AttributeVectorHenning Baldersheim2022-05-2612-32/+58
|
* Include config in cpp file.Henning Baldersheim2022-05-262-4/+8
|
* Include searchcommon/attribut/config.h yourself and prepare for hiding large ↵Henning Baldersheim2022-05-2564-154/+290
| | | | | | implementation. Add setters to vespalib::GrowStrategy.
* Merge pull request #22729 from ↵Henning Baldersheim2022-05-257-12/+18
|\ | | | | | | | | vespa-engine/balder/introduce-concept-of-minimum-capacity - Introduce the concept of minimal capacity for rcu vectors.
| * - Introduce the concept of minimal capacity for rcu vectors.Henning Baldersheim2022-05-247-12/+18
| | | | | | | | | | - 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.
* | try to avoid some int64 wrap-arounds (the simple ones)Håvard Pettersen2022-05-244-23/+26
|/ | | | also avoid nullptr deref
* Reduce inclusion of rcuvector.hppHenning Baldersheim2022-05-2312-18/+2
|
* - Stick to using GrowStragey everywhere.Henning Baldersheim2022-05-238-24/+9
| | | | - Store the full config in the rcu vector.
* Don't use brute force iterator if we have performed search in hnsw index.Tor Egge2022-05-231-1/+5
|
* Fold searchlib_uca into searchlibHenning Baldersheim2022-05-215-10/+5
|
* Fold fastlib into vespalib and gc some unused code.Henning Baldersheim2022-05-211-1/+0
| | | | Also move some code only used by juniper up into juniper test module.
* Merge pull request #22689 from vespa-engine/hakonhall/installjar-cmake-functionHåkon Hallingstad2022-05-201-1/+1
|\ | | | | install_jar CMake function
| * install_jar CMake functionHåkon Hallingstad2022-05-201-1/+1
| |
* | Fold searchcommon into searchlibHenning Baldersheim2022-05-2058-1/+4263
| |
* | Fold staging_vespalib into vespalibHenning Baldersheim2022-05-202-2/+1
| |
* | Avoid wraparound when calculating compacted size.Tor Egge2022-05-201-4/+6
| | | | | | | | | | Always flush active filechunk even when not compacting to it to ensure that lastSyncToken() >= sync token for any remove that affected the compaction.
* | Merge pull request #22669 from vespa-engine/havardpe/make-sample-count-atomicHåvard Pettersen2022-05-191-5/+7
|\ \ | |/ |/| make sample count atomic
| * make sample count atomicHåvard Pettersen2022-05-191-5/+7
| |