Table of Contents

Creation of the Searchindex

The searchindex is created by the tool build_search.v5.pl. It needs to be called in the edit-folder where all configfiles are accessible.

build_search_v6.pl  [CONFIG]  [DEBUG]
  • CONFIG ... list of commaseperated confignames (without trailing conf.pl) that should be processed. If this argument is empty or no argument given, then the file templates.insert is parsed and all configuration-files are processed.
  • DEBUG ... list of commasperated keywords:
    • print ... extra information about the structure is printed

variables

  • SP : hash of all found keywords and their occurances. $sp->{word}= string of all CV’s ( seperated with \0)
  • $p : all searchable backendconfigs
  • $p2 : all backendconfigs - even if not searchable
  • $p3 : only the multilang-part of $p2
  • SI SORTINDEX
  • SEARCHCONFIG : searchconfig
  • S : searchconfig, options
    • $s->{c} ... all backendconfigs

created files

Running this tool will create the following files:

  • /data/apache/knowledge/system/searchstruct.pls
  • /data/apache/knowledge/system/searchstruct_c.pls
  • /data/apache/knowledge/system/searchstruct_i.pls
  • sitemap.html
  • sitemap.txt
  • sitemap.XXX.xml
  • sitemapindex.xml
 
kb/searchengine/indexcreation.txt · Last modified: 2007/11/19 21:50 by peter