Show More
@@ -88,17 +88,21 b' want to index:' | |||
|
88 | 88 | (venv)$ rhodecode-index --instance-name=enterprise-1 |
|
89 | 89 | |
|
90 | 90 | # Using default installation |
|
91 |
$ /home/user/.rccontrol/enterprise- |
|
|
92 |
--instance-name=enterprise- |
|
|
91 | $ /home/user/.rccontrol/enterprise-1/profile/bin/rhodecode-index \ | |
|
92 | --instance-name=enterprise-1 | |
|
93 | 93 | |
|
94 | 94 | # Using a custom mapping file |
|
95 |
$ /home/user/.rccontrol/enterprise- |
|
|
96 |
--instance-name=enterprise- |
|
|
97 |
--mapping=/home/user/.rccontrol/enterprise- |
|
|
95 | $ /home/user/.rccontrol/enterprise-1/profile/bin/rhodecode-index \ | |
|
96 | --instance-name=enterprise-1 \ | |
|
97 | --mapping=/home/user/.rccontrol/enterprise-1/mapping.ini | |
|
98 | 98 | |
|
99 | 99 | .. note:: |
|
100 | 100 | |
|
101 | |RCT| require |PY| 2.7 to run. | |
|
101 | In case of often indexing the index may become fragmented. Most often a result of that | |
|
102 | is error about `too many open files`. To fix this indexer needs to be executed with | |
|
103 | --optimize flag. E.g `rhodecode-index --instance-name=enterprise-1 --optimize` | |
|
104 | This should be executed regularly, once a week is recommended. | |
|
105 | ||
|
102 | 106 | |
|
103 | 107 | .. _set-index: |
|
104 | 108 |
General Comments 0
You need to be logged in to leave comments.
Login now