Open GoogleCodeExporter opened 9 years ago
Hello,
I have the same Problem with Magento CE 1.7.0.2. The indexing process works and
the the data is saved on the Solr server, but the search in magento shows "Your
search returns no results".
What can we do?
Original comment by patr...@p-squared.de
on 8 Nov 2012 at 5:50
I've no real solution to the problem, but only a little workaround. Because it
was only an experiment, I didn't dig deeper to get it working, but I'll share
my actions anyway...
I've patched the file 'app/code/local/Magentix/Solr/Model/Search.php', on line
70?! Comment out the additional parameter 'fq' => 'store_id:'.$storeId
How did I get there? In the same file around line 72, I've changed the POST
into a GET. Now I was able the read the whole request from Magento to Solr in
the logs (e.g. /opt/bitnami/apache-solr/logs/*). I took this request and
identified the error-causing parameter on http://[solr-server]/solr/admin/
As I mentioned above, this will only be a dirty trick, to get _any_ search
results. Of Course, it would make sense to limit the results to a certain store.
Btw. the parameter 'fq' is an abbreviation for 'filter query', which means to
allow reducing the responded search result. In my case, the search request used
a different storeId than I expected to be used from the shop search. I think,
this will be a good starting point to isolate the real problem.
Original comment by PennyFor...@gmail.com
on 30 Nov 2012 at 10:08
I have same error, but in Magento Community Edition 1.7.0.2. I have change
layout from 3 to 1 column layout. After that I got this kind of error.
Original comment by prashant...@gmail.com
on 10 Aug 2013 at 7:45
Original issue reported on code.google.com by
PennyFor...@gmail.com
on 25 Jun 2012 at 1:23