Home » Topics » Technical and configuration issues » Actions and filters » Custom Query support for wpsolr ?
Hi, does this plugin support this queries ? $facetqry = $facetset->createFacetRange(‘pricerange’); $facetqry->setField(‘price’); $facetqry->setStart(0); $facetqry->setGap(2); $facetqry->setEnd(16);
This is how internally facet range queries are implemented with the Solarium PHP library
But WPSOLR does not expose its Solarium client to actions and filters.
Can this code be added in this plugin files ?
Modyfying plugin files is not recommended, nor supported.
But the code you mention is already part of the plugin, with the Numeric Range facet layout.
You must be logged in to reply to this topic.