@@ -218,77 +218,16 @@ For production deployments that require SSO, Keycloak integrates with Turing ES
218218
219219## Solr Configuration
220220
221- You need to configure Solr to be able to store Semantic Navigation and ChatBot data.
221+ You need to configure Solr to be able to store Semantic Navigation data.
222222
223- ### OOTB
224-
225- With Solr running, go to Turing Utils and create the new cores that will be used by Turing ES.
226-
227- 1 . Install the cores into solr:
223+ With Solr running, go to Turing Utils and create the Solr collection that will be used by Turing ES:
228224
229225``` shell
230226cd < SOLR_DIR> /bin
231- # # For Semantic Navigation
232227./solr create_collection -c turing -n turing -d /appl/viglet/turing/utils/solr/< VERSION> /turing/< LANGUAGE>
233- # # For ChatBot
234- ./solr create_collection -c converse -n converse -d /appl/viglet/turing/utils/solr/< VERSION> /converse/< LANGUAGE>
235- ```
236-
237- 2 . Start Solr Service
238-
239- ### OpenText InfoFusion
240-
241- 1 . Create the cores into Solr:
242-
243- ``` shell
244- cd < SOLR_DIR> /bin
245- # # For Semantic Navigation
246- mkdir < SOLR_DIR> /server/solr/turing
247- cp -Rf /appl/viglet/turing/utils/solr/< VERSION> /turing/< LANGUAGE> /. < SOLR_DIR> /server/solr/turing/
248- # # For ChatBot
249- mkdir < SOLR_DIR> /server/solr/converse
250- cp -Rf /appl/viglet/turing/utils/solr/< VERSION> /turing/< LANGUAGE> /. < SOLR_DIR> /server/solr/converse/
251- ```
252-
253- 2 . If the core name of Semantic Navigation Site will be different, you need modify the ` core.properties ` file and change the ` name ` and ` collection ` attributes:
254-
255- ``` shell
256- cd < SOLR_DIR> /bin
257- mkdir < SOLR_DIR> /server/solr/sample
258- cp /appl/viglet/turing/utils/solr/< VERSION> /turing/< LANGUAGE> /. < SOLR_DIR> /server/solr/sample/
259- chown otif:otif < SOLR_DIR> /server/solr/sample
260-
261- # # Modify the name and collection fields
262- sed -i ' s/turing/sample/g' < SOLR_DIR> /server/solr/sample/core.properties
263- ```
264-
265- 3 . Edit the ` <IF_API>/bin/otif.sh ` and add the new cores to sync with Zookeeper:
266-
267- ``` shell
268- # Push Solr configurations in ZooKeeper
269- pushSolrConfigs () {
270- ...
271- cd " $BASE_DIR "
272- # For Semantic Navigation
273- ./zk.sh -cmd upconfig -zkhost " $SOLR_ZK_ENSEMBLE " -confdir " <IF_SOLR>/server/solr/turing/conf" -confname turing
274- ./zk.sh -cmd upconfig -zkhost " $SOLR_ZK_ENSEMBLE " -confdir " <IF_SOLR>/server/solr/<OTHER_CORE>/conf" -confname < OTHER_CORE>
275- # For ChatBot
276- ./zk.sh -cmd upconfig -zkhost " $SOLR_ZK_ENSEMBLE " -confdir " <IF_SOLR>/server/solr/converse/conf" -confname converse
277- # Default InfoFusion cores (Do not modify)
278- ./zk.sh -cmd upconfig -zkhost " $SOLR_ZK_ENSEMBLE " -confdir " $BASE_DIR /../etc/solr/otif/en/conf" -confname otif_en
279- ...
280- cd " $CURRENT_DIR "
281- }
282- ```
283-
284- 4 . With Zookeeper running, execute:
285-
286- ``` shell
287- cd < IF_API> /bin
288- ./otif.sh push-solr-configs
289228```
290229
291- 5 . Restart the Solr.
230+ Start the Solr service after the collection is created .
292231
293232## Installing Turing ES
294233
0 commit comments