Apache Solr

Коментарии

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);
    }
}
?>
2011-09-18 21:19:56
http://php5.kiev.ua/manual/ru/book.solr.html
Автор:
Hello,

you have to use SolrQuery::addFilterQuery() instead of SolrQuery::addFacetQuery() which is intended for another goal.

SolrQuery::addFilterQuery() : fq
SolrQuery::addFacetQuery() : facet.query

Regards,

Corentin Larose - CTO@QAPA
2012-09-21 17:56:40
http://php5.kiev.ua/manual/ru/book.solr.html
This extension was last updated for PHP 7.1 three years ago.

As of this date, it has not been released for PHP 7.2 or PHP 7.3. In other words, it's not actively maintained.
2019-03-08 21:28:05
http://php5.kiev.ua/manual/ru/book.solr.html

    Поддержать сайт на родительском проекте КГБ