News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jeroen van Dijk:
Multi-select faceting in Solr with Solarium
November 07, 2012 @ 12:14:14

If you're a user of the Solarium tool for querying Solr database already and have been wondering how to work with faceting, you should take a look at this new post from Jeroen van Dijk. He covers using Solarium to do multi-select faceting in a Solr query.

Solarium is a library I often use at Enrise for querying Solr. For one of the projects I work on, AutoTrack.nl a second hand car site, I was having issues on advanced faceting with Solr which I could easily solve using Solarium. [...] Faceting is a technique for guided navigation where search results are separated into categories, often including counts on those categories. The user can then select from those categories to restrict their search step by step.

He includes an example of what kind of results this sort of searching could return and how you can use the "facet.mincount" to restrict the results to an even finer set. There's a bit of code included showing how to use this filtering method with a combination of "addFilterQuery" and "createFacetField" calls before executing the select through Solarium.

0 comments voice your opinion now!
solr search solarium facet mincount tutorial


blog comments powered by Disqus

Similar Posts

Kapustabrothers.com: Indexing PDF Documents with Zend_Search_Lucene

ProDevTips.com: Ajax, ZF and Smarty feed reader (Part 2)

Zend Developer Zone: Tutorial : Using Zend Framework Without PDO

Web Development Blog: Sending e-mails via SMTP with PHPmailer and Gmail

SaniSoft Blog: Introduction to creating desktop applications with PHP and Titanium


Community Events





Don't see your event here?
Let us know!


version composer symfony laravel series unittest podcast list interview language introduction install community release opinion conference configure api voicesoftheelephpant extension

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework