Swift

An error occurred while attaching module (Dynamicweb.Frontend.Content)

System.ArgumentException: numHits must be > 0; please use TotalHitCountCollector if you just need the total hit count
   at Lucene.Net.Search.TopFieldCollector.Create(Sort sort, Int32 numHits, FieldDoc after, Boolean fillFields, Boolean trackDocScores, Boolean trackMaxScore, Boolean docsScoredInOrder)
   at Dynamicweb.Indexing.Lucene.Strategies.CollectorStrategy.GetResultInternal()
   at Dynamicweb.Indexing.Lucene.LuceneIndexProvider.SearchInternal(IQuery query, QuerySettings settings)
   at Dynamicweb.Indexing.Querying.QueryService.Query(IQuery query, QuerySettings settings)
   at Dynamicweb.QueryPublisher.Frontend.GetModuleContent()
   at Dynamicweb.Frontend.Content.GetModuleOutput(Paragraph paragraph, PageView pageview)