Mudanças entre as edições de "Listagen dos cabeçalhos por ordem alfabética"

De IBICT
Ir para: navegação, pesquisa
(Alterando as bases de dados dos cabeçalhos)
Linha 24: Linha 24:
 
# index-alphabetic-browse.sh: altere o segundo parâmetro relevante do build_browse
 
# index-alphabetic-browse.sh: altere o segundo parâmetro relevante do build_browse
 
# local/config/vufind/searchspecs.yaml: altere o campo relevante; procure pelo campo comentado # Fields for exact matches originating from alphabetic browse”  
 
# local/config/vufind/searchspecs.yaml: altere o campo relevante; procure pelo campo comentado # Fields for exact matches originating from alphabetic browse”  
# solr/biblio/conf/solrconfig.xml:
+
# solr/biblio/conf/solrconfig.xml:solr/biblio/conf/solrconfig.xml: change the field used by the browse request handler; search for “BrowseRequestHandler”. This is the solr field to be searched once the alphabrowse index has reretrieved what it calls a “heading” (basically the 'value' portion of an entry). So you should enter your value field here.
solr/biblio/conf/solrconfig.xml: change the field used by the browse request handler; search for “BrowseRequestHandler”. This is the solr field to be searched once the alphabrowse index has reretrieved what it calls a “heading” (basically the 'value' portion of an entry). So you should enter your value field here.
+
 
Make sure you've turned on the page in local/config/vufind/config.ini
 
Make sure you've turned on the page in local/config/vufind/config.ini
 
You may want one of your alphabrowse index to use one field for sorting and a different field for display (e.g. for call numbers)
 
You may want one of your alphabrowse index to use one field for sorting and a different field for display (e.g. for call numbers)

Edição das 17h00min de 8 de maio de 2015


Introdução

O Módulo de apresentação alfabética oferta a apresentação dos registros no formato tradicional dos sistemas de biblioteca, o qual possibilita ver todos os autores, assuntos, títulos das coleções, incluindo as referências extraídas das bases de autoridade.

A fim de aproveitar essa funcionalidade, será preciso adicionar um passo extra no processo de indexação, para que as bases de dados utilizadas para que os cabeçalhos sejam gerados corretamente.

Gerando as bases de dados de cabeçalhos

Para gerar as bases de dados dos cabeçalhos será necessário executar um script, por meio de um comando. Neste guia as instruções para o sistema operacional Linux. Im Nota: Será necesário reexecutar o processo toda a vez que o índice for alterado, de forma a manter a sincronia.

No diretório do VuFind execute:

./index-alphabetic-browse.sh

Caso enfrente problemas depois da execução do script, pode-se reiniciar o VuFind e analisar o cabeçalhos. Na maioria dos casos não será preciso reiniciar o aplicativo.

Alterando as bases de dados dos cabeçalhos

Pode-se alterar os campos utilizados para criar alguma base de dados das seguintes formas

  1. index-alphabetic-browse.sh: altere o segundo parâmetro relevante do build_browse
  2. local/config/vufind/searchspecs.yaml: altere o campo relevante; procure pelo campo comentado # Fields for exact matches originating from alphabetic browse”
  3. solr/biblio/conf/solrconfig.xml:solr/biblio/conf/solrconfig.xml: change the field used by the browse request handler; search for “BrowseRequestHandler”. This is the solr field to be searched once the alphabrowse index has reretrieved what it calls a “heading” (basically the 'value' portion of an entry). So you should enter your value field here.

Make sure you've turned on the page in local/config/vufind/config.ini You may want one of your alphabrowse index to use one field for sorting and a different field for display (e.g. for call numbers)

  1. index-alphabetic-browse.sh: set field leech params valuefield (used for display) and sortfield (used for sorting) example:
build_browse "lcc" "callnumber_browse" 1 "-Dbibleech=StoredFieldLeech -Dsortfield=callnumber_browse_sort" -Dvaluefield=callnumber_browse
  1. local/config/vufind/searchspecs.yaml: use the value field
  2. solr/biblio/conf/solrconfig.xml: use the value field

Then, when a query is submitted to alphabrowse, the field you used as the sortfield is the one that will be matched against. You may want to create a custom normalizer to translate user-entered data into the right format.