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
The node index is updated on the fly, but during development you need to update it frequently.
60
62
61
63
In case of a mapping update, you need to reindex all nodes. Don't worry to do that in production;
62
64
the system transparently creates a new index, fills it completely, and when everything worked,
63
65
changes the index alias.
64
66
65
-
```
66
-
./flow nodeindex:build
67
+
./flow nodeindex:build
68
+
69
+
if during development, you only want to index a few nodes, you can use "limit"
70
+
71
+
./flow nodeindex:build --limit 20
72
+
73
+
74
+
### Cleanup old indices
75
+
76
+
In order to remove old, non-used indices, you should use this command from time to time:
77
+
78
+
./flow nodeindex:cleanup
79
+
80
+
### Debug commands
81
+
82
+
The following commands are meant to be used for debugging while configuring and developing your search:
83
+
84
+
./flow nodeindexmapping:indices
85
+
86
+
Shows the mapping between the projects dimensions presets and the resultig index name.
87
+
88
+
./flow nodeindexmapping:mapping
89
+
90
+
Shows the mapping created for the NodeTypes.
91
+
92
+
./flow search:viewnode <nodeIdentifier>
93
+
94
+
Shows all contents that are indexed fo a given node.
95
+
96
+
./flow search:fulltext
97
+
98
+
Performs a fulltext search and displays the results.
99
+
100
+
67
101
68
-
# if during development, you only want to index a few nodes, you can use "limit"
69
-
./flow nodeindex:build --limit 20
70
102
71
-
# in order to remove old, non-used indices, you should use this command from time to time:
72
-
./flow nodeindex:cleanup
73
-
```
74
103
75
104
### Advanced Configuration
76
105
@@ -788,5 +817,3 @@ In order to understand what's going on, the following might be helpful:
788
817
`elasticSearchMapping`.
789
818
3. Replace `ElasticSeach.fulltext` by `Indexing`
790
819
4. Search for `ElasticSearch.` (inside the `indexing` expressions) and replace them by `Indexing.`
791
-
792
-
Created by [Sebastian Kurfürst; contributions by Karsten Dambekalns, Robert Lemke and others](https://github.com/Flowpack/Flowpack.ElasticSearch.ContentRepositoryAdaptor/graphs/contributors).
0 commit comments