• Post Reply Bookmark Topic Watch Topic
  • New Topic

Websphere Commerce 7 : SOLR and wcf:getData : Filtering on multiple facets at once  RSS feed

Nils Quairiat
Posts: 6
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

does anyone know if there exists (for WC7 latest feature pack) an out-of-the-box way to call SOLR in order to filter results with multiple facets at once ?
I can filter on one facet, then on another additional one and so on, but this requires a new service call everytime a new facet is added for filtering.
Example : with the

I can easily add a facet filter, but not a list of facets filters at once.

There exists a "advancedFacetList" parameter, but here is what I found out about it :

I made some testing with the advanced search form provided by the Madisons starter store.

In this form (and the corresponding wcf:getData call defined in SearchSetup.jspf), there are, notably, the following fields :

If for example you use "Fedex" as manufacturer, "10" as minprice and "20" as maxprice, the following fields are filled like this :

- manufacturer : Fedex
- minPrice : 10
- maxPrice : 10
- advancedFacetList : mfName_ntk_cs:Fedex;price_EUR:10 20;

If I manually remove the values in the "manufacturer","minPrice" and "maxPrice" fields, but keep the "advancedFacetList" with the correct values, no filter is applied.

Therefore, one could ask : What is the goal of the "advancedFacetList" ? Can it really be used for filtering ?

Any info would be greatly appreciated.

Best regards,

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!