summaryrefslogtreecommitdiffstats
path: root/searchcore
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| * Prepare for gid to lid change notifications coming from differentTor Egge2017-08-304-69/+37
| | | | | | | | threads.
* | update matching testHåvard Pettersen2017-08-301-3/+3
| |
* | use predefined default rank value (-inf) when not knownHåvard Pettersen2017-08-301-1/+1
|/
* Optimize removeBatch() by only doing incGeneration() one time at the end.Geir Storli2017-08-292-7/+19
| | | | | | This should avoid the problem where the amount of dead bytes (from B-Tree changes) in the document meta store grows quickly when a reader guard is held (from flush task) while doing a large amount of removeBatch() operations.
* Add unit test for removeBatch() on DocumentMetaStore.Geir Storli2017-08-291-0/+47
|
* Moved databuffer and compresssion to vespalibHenning Baldersheim2017-08-287-22/+28
|
* Remove unused includes.Henning Baldersheim2017-08-252-3/+0
|
* Reduce visibility.Henning Baldersheim2017-08-2519-100/+99
|
* Revert "Balder/move instead of copy"Henning Baldersheim2017-08-2519-99/+103
|
* Merge pull request #3184 from vespa-engine/balder/move-instead-of-copyHenning Baldersheim2017-08-2419-103/+99
|\ | | | | Balder/move instead of copy
| * Remove unused includes.Henning Baldersheim2017-08-222-3/+0
| |
| * Reduce visibility.Henning Baldersheim2017-08-2219-100/+99
| |
* | Separate interface with a const getXXX for readonly and another getXXXSP ↵Henning Baldersheim2017-08-241-8/+4
| | | | | | | | when you really need the SP.
* | Remove unused includes.Henning Baldersheim2017-08-241-3/+0
| |
* | Include what you need yourself.Henning Baldersheim2017-08-233-2/+6
| |
* | All you need is make_string.Henning Baldersheim2017-08-232-7/+4
|/
* Drop the dangerous LinkedPtr.Henning Baldersheim2017-08-211-0/+1
|
* Merge pull request #3165 from ↵Henning Baldersheim2017-08-211-9/+0
|\ | | | | | | | | vespa-engine/toregge/remove-bad-obsolete-code-from-attribute-reprocessing-initializier Stop trying to get attribute field from old schema when determining if
| * Stop trying to get attribute field from old schema when determining ifTor Egge2017-08-211-9/+0
| | | | | | | | | | | | | | document store needs to be populated from attribute that is being removed. If attribute aspect removal has been delayed during an earlier reconfig then the old schema won't have information about the attribute.