Posted on 09/11/2017 12:32:36
Hi Nicolai
Hope your right because then i can fix it :)
I already use the context:shopid (see dump) but with contains. If I use the "In" for the string Array I get this error. And I don't have the isEmpty option for System.String[]
System.NotSupportedException: The type for the given value is not supported by the 'In' operator. The supported type is 'System.Array'. Current: 'System.String'.
at Dynamicweb.Indexing.Lucene.Helpers.ThrowTypeNotSupported(OperatorType operatorType, Type supportedType, Type currentType)
at Dynamicweb.Indexing.Lucene.Helpers.ParseQueryExpressionInternal(IIndex index, Expression expression, Analyzer analyzer, QuerySettings settings)
at Dynamicweb.Indexing.Lucene.Helpers.ParseQueryExpressionInternal(IIndex index, Expression expression, Analyzer analyzer, QuerySettings settings)
at Dynamicweb.Indexing.Lucene.Helpers.ParseQueryExpression(IIndex index, Expression expression, QuerySettings settings)
at Dynamicweb.Indexing.Lucene.LuceneIndexProvider.SearchInternal(IQuery query, QuerySettings settings)
at Dynamicweb.Indexing.Lucene.LuceneIndexProvider.Query(IQuery query, QuerySettings settings)
at Dynamicweb.Indexing.Queries.IndexQueryProvider.Query(IQuery query, QuerySettings settings)
at Dynamicweb.Indexing.Querying.QueryService.Query(IQuery query, QuerySettings settings)
at Dynamicweb.Ecommerce.Frontend.Frontend.GetProductsFromIndexQuery()