[ic] Not generated INDEX files gdbm ,but db info on UI shows INDEXes are good

Mike Heins interchange-users@icdevgroup.org
Fri Jul 19 22:20:01 2002


Quoting murahashi (murahashi@ayayu.com):
> I added a line in catalog.cfg.
> 
> Database       products INDEX Brand:c Section:c New:c
> 
> 
> On db info page for products, it shows INDEX defenition looks like good
> below.
> But there are no INDEX files in products directory. Interchange version is
> 4.8.5.
> Should I define any more ?
> 
> [db_info]
> ........
> products  Type DBM/Memory, TAB delimiter
> Class GDBM
> Directory /home/sites/www.skebo-shop.com/catalogs/skb/products
> Text File products.txt
> ......
> Other
> DIR /home/sites/www.skebo-shop.com/catalogs/skb/products
> HOT 1
> INDEX category:c
> Brand:c
> Section:c
> New:c
> KEY sku
> 

You have to "touch" the file, for the indices are only built
on import. You can either do at the command prompt:

	touch products/products.txt

or remove the GDBM file.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.513.523.7621      <mike@perusion.com>

Fast, reliable, cheap.  Pick two and we'll talk.  -- unknown