Public Repository

Last pushed: 3 months ago
Short Description
Image for Solar Search Server that is to be used by SwiftKanban Application
Full Description

SwiftKanban Search Server

How to use this image?

Refer this document for setup of SwiftKanban Application 4.8 and above version

Start Solar Search Server for SwiftKanban Application

Run the following command to start Search Server for SwiftKanban Application:

sudo docker run -p $SEARCH_PORT:8983 --name sksearch -e SK_SEARCH_PORT=$SEARCH_PORT -e SK_DB_SERVER_IP=$DB_SERVER_IP -e SK_DB_USERNAME=$DB_USERNAME -e SK_DB_SERVER_PASSWORD=$DB_SERVER_PASSWORD -e SK_DB_SCHEMA_NAME=$DB_SCHEMA_NAME -e SEARCH_MachIP=$SEARCH_SERVER_IP -d digite/sksearch:$VERSION

...where
$SEARCH_PORT is the port on Solar Search Server will start(set non acquired port)
$SEARCH_SERVER_IP is the IP address on which Solar Search Server will run
$DB_SERVER_IP is the IP address of DB server machine
$DB_USER_NAME is the user with superuser permissions with the password specified by SK_DB_SERVER_PASSWORD for the database specified by the SK_DB_SCHEMA_NAME variable
$VERSION is the search server version

Restart Application Server

In order the Search Server to get affected, SwiftKanban Application needs to be restarted .Run following command on application server machine to restart SwiftKanban Application Server:

$sudo docker restart skappserver

Enable Indexing

Run the following commands to enable the indexing for search server:

wget $SEARCH_MachIP:8983/solr/collection1/import/KANBAN_DEFECT?command=full-import\&clean=true
wget $SEARCH_MachIP:8983/solr/collection1/import/KANBAN_ISSUE?command=full-import\&clean=false
wget $SEARCH_MachIP:8983/solr/collection1/import/KANBAN_CARD?command=full-import\&clean=false
wget $SEARCH_MachIP:8983/solr/collection1/import/USER_STORY?command=full-import\&clean=false
wget $SEARCH_MachIP:8983/solr/collection1/import/COMMENT_KANBAN_DEFECT?command=full-import\&clean=false
wget $SEARCH_MachIP:8983/solr/collection1/import/COMMENT_KANBAN_ISSUE?command=full-import\&clean=false
wget $SEARCH_MachIP:8983/solr/collection1/import/COMMENT_KANBAN_CARD?command=full-import\&clean=false
wget $SEARCH_MachIP:8983/solr/collection1/import/COMMENT_USER_STORY?command=full-import\&clean=false
wget $SEARCH_MachIP:8983/solr/collection1/import/ATTACHMENTS_KANBAN_DEFECT?command=full-import\&clean=false
wget $SEARCH_MachIP:8983/solr/collection1/import/ATTACHMENTS_KANBAN_ISSUE?command=full-import\&clean=false
wget $SEARCH_MachIP:8983/solr/collection1/import/ATTACHMENTS_KANBAN_CARD?command=full-import\&clean=false
wget $SEARCH_MachIP:8983/solr/collection1/import/ATTACHMENTS_USER_STORY?command=full-import\&clean=false

...where
$SEARCH_MachIP is the IP address of Search Server Machine.

Verify Search Server

Following are the Steps to verify Search for SwiftKanban Application:

  • Login to swiftkanban application
  • Goto board and create new project and add different types cards in that project.
  • Wait for 30 seconds
  • Search cards by their id,name,type and comment.
Docker Pull Command
Owner
digite

Comments (0)