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

From Wiki
(Criou página com: 'Passos para configurar no linux '''# mkdir /root/Temp''' '''# cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin''' Executar wsadmin.sh '''# ./wsadmin.sh -lang jyth...')
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Procedimentos =
== Adicionando os dicionários de Pesquisa ==
Passos para configurar no linux
Passos para configurar no linux


Line 10: Line 14:
   
   
  '''wsadmin> execfile("searchAdmin.py")'''
  '''wsadmin> execfile("searchAdmin.py")'''
Connections Administration initialized


Faça o CheckOut dos Arquivos
Faça o CheckOut dos Arquivos
   
   
'''wsadmin> SearchCellConfig.checkOutConfig("/root/Temp",AdminControl.getCell())'''


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


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


Adicione o idioma Portugues do Brasil
alterando em negrito:


  '''wsadmin> SearchCellConfig.enableDictionary("pt_BR","${SEARCH_DICTIONARY_DIR}")'''
  <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
Faça o CheckIn dos Arquivos
Line 32: Line 45:


Continuar no artigo [[IBM Connections: Instalando o IBM Connections 4.5 no Linux]],
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 =
= Ver também =

Latest revision as of 11:04, 13 September 2016

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