Posted on 09/08/2019 09:49:55
Dear Nicolai,
I can see that the initialization is still placed wrong. Right now it is placed inside: Private Sub HandleVariants(document As IndexDocument, variantId As String, languageId As String, productId As String, isExtended As Boolean), but it should be placed in: Public Overrides Sub Build(writer As IIndexWriter, tracker As Tracker).
With the latest implementation the variable is reinitialized for every variant...
Please also think about partial update of the index, and we need a setting only to index products in stock as we now display variants out of stock, but in the beginning correct placement of the initialization is most important.
Best regards, Anders