Posted on 07/01/2020 13:53:22
Hi Nicolai and Nuno,
I installed a local 9.7.5 solution and set the above configuration.
There is an error, no products are shown when displaying the product page. I checked the product feed adding "?feed=true" to the URL and this error is shown:
An error occurred while attaching module (Dynamicweb.Frontend.Content)<br><br><pre>System.InvalidCastException: Specified cast is not valid.
at Dynamicweb.Indexing.Lucene.LuceneIndexProvider.FillFacetResultUsingSpecializedQuery(Facet facet, FieldDefinitionBase field, IndexReader reader, Query searchQuery, QuerySettings settings, FacetGroupResult facetsResult, IList`1 exceptions)
at Dynamicweb.Indexing.Lucene.LuceneIndexProvider.DoFacetSearch(IFacetGroup facets, FieldDefinitionBase[] fields, IndexReader reader, IQuery query, QuerySettings settings, Query originalQuery, IList`1 exceptions)
at Dynamicweb.Indexing.Lucene.LuceneIndexProvider.SearchInternal(IQuery query, QuerySettings settings)
at Dynamicweb.Indexing.Querying.QueryService.Query(IQuery query, QuerySettings settings)
at Dynamicweb.Ecommerce.Frontend.Frontend.GetProductsFromIndexQuery(ProductCatalogShowType settingsType)
at Dynamicweb.Ecommerce.Frontend.Frontend.EcomRender()
at Dynamicweb.Ecommerce.Frontend.Frontend.GetContent()
at Dynamicweb.Frontend.Content.GetModuleOutput(Paragraph paragraph, PageView pageview)</pre>
Is there any trick we could do to solve this error? ...or how could we implement the integer facets?
Regards, Tomas