IBM Connections: Recriando os índices de pesquisa

From Wiki
Revision as of 22:44, 6 August 2014 by Ebasso (talk | contribs) (→‎Ver também)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Tive um problema quando instalei o Connections 5, como deixei para configurar o CCM depois o índice não era criado

Do a one-off index

Passos para configurar no linux

# cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin

Executar wsadmin.sh

# ./wsadmin.sh -lang jython -username wasadmin -password senha

wsadmin> execfile("searchAdmin.py")

Connections Administration initialized

Selecione um dos servidores onde a aplicação Search está instalada.

SearchService.disableAllTasks() 

Criando o índice para todos as aplicações, sem utilizar o SearchService.indexNow("all_configured")

SearchService.indexNow("activities, blogs, calendar, communities, dogear, files, forums, profiles, status_updates, wikis") 

Habilitando novamente os serviços

SearchService.enableAllTasks() 

Listando os Schedules

print SearchService.listTasks() 
Indexing Task name: 15min-search-indexing-task, Schedule: 0 1/15 0,2-23 * * ?, Start-By Schedule: 0 10/15 0,2-23 * * ?, Services: all_configured  , Optimize false ,  Enabled true
Indexing Task name: roi-all_configured-MonJul2115:10:32BRT2014, Schedule: null, Start-By Schedule: null, Services: all_configured  , Optimize false , Enabled true
Indexing Task name: roi-all_configured-MonJul2115:09:31BRT2014, Schedule: null, Start-By Schedule: null, Services: all_configured  , Optimize false , Enabled true
Indexing Task name: roi-activities-blogs-calendar-communities-dogear-files-forums-profiles-status_updates-wikis-MonJul2115:19:57BRT2014, Schedule: null, Start-By  Schedule: null, Services: activities,blogs,calendar,communities,dogear,files,forums,profiles,status_updates,wikis  , Optimize false , Enabled true
Indexing Task name: roi-activities-blogs-calendar-communities-dogear-files-forums-profiles-status_updates-wikis-MonJul2115:19:17BRT2014, Schedule: null, Start-By  Schedule: null, Services: activities,blogs,calendar,communities,dogear,files,forums,profiles,status_updates,wikis  , Optimize false , Enabled true
Optimize Task Name: nightly-optimize-task, Schedule: 0 30 1 * * ? ,Start-By Schedule: 0 35 1 * * ?, Enabled true
File Content Retrieval Task Name: 20min-file-retrieval-task,  Schedule: 0 1/20 0,2-23 * * ?, Start-By Schedule: 0 10/20 0,2-23 * * ?, Services all_configured ,  Failures-Only Flag false , Enabled true
Social And Network Analysis Task Name: nightly-sand-task,  Schedule: 0 0 1 * * ?, Start-By Schedule: 0 5 1 * * ? , SAND Indexers:  evidence,graph,manageremployees,tags,taggedby,communitymembership, Enabled true
None

Deletando os Schedules

wsadmin>SearchService.deleteTask("roi-all_configured-MonJul2115:10:32BRT2014")

Ver também