Share » Forums » Developer » Update search engine after import?

Update search engine after import?

Update search engine after import?

Wednesday 24 March 2004 7:14:21 am - 6 replies

Author Message

Kåre Køhler Høvik

Wednesday 24 March 2004 7:40:02 am

Run

./update/common/scripts/updatesearchindex.php

to update your search index.

Kåre Høvik

Dominik Pich

Wednesday 24 March 2004 8:04:14 am

Thanks

Dominik Pich

Friday 26 March 2004 1:28:08 am

How to call it...
I can't just include it in my import script.

Kåre Køhler Høvik

Friday 26 March 2004 1:59:44 am

Run the script from the ez publish root. You can add the script after the import job if you're running the import as a cron job, or just run it manually.

Note, the script may take several hours to run, depending on your database size.

--
Kåre Høviik

Kåre Høvik

Volker Lenz

Monday 29 March 2004 4:07:25 am

On my Suse 8 box, the complete procedure is as follows:

1. open a shell
2. go to your ezp root dir
3. issue the following command: php -C -f update/common/scripts/updatesearchindex.php

If this does not index as you expect, support the site access parameter <your_site_access> as follows:

3. php -C -f update/common/scripts/updatesearchindex.php -s <your_site_access>

Dominik Pich

Monday 29 March 2004 6:55:59 am

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu