Developer forum

Forum » Feature requests » ProductIndexBuilder configuration setting to disable imageprocessing

ProductIndexBuilder configuration setting to disable imageprocessing

Martin Jensen
Reply

Hi!

When indexing a productcatalog it would be great with a setting to disable the imageprocessing functionality in the ProductIndexBuilder.

Each time we run the indexer on a catalog with approx 35000 products it creates a 30MB log file with the following lines per product:

2017-09-18 19:48:39.900: Error processing images (AutoID: 29711, ProductID: 100001, VariantID: , LanguageID: LANG2, Name: productname). Exception logged. System.NullReferenceException: Object reference not set to an instance of an object.    at Dynamicweb.Ecommerce.Frontend.ImagePattern.FindFilesByImagePattern(String imageCompiled, String imageFolder)    at Dynamicweb.Ecommerce.Indexing.ProductIndexBuilder.ProcessImages(IndexDocument document, IDataReader reader, String productId, String productName, String variantId, String languageId)    at Dynamicweb.Ecommerce.Indexing.ProductIndexBuilder.ProcessProducts()
2017-09-18 19:48:39.900: Error processing images (AutoID: 29711, ProductID: 100001, VariantID: , LanguageID: LANG2, Name: productname). Exception logged


Replies

 
Nicolai Pedersen
Reply

Hi Martin

Hm, we do not like that. We will look into not getting exceptions and big log files, and also an option to disable image path indexing.

BR Nicolai

 
Nicolai Pedersen
Reply

TFS#39537

 
Anders Ebdrup
Anders Ebdrup
Reply

Hi Nicolai,

 

Do you have implemented a setting for this as I see same issue in: 9.3.10?

 

Best regards, Anders

 
Nicolai Pedersen
Reply

Hi Anders

Yes, but apparently it is only available in the 9.4 release.

BR Nicolai