Adapt to new Solr config :

- category -> genre
- cover in solr
- producer -> producerCode
This commit is contained in:
Gilles Crettenand
2015-05-29 11:01:24 +02:00
parent 28b4b8a985
commit f9c85c73dd
3 changed files with 15 additions and 23 deletions

View File

@@ -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');
}