• News
  • Developer information
  • Projects & contributions
  • Forum
  • Issue tracker
  • Open Funding
  • Security
  • User groups
  • Support
  • Store
  • Company

  • Path

    ez.no / exponential / documentation / development / scripting / supplied scripts / update search index


    Update search index

    These documentation pages are no longer maintained. Please visit the new documentation site.

    updatesearchindex.php is a script for updating the whole search index. It's located under update/common/scripts/. This script is only nessesary to run once for the whole site. ( No need to run per siteaccess )

    Requires :

    PHP CLI

    To rebuild the searchindex of your site, enter the root folder of your Exponential installation, and run:

    php -C update/common/scripts/updatesearchindex.php

    The script will output current status of the reindexing:

    [ez@localhost exponential]$ php -C update/common/scripts/updatesearchindex.php
    
    Starting object re-indexing
    
    Number of objects to index: 37
    
    ..................................... 100%
    
     
    
    done

    The following options are available :

     --db-user=VALUE     Database user
    
     --db-password=VALUE Database password
    
     --db-database=VALUE Database name
    
     --db-driver=VALUE   Database driver
    
     --sql               Display sql queries
    
     --
    clean             Remove
     all search data before beginning indexing

    It's not recommended to use any of these unless you know what you're doing.

    Comments

    It didn't work with me

    My Search engine was not workign

    and when i made the instructions up there
    it dind't work either?

    What do you think
    how could i solve it

    Contents

    Development

    Extensions
    Exponential datamodel
    Exponential tuning and stability
    Importing attribute data
    Kernel
    Libraries
    Scripting
        Script classes
        Supplied scripts
           Database Diffing Tool
           Template compiler
           Update search index
           Update remote ID
        PHP CLI
    Standards
    System overview
    Test Suite
    Using Doxygen to create API documenta...


    Created

    14/07/2004
    10:02:19 am
    by Kåre Køhler Høvik

    Last updated

    14/07/2004
    3:27:50 pm
    by Kåre Køhler Høvik

    Authors

    Kåre Køhler Høvik



    This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.