summaryrefslogtreecommitdiffstats
path: root/searchlib
Commit message (Collapse)AuthorAgeFilesLines
* Optimize handling of CLEARDOC updates by caching the entry ref for the ↵Geir Storli2021-12-206-0/+23
| | | | default value once.
* Rename change data functions to reflect that an entry ref can be cached.Geir Storli2021-12-206-21/+21
|
* Simplify testing by sticking to assertEquals/True/FalseHenning Baldersheim2021-12-198-89/+71
|
* Deinline SerializedChunk destructor.Tor Egge2021-12-112-0/+4
|
* Add noexcept specifiers.Tor Egge2021-12-1115-15/+15
|
* Calculate need for compaction when updating stats.Tor Egge2021-12-0930-111/+232
|
* Merge pull request #20425 from ↵Henning Baldersheim2021-12-096-38/+13
|\ | | | | | | | | vespa-engine/toregge/add-more-suitable-member-functions-to-compaction-strategy Integrate CompactionStrategy with AddressSpace and MemoryUsage.
| * Integrate CompactionStrategy with AddressSpace and MemoryUsage.Tor Egge2021-12-086-38/+13
| |
* | Reduce alignment for small dense tensors.Tor Egge2021-12-093-9/+24
|/
* Add IEnumStore::get_values_address_space_usage() abstract member function.Tor Egge2021-12-085-10/+17
|
* Merge pull request #20420 from vespa-engine/toregge/add-compaction-specTor Egge2021-12-0816-42/+70
|\ | | | | Add CompactionSpec.
| * Add CompactionSpec.Tor Egge2021-12-0816-42/+70
| | | | | | | | | | Pass CompactionStrategy to DataStoreBase::startCompactWorstBuffers in preparation for compacting more buffers in the same compaction round.
* | Merge pull request #20412 from vespa-engine/balder/split-bloat-and-spreadHenning Baldersheim2021-12-089-90/+66
|\ \ | |/ |/| Separate spread and bloat
| * - Add class comments.Henning Baldersheim2021-12-081-3/+3
| | | | | | | | | | - Unify info logging. - Demote some info logging to debug.
| * Separate spread and bloatHenning Baldersheim2021-12-089-89/+65
| |
* | Move CompactionStrategy from searchcommon to vespalib.Tor Egge2021-12-0816-32/+37
|/
* Merge pull request #20397 from ↵Henning Baldersheim2021-12-086-44/+51
|\ | | | | | | | | vespa-engine/balder/use-multiple-tls-compression-threads Use a helper pool for the actual compression.
| * Add comment about required lifetime for the CommitChunk.Henning Baldersheim2021-12-071-0/+1
| |
| * Use GateCallback over local atomic counting.Henning Baldersheim2021-12-072-31/+21
| |
| * Use a helper pool for the actual compression.Henning Baldersheim2021-12-066-33/+49
| | | | | | | | | | First make a promise, then pass the cunk over to the helper pool. Pass the future to the single write thread that will ensure proper sequencing.
* | Merge pull request #20400 from vespa-engine/bjorncs/remove-guava-from-public-apiBjørn Christian Seime2021-12-084-18/+41
|\ \ | | | | | | Deprecate ctors and methods in 'searchlib' using Guava ImmutableMap
| * | Deprecate ctors and methods in 'searchlib' using Guava ImmutableMapBjørn Christian Seime2021-12-074-18/+41
| |/ | | | | | | | | | | - com.yahoo.searchlib.rankingexpression.rule.FunctionReferenceContext - com.yahoo.searchlib.rankingexpression.rule.SerializationContext - com.yahoo.searchlib.rankingexpression.rule.TensorFunctionNode
* | Merge pull request #20408 from vespa-engine/balder/keep-interface-pureGeir Storli2021-12-086-32/+11
|\ \ | | | | | | Keep interface pure.
| * | Keep interface pure.Henning Baldersheim2021-12-076-32/+11
| |/
* | Merge pull request #20391 from ↵Henning Baldersheim2021-12-082-7/+14
|\ \ | | | | | | | | | | | | vespa-engine/toregge/use-entry-ref-filter-for-remapping-after-compacting-dictionary-keys Use EntryRefFilter to filter calls to UniqueStoreRemapper::remap() for
| * | Use EntryRefFilter to filter calls to UniqueStoreRemapper::remap() forTor Egge2021-12-072-7/+14
| |/ | | | | | | | | single refs. Use less indirection for RcuVectorHeld.
* | Merge pull request #20398 from vespa-engine/balder/time-starts-when-you-are-bornHenning Baldersheim2021-12-081-1/+1
|\ \ | | | | | | Start the time when you are born.
| * | Start the time when you are born.Henning Baldersheim2021-12-071-1/+1
| |/
* / - Inline frequently called simple methods.Henning Baldersheim2021-12-074-28/+18
|/ | | | - Deinline calc_with_limits for HammingDistance and make it final to also improve inlining.
* Set AttributeHeader _fileName member when extracting tagsTor Egge2021-12-065-6/+6
| | | | from GenericHeader.
* Merge pull request #20356 from ↵Geir Storli2021-12-066-112/+477
|\ | | | | | | | | vespa-engine/toregge/filter-early-on-buffer-id-for-normalize-values-and-foreach-values Filter early on buffer id and pass vector of entries in normalize_values
| * Add EntryRefFilter class.Tor Egge2021-12-065-51/+64
| |
| * Change signatures for move() and move_btree_nodes() in BTreeStore to matchTor Egge2021-12-041-2/+1
| | | | | | | | the signatures in PostingStore.
| * Enable early check for buffer being compacted when compacting posting store.Tor Egge2021-12-042-90/+117
| |
| * Improve filtering test in enum store dictionary test.Tor Egge2021-12-031-41/+163
| |
| * Filter early on buffer id and pass vector of entries in normalize_posting_listsTor Egge2021-12-034-16/+220
| | | | | | | | | | and foreach_posting_list EnumStoreDictionary member functions to limit number of callbacks.
* | - Separate encoding and actual persitence of the transaction log.Henning Baldersheim2021-12-065-64/+98
| | | | | | | | - Refactor in preparation of multithreaded encode.
* | Make tests selfcontained avoiding av enxtra cleanup step in a script.Henning Baldersheim2021-12-063-45/+65
| |
* | We already have the serialnum in the range.Henning Baldersheim2021-12-061-7/+4
| |
* | Verify assumption.Henning Baldersheim2021-12-061-0/+1
| |
* | Merge pull request #20352 from ↵Henning Baldersheim2021-12-037-44/+52
|\ \ | | | | | | | | | | | | vespa-engine/balder/disallow-old-style-single-uncompressed Disallow the oldstyle compression with single uncopressed entries.
| * | Throw exception on illegal config and fail early.Henning Baldersheim2021-12-033-4/+19
| | |
| * | Disallow the oldstyle compression with single uncopressed entries.Henning Baldersheim2021-12-036-40/+33
| | |
* | | Iterate outside of the loopHenning Baldersheim2021-12-031-1/+1
| | |
* | | Ensure that we do not get more resizing than necessary.Henning Baldersheim2021-12-031-0/+8
| |/ |/|
* | Add custom `@Beta` annotationBjørn Christian Seime2021-12-036-6/+6
|/ | | | Replace use of Guava's `com.google.common.annotations.Beta` with custom annotation.
* track namespace move in documenttypes.defArne H Juul2021-12-027-14/+14
| | | | | | | * For C++ code this introduces a "document::config" namespace, which will sometimes conflict with the global "config" namespace. * Move all forward-declarations of the types DocumenttypesConfig and DocumenttypesConfigBuilder to a common header file.
* Reserve memory upfront.Henning Baldersheim2021-11-301-0/+1
|
* Remove sync not needed.Henning Baldersheim2021-11-292-8/+1
|
* Unify on vespalib time functions.Henning Baldersheim2021-11-292-10/+8
|