You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/languages/en/riak/ops/advanced/upgrading-search-2.md
+26-26Lines changed: 26 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ audience: advanced
8
8
keywords: [search, upgrading]
9
9
---
10
10
11
-
If you're using Search in a version of Riak prior to 2.0 (1.3.0 to 1.4.x), you should follow these steps to migrate your search indexes from the legacy `merge_index`, to the new Solr backed ([[yokozuna|using riak search]]) indexes. The legacy version of Riak Search is now deprecated, and does not support most new 2.0 features (no [[datatypes]], [[bucket types|using bucket types]], [[strong consistency]], [[security]]), so we highly recommend you migrate. The legacy `merge_index` search will be removed in the future.
11
+
If you're using Search in a version of Riak prior to 2.0 (1.3.0 to 1.4.x), you should follow these steps to migrate your search indexes from the legacy `merge_index`, to the new Solr backed ([[yokozuna|using search]]) indexes. The legacy version of Riak Search is now deprecated, and does not support most new 2.0 features (no [[datatypes|using data types]], [[bucket types|using bucket types]], [[strong consistency]], [[security|authentication and authorization]]), so we highly recommend you migrate. The legacy `merge_index` search will be removed in the future.
12
12
13
13
## Overview of an Upgrade
14
14
@@ -22,50 +22,50 @@ You will continue running your queries against Riak Search in this phase. Once n
22
22
23
23
## Steps to Upgrading
24
24
25
-
1. First, you'll perform a normal [[rolling upgrade]]. As you upgrade, enable Yokozuna on each node using either `app.config` or the new `riak.conf` config option.
25
+
1. First, you'll perform a normal [[rolling upgrade|rolling upgrades]]. As you upgrade, enable Yokozuna on each node using either `app.config` or the new `riak.conf` config option.
26
26
27
-
```appconfig
28
-
{yokozuna, [
29
-
{enabled, on}
30
-
]},
31
-
```
32
-
```riakconf
33
-
search = on
34
-
```
27
+
```appconfig
28
+
{yokozuna, [
29
+
{enabled, on}
30
+
]},
31
+
```
32
+
```riakconf
33
+
search = on
34
+
```
35
35
36
36
2. For every index in Riak Search the user must create a comparable index in Yokozuna.
3. For every bucket which is indexed by Riak Search the user must add the `search_index' bucket property to point to the Yokozuna index which is going to eventually be migrated to.
55
55
56
56
4. As objects are written or modified they will be indexed by both Riak Search and Yokozuna. But the HTTP and PB query interfaces will continue to use Riak Search.
57
57
58
-
5a. The YZ AAE trees must be manually cleared so that AAE will notice the missing indexes.
58
+
5. A. The YZ AAE trees must be manually cleared so that AAE will notice the missing indexes.
59
59
60
-
5b. In the background AAE will start building trees for Yokozuna and exchange them with KV. These exchanges will notice objects are missing and index them in Yokozuna.
60
+
B. In the background AAE will start building trees for Yokozuna and exchange them with KV. These exchanges will notice objects are missing and index them in Yokozuna.
61
61
62
-
5c. The user wants Yokozuna to index the missing objects as fast as possible. A command may be used (repair? bucket map-reduce? custom fold function?) to immediately re-index data.
62
+
C. The user wants Yokozuna to index the missing objects as fast as possible. A command may be used (repair? bucket map-reduce? custom fold function?) to immediately re-index data.
63
63
64
64
6. Eventually all partitions will be exchanged (or buckets re-indexed) and the user will be satisfied that queries can now migrate to Yokozuna. This will be accomplished via the AAE status.
65
65
66
66
7. The user will call some command that hands HTTP and PB query control to Yokozuna.
67
67
68
-
8. The user must then set the `search' bucket property to `false' for all indexed buckets.
68
+
8. The user must then set the `search` bucket property to `false` for all indexed buckets.
69
69
70
70
9. Then the user can disable Riak Search on all nodes.
0 commit comments