downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

導入> <udm_set_agent_param
[edit] Last updated: Fri, 25 May 2012

view this page in

Apache Solr



add a note add a note User Contributed Notes Solr
mixwise at gmail dot com 18-Sep-2011 06:19
solr_get_version(): 1.0.1
solr:3.3.0

I had problems trying to pass facet queries(fq not facet.query) using this extension.

So I made a work around by extending the SolrQuery class and adding a new method for fq.
<?php
class SolrQuery2 extends SolrQuery{
    public function
addFQ($facetQuery){
       
$this->addParam('fq', $facetQuery);
    }
}
?>

 
show source | credits | sitemap | contact | advertising | mirror sites