• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 6
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

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 :
"manufacturer"
"minPrice"
"maxPrice"
"advancedFacetList"

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,

N
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic