Full-Text Search Commands
You can use the command line to perform the following actions on full-text search:
- Creating Indexes
- Updating Indexes
Creating Indexes
You can use the command line to create indexes on the full-text search server.
For DB distributed Garoon, run the command on the server where you want to administer queues.
Execute commands in the FTS directory.
Parameters | Required item | Description |
---|---|---|
number | The input type of this argument is a string (one line). Specify how many indexes a process creates at one time. Specify 50 unless otherwise specified. |
|
startTime | The input type of this argument is an integer. Specify the time in 24-hour notation where you want to start indexing.
StartTime and stopTime are specified in pair. The same value cannot be specified for startTime and stopTime. |
|
stopTime | The input type of this argument is an integer. Specify the time in 24-hour notation to stop indexing.
StartTime and stopTime are specified in pair. The same value cannot be specified for startTime and stopTime. |
Assuming the example setting below, the command usage is as follows:
- Number of indexes created by the process at a time: 50
- Start time: 20:00
- End time: 8:00 on the next day
On Windows:
Updating Indexes
You can use the command line to update indexes on the full-text search server.
However, if you have executed "full_index.csp" to recreate indexes after the upgrade, you do not need to update indexes.
Index updates can be updated during business hours, because the load on Garoon is low.
For DB distributed Garoon, run the command on the server where you want to administer queues.
-
When to Update Indexes
From the next version, if you upgrade Garoon to the latest version, it is recommended to update indexes after the upgrade.- Garoon 4.0.x
- Garoon 4.2.0
- Garoon 4.2.1
- Garoon 4.2.2
If you upgrade Garoon 4.2.3 or later to the latest version, you do not need to update indexes.
-
Messages Displayed after the Command Execution
By executing the command, indexes of the data related to Messages and Spaces are updated. Messages that are displayed are as follows.- When indexes of the data related to Messages are updated:
"Finish indexing of message data" is displayed. If you can search the data related to Messages, updating indexes has been completed. - When indexes of the data related to Spaces are updated:
"Finish indexing of space data." is displayed. If you can search the data related to Spaces, updating indexes has been completed. - When updating indexes is not necessary:
"No need to update index." is displayed.
- When indexes of the data related to Messages are updated:
Execute commands in the FTS directory.
Parameters | Required item | Description |
---|---|---|
exec | Update indexes. |
On Windows: