Update search engine after import?

Author Message

Dominik Pich

Wednesday 24 March 2004 7:14:21 am

I import xml and create a new product class from it.
Its title: Am Zuckerhut
Its author: Frederik Dietz

If I then search for Zuckerhut or Dietz, the product isn't found although displaying fine.

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.