Custom Query support for wpsolr ?
- prakashreddy.imduriParticipant1 year, 7 months ago #30891
Hi, does this plugin support this queries ?
$facetqry = $facetset->createFacetRange(‘pricerange’);
$facetqry->setField(‘price’);
$facetqry->setStart(0);
$facetqry->setGap(2);
$facetqry->setEnd(16);wpsolrKeymaster1 year, 7 months ago #30892This 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.
prakashreddy.imduriParticipant1 year, 7 months ago #30894Can this code be added in this plugin files ?
wpsolrKeymaster1 year, 7 months ago #30895Modyfying plugin files is not recommended, nor supported.
But the code you mention is already part of the plugin, with the Numeric Range facet layout.
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.