summaryrefslogtreecommitdiffstats
path: root/searchcore
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3410 from vespa-engine/balder/decompress-in-multiple-threadsHenning Baldersheim2017-09-152-6/+5
|\ | | | | Use multiple threads in decompress due to more expensive zstd
| * Limit the number of task s in flight to 2x number of threads in the pool.Henning Baldersheim2017-09-142-6/+5
| |
* | Add hwinfo config for disk size and memory size.Geir Storli2017-09-151-0/+10
| |
* | Adjust test name to clarify what is tested.Tor Egge2017-09-141-1/+1
| |
* | Test that notifyCreateBucket() causes bucket to be reconsidered in bucketTor Egge2017-09-131-0/+23
| | | | | | | | move job.
* | Check that split and join can trigger bucket create notification.Tor Egge2017-09-131-2/+41
| |
* | Documents moved to new buckets due to split or join might trigger a needTor Egge2017-09-1321-12/+219
|/ | | | for bucket move job to reconsider the target buckets.
* Replace tab with spaces.Geir Storli2017-09-1334-119/+119
|
* Merge pull request #3390 from ↵Geir Storli2017-09-1215-321/+335
|\ | | | | | | | | vespa-engine/geirst/fix-bitvector-search-cache-for-imported-attributes Geirst/fix bitvector search cache for imported attributes
| * Fix indent.Geir Storli2017-09-121-275/+275
| |
| * Add parentheses for clarity.Geir Storli2017-09-121-2/+2
| |
| * Keep a document meta store read guard together with bitvector posting list ↵Geir Storli2017-09-1111-6/+19
| | | | | | | | | | | | in search cache for imported attributes. This is to ensure that no lids that are cached in the bitvector are re-used until the guard is released.
| * Make commit() on VisibilityHandler always call forceCommit() on underlying ↵Geir Storli2017-09-113-15/+37
| | | | | | | | | | | | feed view (also with no feed operations since last time). This ensures that we reliably can clear the search caches of imported attribute vectors according to the visibility delay interval.
| * Move read access part of IDocumentMetaStoreContext to searchlib.Geir Storli2017-09-112-26/+5
| |
* | remove unused mapGidToLid() method from gid to lid mapper. ReferenceTor Egge2017-09-113-25/+7
| | | | | | | | | | attribute uses foreach() method on gid to lid mapper to bootstrap internal mapping and receives notifyReferenced*() method calls to keep it updated.
* | Keep a gid to lid mapper live during the lifetime of an imported attributeTor Egge2017-09-112-1/+8
|/ | | | read guard, to avoid premature reuse of referenced lid.
* Add test that doctype is propagated correctly to where it is needed.Henning Baldersheim2017-09-081-3/+36
|
* This is a stringHenning Baldersheim2017-09-081-1/+1
|
* Bring along the documenttype so that we know where to look for the documents.Henning Baldersheim2017-09-081-0/+8
|
* Delay notifyRemoveDone() until after remove batch has completed.Tor Egge2017-09-074-12/+77
|
* Don't call notifyRemoveDone if document meta store wasn't updated.Tor Egge2017-09-074-19/+23
| | | | | | Don't call notifyRemoveDone if document moved within same subdb. Don't skip calling notifyRemoveDone due to lack of attributes or indexed fields.
* Don't call notifyPut if document meta store wasn't updated.Tor Egge2017-09-073-14/+14
|
* Adjust usage of gid to lid change handler:Tor Egge2017-09-077-46/+104
| | | | | | Call notifyPut() after data structures have been populated. Call notifyRemoveDone() after data structures have been cleared. Call notifyRemove() before adjusting document meta store.
* Make AttributeWriter::forceCommit() clear the search cache of all imported ↵Geir Storli2017-09-067-25/+80
| | | | attribute vectors.
* Instantiate bit vector search cache in imported attribute vectors if ↵Geir Storli2017-09-0613-21/+62
| | | | visibility delay > 0.
* Rename IAttributeWriter::commit() -> forceCommit().Geir Storli2017-09-067-11/+10
|
* Fix indent.Geir Storli2017-09-061-146/+146
|
* Remove commented out method.Tor Egge2017-09-061-1/+0
|
* Move API comments from implementation headers to interface header.Tor Egge2017-09-063-25/+11
|
* Correct lookupDocId method declaration.Tor Egge2017-09-061-1/+1
|
* Use gid to lid change handler interface directly.Tor Egge2017-09-064-42/+7
|
* Add dummy gid to lid change handler.Tor Egge2017-09-0616-29/+149
| | | | | Allocate real or dummy gid to lid change handler in doc subdb and pass reference to feed view.
* Revert "Use gid to lid change handler interface directly"Tor Egge2017-09-0623-250/+122
|
* Merge pull request #3336 from ↵Tor Brede Vekterli2017-09-061-5/+3
|\ | | | | | | | | vespa-engine/balder/request-shutdown-instead-of-quick-exit-2 Balder/request shutdown instead of quick exit 2
| * Align membersHenning Baldersheim2017-09-051-2/+0
| |
| * WE must listen to everyone who wants to stop.Henning Baldersheim2017-09-051-3/+3
| |
* | Remove commented out method.Tor Egge2017-09-061-1/+0
| |
* | Move API comments from implementation headers to interface header.Tor Egge2017-09-063-25/+11
| |
* | Adjust usage of gid to lid change handler:Tor Egge2017-09-057-46/+104
| | | | | | | | | | | | Call notifyPut() after data structures have been populated. Call notifyRemoveDone() after data structures have been cleared. Call notifyRemove() before adjusting document meta store.
* | Correct lookupDocId method declaration.Tor Egge2017-09-051-1/+1
| |
* | Use gid to lid change handler interface directly.Tor Egge2017-09-054-42/+7
| |
* | Add dummy gid to lid change handler.Tor Egge2017-09-0516-29/+149
|/ | | | | Allocate real or dummy gid to lid change handler in doc subdb and pass reference to feed view.
* Merge pull request #3295 from ↵Geir Storli2017-09-044-31/+57
|\ | | | | | | | | vespa-engine/toregge/keep-better-track-of-referenced-lids Keep track of mapping from gid to referenced lid in reference attribute
| * Test that gid mapper can iterate over known gids.Tor Egge2017-09-031-0/+37
| |
| * Keep track of mapping from gid to referenced lid in reference attributeTor Egge2017-08-313-31/+20
| | | | | | | | | | | | even when no documents currently reference that gid in the reference attribute. This eliminates the need for using the gid to lid mapper after populateReferencedLids() has been called.
* | use 0.0 rank score for results when not rankingHåvard Pettersen2017-09-015-9/+15
|/
* Merge pull request #3269 from ↵Geir Storli2017-08-3116-130/+263
|\ | | | | | | | | vespa-engine/toregge/refactor-gid-to-lid-change-handler-usage Toregge/refactor gid to lid change handler usage
| * Remove unneeded checks.Tor Egge2017-08-301-6/+0
| |
| * Propagate API changes to GidToLidChangeListener and ReferenceAttribute:Tor Egge2017-08-308-71/+103
| | | | | | | | Split put and remove notifications into separate methods.
| * Change API for IGidToLidChangeHandler:Tor Egge2017-08-3010-21/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace notifyGidToLidChanged() with notifyPut(), notifyRemove() and notifyRemoveDone(). Intended usage: Call rotifyRemove() at start of remove operation then call notifyRemoveDone() at completion of remove operation. Call notifyPut() at end of put operation. For now, call them at start of put/remove operations to get old behavior. Track pending remove operations. Ignore put for gid while remove is pending. Merge pending remove operations.