summaryrefslogtreecommitdiffstats
path: root/searchcommon
Commit message (Collapse)AuthorAgeFilesLines
...
* Add ReadableAttributeVector accessor to IAttributeManagerTor Brede Vekterli2020-01-291-3/+3
| | | | | | | | | | 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.
* Inline frequently called methodHenning Baldersheim2020-01-232-12/+11
|
* Add noexcept to move constructors and operatorsHenning Baldersheim2020-01-214-14/+31
|
* Revert "Revert "Balder/add executeinfo""Henning Baldersheim2020-01-031-2/+5
|
* Revert "Balder/add executeinfo"Arnstein Ressem2020-01-031-5/+2
|
* Merge pull request #11619 from vespa-engine/balder/add-executeinfoHenning Baldersheim2020-01-021-2/+5
|\ | | | | Balder/add executeinfo
| * Add ExecutionInfo to propagate more information than just strictness to ↵Henning Baldersheim2019-12-311-2/+5
| | | | | | | | | | | | | | fetchPostings. The estimated hitrate that each iterator will will enable smarter query evaluation. Especially will it be possible to figure out if static up front cost can be avoided.
* | GC unused codeHenning Baldersheim2020-01-021-2/+0
|/
* Drop timestamp.hHenning Baldersheim2019-12-161-1/+0
|
* Drop all of TimeStamp too.Henning Baldersheim2019-12-161-15/+11
|
* GC unused timestamp in schema.Henning Baldersheim2019-12-163-133/+25
|
* Rename QueryTermBase -> QueryTermUCS4 and move to separate h and cpp files.Geir Storli2019-11-281-2/+2
|
* Remove "enable enumerated save" flag from attribute vectors as this should ↵Geir Storli2019-08-191-0/+9
| | | | | | be always on. For production code this has been on for several years already.
* Use proper scope for enum constants.Tor Egge2019-07-301-5/+5
|
* 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
|