summaryrefslogtreecommitdiffstats
path: root/searchcommon
Commit message (Collapse)AuthorAgeFilesLines
* Rename experimentalpostinglistformat -> interleavedfeatures in indexschema.def.Geir Storli2019-06-245-16/+16
|
* Move RcuVector and relevant support classes to vespalibTor Brede Vekterli2019-05-231-0/+5
| | | | | | | | | | | | | Having RCU support available across all our C++ modules open up new opportunities for optimizations. This changes the following: - `RcuVector` moved from `searchlib` to `vespalib` - `MemoryUsage` moved from `searchlib` to `vespalib` - Introduce a simplified, more generic `GrowStrategy` in `vespalib` used by the moved `RcuVector` which does not have any notion of documents. Existing searchlib `GrowStrategy` gets a simple function to convert to this generic strategy.
* Use a templated helper method to get proper inlining by allowing the correct ↵Henning Baldersheim2019-05-061-3/+5
| | | | | | type to be known at the right place.
* Keep support for downgrade case.Geir Storli2019-05-031-0/+5
|
* Specify default values when loading an IndexField from config lines.Geir Storli2019-05-033-3/+24
|
* Propagate flag to trigger use of experimental posting list format for an ↵Geir Storli2019-05-025-10/+23
| | | | index field.
* Rewrite schema test to use gtest.Geir Storli2019-05-022-124/+144
|
* Remove unused settings (prefix, phrases, positions) from index field in schema.Geir Storli2019-05-024-50/+7
|
* Remove files used by old unit test runner.Tor Egge2019-02-194-4/+0
|
* Remove test lists files used by old unit test framework.Tor Egge2019-02-151-2/+0
|
* Adjust forward declarations in searchcommon.Tor Egge2019-02-011-1/+1
|
* Be consistent with factors and percentagesHenning Baldersheim2019-01-292-13/+20
|
* Remove remains of RISE.Geir Storli2019-01-212-27/+6
|
* use getUndefined from searchcommon undefinedvaluesArne Juul2019-01-211-3/+3
|
* GC unused code and update includesHenning Baldersheim2019-01-051-0/+1
|
* UINT1 -> BOOLHenning Baldersheim2018-12-166-8/+10
|
* UINT1 -> BOOLHenning Baldersheim2018-12-163-34/+42
|
* Use explicit EntryRef constructor to avoid unintended conversionHenning Baldersheim2018-11-281-1/+1
| | | | | Conflicts: searchlib/src/vespa/searchlib/attribute/multienumattribute.hpp
* Use a templated find() to enable lookup without object creation when objects ↵Henning Baldersheim2018-11-012-15/+24
| | | | are comparable.
* Grow destination array again if it is still too small.Tor Egge2018-09-061-1/+1
|
* Expose constness in interface to avoid cheating.Henning Baldersheim2018-08-291-1/+8
|
* shared_ptr -> unique_ptrHenning Baldersheim2018-08-281-1/+1
|
* Only allow query time modification of attributes marked mutable.Henning Baldersheim2018-08-272-28/+36
|
* Wire in the attribute execution via the IAttributeContext.Henning Baldersheim2018-08-272-1/+31
| | | | Also execution in a task for containment.
* Some style changesHenning Baldersheim2018-08-201-6/+3
|
* Remove snapshot concept accessHenning Baldersheim2018-08-172-23/+0
|
* Remove whitespaceHenning Baldersheim2018-08-122-11/+11
|
* Pass stringref by valueHenning Baldersheim2018-08-112-5/+5
|
* Pass stringref by valueHenning Baldersheim2018-08-104-26/+26
|
* Merge pull request #6469 from ↵Tor Brede Vekterli2018-07-262-5/+5
|\ | | | | | | | | vespa-engine/vekterli/remove-dangerous-stringref-c_str-function Remove dangerous stringref::c_str()
| * Remove stringref::c_str()Tor Brede Vekterli2018-07-252-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | The expected semantics of c_str() (a null-terminated string) cannot be satisfied with a string reference, so remove the function entirely to prevent people from using it in buggy ways. Replaces c_str() with data() in places where it is presumed safe, otherwise constructs temporary string instances. Certain callsites have been de-stringref'd in favor of regular strings, in particular where C APIs have been transitively called. The vast majority of these were called with string parameters anyway, so should not cause much extra allocation.
* | Nested namespacesHenning Baldersheim2018-07-2514-105/+38
|/
* - Do not follow the nullptr.Henning Baldersheim2018-07-231-1/+1
| | | | - Do not have an interface return a reference when it might refer a nullptr...
* add new APIArne Juul2018-07-131-1/+12
| | | | * declare new required method in attribute vector interface.
* Add getNamePrefix to get the prefix before any '.'Henning Baldersheim2018-06-171-0/+5
|
* clean up remnants of .mak filesArne Juul2018-06-111-1/+0
|
* onCmp -> onFindHenning Baldersheim2018-05-231-4/+4
|
* Only return the weight of the first match. Accumulate on the outside.Henning Baldersheim2018-05-231-1/+9
|
* Add attribute::ElementIteratorHenning Baldersheim2018-05-231-11/+4
|
* Refactored to allow iteration over matching elements.Henning Baldersheim2018-05-231-4/+6
|
* Make getCommittedDocIdLimit() method virtual.Tor Egge2018-04-241-1/+1
| | | | Remove getCommittedDocidLimitSlow() method.
* Add virtual isImported() method to IAttributeVector.Tor Egge2018-04-201-1/+7
|
* Change target attribute type in ImportedAttributeVector toTor Egge2018-04-201-0/+21
| | | | ReadableAttributeVector.
* Add type-safe down-cast to ITensorAttribute in IAttributeVector and use this ↵Geir Storli2018-04-191-0/+11
| | | | instead of dynamic_cast.
* Use ISearchContext instead of AttributeVector::SearchContext in ↵Geir Storli2018-04-181-0/+10
| | | | ImportedSearchContext.
* Nested namespace and default destructorsHenning Baldersheim2018-04-033-17/+5
|
* Add config for the alloc grow factor used when allocating buffers in ↵Geir Storli2018-01-221-11/+24
| | | | multi-value attributes.
* Remove or update outdated copyright noticesTor Brede Vekterli2017-09-201-2/+0
|
* Add string from enum lookup to IAttributeVectorTor Brede Vekterli2017-08-211-0/+12
|
* Include what you need.Henning Baldersheim2017-08-181-4/+4
|