Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Delay notifyRemoveDone() until after remove batch has completed. | Tor Egge | 2017-09-07 | 4 | -12/+77 |
| | |||||
* | Don't call notifyRemoveDone if document meta store wasn't updated. | Tor Egge | 2017-09-07 | 4 | -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 Egge | 2017-09-07 | 3 | -14/+14 |
| | |||||
* | Adjust usage of gid to lid change handler: | Tor Egge | 2017-09-07 | 7 | -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 Storli | 2017-09-06 | 7 | -25/+80 |
| | | | | attribute vectors. | ||||
* | Instantiate bit vector search cache in imported attribute vectors if ↵ | Geir Storli | 2017-09-06 | 13 | -21/+62 |
| | | | | visibility delay > 0. | ||||
* | Rename IAttributeWriter::commit() -> forceCommit(). | Geir Storli | 2017-09-06 | 7 | -11/+10 |
| | |||||
* | Fix indent. | Geir Storli | 2017-09-06 | 1 | -146/+146 |
| | |||||
* | Remove commented out method. | Tor Egge | 2017-09-06 | 1 | -1/+0 |
| | |||||
* | Move API comments from implementation headers to interface header. | Tor Egge | 2017-09-06 | 3 | -25/+11 |
| | |||||
* | Correct lookupDocId method declaration. | Tor Egge | 2017-09-06 | 1 | -1/+1 |
| | |||||
* | Use gid to lid change handler interface directly. | Tor Egge | 2017-09-06 | 4 | -42/+7 |
| | |||||
* | Add dummy gid to lid change handler. | Tor Egge | 2017-09-06 | 16 | -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 Egge | 2017-09-06 | 23 | -250/+122 |
| | |||||
* | Merge pull request #3336 from ↵ | Tor Brede Vekterli | 2017-09-06 | 1 | -5/+3 |
|\ | | | | | | | | | vespa-engine/balder/request-shutdown-instead-of-quick-exit-2 Balder/request shutdown instead of quick exit 2 | ||||
| * | Align members | Henning Baldersheim | 2017-09-05 | 1 | -2/+0 |
| | | |||||
| * | WE must listen to everyone who wants to stop. | Henning Baldersheim | 2017-09-05 | 1 | -3/+3 |
| | | |||||
* | | Remove commented out method. | Tor Egge | 2017-09-06 | 1 | -1/+0 |
| | | |||||
* | | Move API comments from implementation headers to interface header. | Tor Egge | 2017-09-06 | 3 | -25/+11 |
| | | |||||
* | | Adjust usage of gid to lid change handler: | Tor Egge | 2017-09-05 | 7 | -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 Egge | 2017-09-05 | 1 | -1/+1 |
| | | |||||
* | | Use gid to lid change handler interface directly. | Tor Egge | 2017-09-05 | 4 | -42/+7 |
| | | |||||
* | | Add dummy gid to lid change handler. | Tor Egge | 2017-09-05 | 16 | -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 Storli | 2017-09-04 | 4 | -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 Egge | 2017-09-03 | 1 | -0/+37 |
| | | |||||
| * | Keep track of mapping from gid to referenced lid in reference attribute | Tor Egge | 2017-08-31 | 3 | -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 ranking | Håvard Pettersen | 2017-09-01 | 5 | -9/+15 |
|/ | |||||
* | Merge pull request #3269 from ↵ | Geir Storli | 2017-08-31 | 16 | -130/+263 |
|\ | | | | | | | | | vespa-engine/toregge/refactor-gid-to-lid-change-handler-usage Toregge/refactor gid to lid change handler usage | ||||
| * | Remove unneeded checks. | Tor Egge | 2017-08-30 | 1 | -6/+0 |
| | | |||||
| * | Propagate API changes to GidToLidChangeListener and ReferenceAttribute: | Tor Egge | 2017-08-30 | 8 | -71/+103 |
| | | | | | | | | Split put and remove notifications into separate methods. | ||||
| * | Change API for IGidToLidChangeHandler: | Tor Egge | 2017-08-30 | 10 | -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 different | Tor Egge | 2017-08-30 | 4 | -69/+37 |
| | | | | | | | | threads. | ||||
* | | update matching test | Håvard Pettersen | 2017-08-30 | 1 | -3/+3 |
| | | |||||
* | | use predefined default rank value (-inf) when not known | Håvard Pettersen | 2017-08-30 | 1 | -1/+1 |
|/ | |||||
* | Optimize removeBatch() by only doing incGeneration() one time at the end. | Geir Storli | 2017-08-29 | 2 | -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 Storli | 2017-08-29 | 1 | -0/+47 |
| | |||||
* | Moved databuffer and compresssion to vespalib | Henning Baldersheim | 2017-08-28 | 7 | -22/+28 |
| | |||||
* | Remove unused includes. | Henning Baldersheim | 2017-08-25 | 2 | -3/+0 |
| | |||||
* | Reduce visibility. | Henning Baldersheim | 2017-08-25 | 19 | -100/+99 |
| | |||||
* | Revert "Balder/move instead of copy" | Henning Baldersheim | 2017-08-25 | 19 | -99/+103 |
| | |||||
* | Merge pull request #3184 from vespa-engine/balder/move-instead-of-copy | Henning Baldersheim | 2017-08-24 | 19 | -103/+99 |
|\ | | | | | Balder/move instead of copy | ||||
| * | Remove unused includes. | Henning Baldersheim | 2017-08-22 | 2 | -3/+0 |
| | | |||||
| * | Reduce visibility. | Henning Baldersheim | 2017-08-22 | 19 | -100/+99 |
| | | |||||
* | | Separate interface with a const getXXX for readonly and another getXXXSP ↵ | Henning Baldersheim | 2017-08-24 | 1 | -8/+4 |
| | | | | | | | | when you really need the SP. | ||||
* | | Remove unused includes. | Henning Baldersheim | 2017-08-24 | 1 | -3/+0 |
| | | |||||
* | | Include what you need yourself. | Henning Baldersheim | 2017-08-23 | 3 | -2/+6 |
| | | |||||
* | | All you need is make_string. | Henning Baldersheim | 2017-08-23 | 2 | -7/+4 |
|/ | |||||
* | Drop the dangerous LinkedPtr. | Henning Baldersheim | 2017-08-21 | 1 | -0/+1 |
| | |||||
* | Merge pull request #3165 from ↵ | Henning Baldersheim | 2017-08-21 | 1 | -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 if | Tor Egge | 2017-08-21 | 1 | -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. |