aboutsummaryrefslogtreecommitdiffstats
path: root/searchcommon
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Change SchemaBuilder to use attributes config to setup imported attribute ↵Geir Storli2017-08-164-32/+22
| | | | fields in schema.
* Update copyright headersJon Bratseth2017-06-1437-37/+37
|
* Revert "Update copyright headers"Jon Bratseth2017-06-1437-37/+37
|
* Update copyright headersJon Bratseth2017-06-1437-37/+37
|
* Code cleanup while considering options for hit estimation.Henning Baldersheim2017-06-142-8/+4
| | | | | | | - Less includes - std::make_unique - alignment - GC unused code.
* Revert "Copyright header"Jon Bratseth2017-06-1337-37/+37
|
* Copyright headerJon Bratseth2017-06-1337-37/+37
|
* Reduce exposure to config internals.Henning Baldersheim2017-06-081-1/+0
|
* Checkpount for removing fastos from testsHenning Baldersheim2017-06-012-2/+0
|
* Reduce fastos.h dependency.Henning Baldersheim2017-05-261-4/+2
|
* Fix warnings hidden earlier due to including application headers as system ↵Henning Baldersheim2017-05-023-38/+21
| | | | includes
* add override in searchcommon moduleArne H Juul2017-04-121-1/+1
|
* Use datatype and collection type from config when building schema for ↵Geir Storli2017-04-064-45/+38
| | | | imported fields.
* Reuse result from static cast.Geir Storli2017-04-051-6/+8
|
* Change schema::DataType and schema::CollectionType to enum class.Geir Storli2017-04-055-102/+123
|
* Use overrideHenning Baldersheim2017-04-041-5/+3
|
* OverrideHenning Baldersheim2017-04-041-2/+2
|
* Add REFERENCE to schema data types.Tor Egge2017-04-033-2/+7
|