IBM Connections: Configuração dos Índices de Pesquisa: Difference between revisions

From Wiki
No edit summary
Line 35: Line 35:
  <contentSources>
  <contentSources>
     <seedlist name="activitiesContentSource" pageSize="'''500'''"/>
     <seedlist name="activitiesContentSource" pageSize="'''500'''"/>
SearchCellConfig.checkInConfig()
'''wsadmin> SearchCellConfig.enableDictionary("pt_BR","${SEARCH_DICTIONARY_DIR}")'''


Faça o CheckIn dos Arquivos
Faça o CheckIn dos Arquivos

Revision as of 21:26, 6 August 2014

Procedimentos

Adicionando os dicionários de Pesquisa

Passos para configurar no linux

# mkdir /root/Temp

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

Executar wsadmin.sh

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

wsadmin> execfile("searchAdmin.py")

Faça o CheckOut dos Arquivos

wsadmin> SearchCellConfig.checkOutConfig("/root/Temp",AdminControl.getCell())


Em outro terminal, editar o arquivo config /root/Temp/search-config.xml

alterando em negrito:

<languageSupport defaultLocale="pt_BR">
 <dictionary locale="en" path="${SEARCH_DICTIONARY_DIR}"/>
 <dictionary locale="pt_BR" path="${SEARCH_DICTIONARY_DIR}"/> 
</languageSupport>
<services>
   <connService contentSource="activitiesContentSource" name="activities"/>
   <connService contentSource="calendarContentSource" name="calendar"/>
   <connService contentSource="ecmFilesContentSource" name="ecm_files"/>
</services>
<contentSources>
   <seedlist name="activitiesContentSource" pageSize="500"/>

Faça o CheckIn dos Arquivos

wsadmin> SearchCellConfig.checkInConfig()

Saia do wsadmin

wsadmin> exit

Continuar no artigo IBM Connections: Instalando o IBM Connections 4.5 no Linux,

Configurando o Stellent

O Stellent é um conversor para indexação de documentos.

Ir para o Diretório

cd /opt/IBM/Connections/data/local/search

Copiar os arquivos da Shared Area

cp -rv /opt/IBM/SharedArea/search/stellent .

Edite o arquivo /etc/profile e adicione as seguintes entradas

PATH=$PATH:/opt/IBM/Connections/data/local/search/stellent/dcs/oiexport
export PATH
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/IBM/Connections/data/local/search/stellent/dcs/oiexport
export LD_LIBRARY_PATH


Acessar o DMGR, ir para seção Environment -> WebSphere variables

Altere a variável

FILE_CONTENT_CONVERSION=opt/IBM/Connections/data/local/search/stellent/dcs/oiexport/exporter

Reiniciar Nodes e Servidores

Ver também