You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Audun Holme <au...@yahoo.com.INVALID> on 2019/01/14 22:18:31 UTC

newbie: a few newbie questions regarding Solr

Hi
My magento store (magento 1.9.3.7) have a very slow search, takes 30 seconds to show some results, should be down to 1 second...
So I have read about solr and think maybe I need solr.
I found this link:https://github.com/integer-net/solr-magento1
I downloaed that plugin and started to read about how to install it. Unsure as I was I sent an email to https://integernet-solr.com/ to ask  a few questions to them. They replied  shortly and told me that Solr is a sepate app running on the apache server. The plugin I found at gitHub is just a connection between the apache and the magento store. Correct?
question:
Where to I get both the apache app? I thought it was included in the module, but I have been wrong so many times :) Is it solr_conf folder??

From the install guide, I read:"Install Solr and create at least one working core"I assume it here means the apache app?? Isn't there a standard app in the module ready to be used?? if so what folder is it in??

Would be great if someone had a quide on how to confiigure it as I get confused. 

Audun

Re: newbie: a few newbie questions regarding Solr

Posted by Shawn Heisey <ap...@elyograg.org>.
On 1/14/2019 3:18 PM, Audun Holme wrote:
> So I have read about solr and think maybe I need solr.
> I found this link:https://github.com/integer-net/solr-magento1
> I downloaed that plugin and started to read about how to install it. Unsure as I was I sent an email to https://integernet-solr.com/ to ask  a few questions to them. They replied  shortly and told me that Solr is a sepate app running on the apache server. The plugin I found at gitHub is just a connection between the apache and the magento store. Correct?

The project you linked is probably a magento plugin that knows how to 
access a Solr server.  It does not include Solr.

> question:
> Where to I get both the apache app? I thought it was included in the module, but I have been wrong so many times :) Is it solr_conf folder??

What is "the apache app"?

Solr and Apache are not equivalent in any way. Solr is a software 
project that is managed within the Apache Foundation.  Even though the 
project is known by the full phrase "Apache Solr", it has nothing at all 
to do with the apache http server -- that is a completely separate project.

>  From the install guide, I read:"Install Solr and create at least one working core"I assume it here means the apache app?? Isn't there a standard app in the module ready to be used?? if so what folder is it in??

Solr is a completely standalone piece of software.  It does not run as 
part of the apache http server.  Normally it is not embedded within ANY 
other software.  In order to embed Solr in another piece of software, 
that software would have to be written in Java.  I'm pretty sure that 
magento is not written in Java.

The instructions in the project you referenced are pretty clear.  
Install Solr, start it, create a core, replace the core's config files 
with those provided in the github project, and then restart Solr.  
Before you can install Solr, you will have to download it.

I would recommend installing Solr on an OS like Linux. There is a 
service installer included in the Solr download that works on most 
operating systems with GNU tools.  There is no service installer 
included for Windows.  Some people have successfully created a Windows 
service for Solr on their own.

Here's information in the Solr documentation for creating a core:

https://lucene.apache.org/solr/guide/6_6/running-solr.html

I used the 6.6 version of the documentation for the above because the 
project you linked says it works with 4.x through 6.x.  I have no idea 
whether their configs are compatible with 7.x versions of Solr.

This is where you can get the latest 6.x version of Solr (at the time I 
write this):

http://archive.apache.org/dist/lucene/solr/6.6.5/

It is available in both tgz and zip formats.  The largest files in the 
directory are the full binary download.

Thanks,
Shawn