PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Change Config without re-indexing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Change Config without re-indexing

    How can I make configuration changes to the search without having to re-index the site to save the appropriate files to the server?

    Shawn

  • #2
    The format of the index files is optimised for the configuration options you select (to keep it as small as possible). As an example, if you index with the PHP option, then page pointers are 2 byte integers. But if you index with the CGI option page pointers are 4 byte integers. If you index with the Javascript option, then integers aren't used at all. Other options like date sorting, context results & categories can all affect the data stored.

    As a result of this we have made a general rule that you should you re-index your site if you make any changes to the configuration options.

    In a few cases people have taken it upon themselves to directly edit the settings file (setting.asp / setting.php / setting.zdat / settings.js) to try and avoid re-indexing. But in our experience most users end up corrupting the file in short order. Which results in the search script crashing in many random different ways. So DON'T do this.

    Of course there is a lot you can change in terms of look and feel by editing the search_template.html file and the CSS within it. This doesn't require re-indexing.

    ------
    David

    Comment


    • #3
      Got it! If it is best to re-index, then that's what we will do. I didn't know if it was as simple as copying a certain file over to the server or not.

      Thanks!
      Shawn

      Comment

      Working...
      X