Adapt to new Solr config :
- category -> genre - cover in solr - producer -> producerCode
This commit is contained in:
@@ -25,12 +25,7 @@ class BookSearch
|
||||
$this->query = new SolrQuery();
|
||||
$this->query->setQuery('*:*');
|
||||
|
||||
$this->query->addField('id');
|
||||
$this->query->addField('title');
|
||||
$this->query->addField('author');
|
||||
$this->query->addField('code');
|
||||
$this->query->addField('category');
|
||||
$this->query->addField('summary');
|
||||
$this->query->addField('*');
|
||||
|
||||
$this->query->addParam('q.op', 'AND');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user