0

I've implemented multifacet in asp.net mvc based eCommerce application. In that, I do load specification filter using facet query with mincount=1.It loads all filters which are having mincount=0 on applying filter second time.

for example. In my mobile category, First time , I exclude those filters which is having mincount=0

  1. Operating System
    Android(50)
    Windows(8)
    SPG(1)

  2. CardSlot
    microSD (328)
    T-Flash (64)

after applying filter like OperatingSytem:SPG It loads

  1. Operating System
    Android(50)
    Windows(8)
    SPG(1)
    iOS(0)

  2. CardSlot
    microSD (50)
    T-Flash (0)
    Flash(0)

but It Should be

  1. Operating System
    Android(50)
    Windows(8)
    SPG(1)

  2. CardSlot
    microSD (50)
    T-Flash (0)

I've implemented Multi-Select Faceting and LocalParams What could be the problem?

4

1 回答 1

1

facet.mincount=1每次查询 Solr 时都必须通过才能过滤没有结果的结果。
处理此问题的最佳方法是将其添加到请求处理程序的默认值中,这样您就不必每次都传递它。

于 2013-07-05T13:18:59.760 回答