Unable to contact your Apache Solr server - solr

I have a problem with an old TYPO3 installation (TYPO3 site 7 LTS [7.6.9]).
The site is using Apache Solr as the search engine, but it's not working. When a user tries to search, the system shows a message telling that the search engine is not available now.
In the administration panel, if I go to the Search option, I see this message:
Unable to contact your Apache Solr server.
Hosts missing:http://localhost:8080/solr/core_es/
http://localhost:8080/solr/core_eu/
http://localhost:8080/solr/core_en/
Of course, I have checked that Solr is running and listening on the port 8080. The Solr server is on the same machine than TYPO3.
I found this link about the Apache Solr configuration, but I cannot find these administration pages. I would like to test with the machine's public IP. In fact, I changed all the records regarding Solr in the cf_tx_solr_configuration table, and cleared all the cache tables manually, with no effect.
I have a couple of questions here:
Is it possible to change the configuration of the Solr server in TYPO3? If so, how can I do that?
Is TYPO3 shipped with an out-of-the-box search feature? If so, how can I disable Apache Solr and use the default search engine?
Thanks so much in advance!

please consume appropriate documentation Version of installed Extension.
So I assume(see Version Matix) you are using EXT:Solr version 6.5, therefore you must use the documentation for EXT:Solr v. 6.5.
--
QA
Is it possible to change the configuration of the Solr server in TYPO3? If so, how can I do that?
Yes, it is. You can set it via TypoScript path "plugin.tx_solr.solr.scheme|host|port|..."
Is TYPO3 shipped with an out-of-the-box search feature? If so, how can I disable Apache Solr and use the default search engine?
Yes, TYPO3 has build in search feature. Its name is indexed_search.
PS: You know, there are much more modern versions of TYPO3 available? Please upgrade at least to the newer major release.

Related

Configure solrnet with Solr

Is it necessary to use tomcat for configuring Solr with asp.net.
by this link [link]https://www.codeproject.com/Tips/480091/Using-Solr-for-Search-with-NET-Csharp
i configured and it works!! but it uses solr 1.4 version and i want to update my solr version.
And [link]https://cwiki.apache.org/confluence/display/solr/Running+Solr+on+Tomcat
it says that you cannot configure the tomcat with version 5 or latest from it.
so how to configure asp.net with solr latest version ?
Latest Solr runs as standalone black box. Do not look at ancient tutorials for Tomcat information, they are not useful anymore. And it is a separate issue from connecting to it via .NET client.
For the client part, the source-code version of SolrNet is more up to date. And it should work with latest Solr, with the main issue being that the URL for Solr now must include collection name, so http://localhost:8983/solr/collectionname . Check for parameters to set core or collection or similar.
There is also Solr Express you may want to have a look at.

Sitecore and SolrCloud switch on rebuild

As you may already know that Sitecore, configured to work with SolrCloud, does not support index switch on rebuild. Is there a way to achieve this with version 4.10.3 of Solr and Sitecore 8.0?
We found a link - https://github.com/SitecoreSupport/Sitecore.Support.449298 - but this has only been tested from version 5.2.1 to 5.5.1. Does anyone have any experience implementing this for version 4.10.3? Any issues that we may need to be aware of?
Thanks
This patch was created as the old SwitchOnRebuild used the Solr Core switching API which is now deprecated in version 5.* and above. It was not recommended when running in SolrCloud mode due to an issue with Zookeeper.
This code uses the Solr 'collections' API (/solr/admin/collections?action=LIST) instead , you would need to check if this API is available for Solr 4.10 (I think it is but I'm not 100% sure)
You would then just need to ignore the parts about the schemaFactory as that is Solr 5.* specific.
Note that this patch relies on the 405677 patch to be applied too.

Configure SOLR indexing with AEM 6.1

I am trying to configure SOLR indexing with AEM 6.1 but struggling with the following: -
What type of installation should be used for SOLR (embedded v/s
remote).
How to configure the selected installation with AEM 6.1.
How to determine whether the indexing has been successfully done.
Any help would be extremely appriciated.
I did lot of research on SOLR with AEM 6.0. I think I can answer to your question.
It depends on what are the requirements of the client. If the clients needs a quick search response and it have lot of content, you should prefer remove vs embedded. If the site has small content, the embedded could be sufficient. The remote permit to have a sharded cluster, so you can optimize the concurrent search response by adding more shared
The documentation of AEM is pretty well documented about this. You can find here: https://docs.adobe.com/docs/en/aem/6-1/deploy/platform/queries-and-indexing.html
Finally you can see the indexation well configured by enabling the logging configuration about the search (Look for to Enable Logging in the previous URL). You can test your search with tool in the ACS-Common with tools in ACS-Tools (http://adobe-consulting-services.github.io/acs-aem-tools/)
Hope this will help you.
Stéphane
I've stumbled upon these projects, as I searched for AEM Solr integration:
https://github.com/headwirecom/aem-solr-search
https://github.com/infielddesign/aem-id-solrindexer
Maybe it will help you with the Solr integration and configuration.
And as already mentioned above, the type of installation highly depends on your customer requirements.

Solr instance for sitecore 7

I am trying to implement solr into sitecore but could not find any way for creating a Solr instance for the same. I have few PDFs from SDN I could find any way to create Solr instance in any. Considering that I am new to CMS I hope I could get some help here. Thank you
There are lots of resources available for setting up Solr, and integrating Sitecore.
Essentially Sitecore is ignorant with respects to how you setup Solr (barring a few exceptions), so you need to follow standard methods to set Solr up. If you are doing this on your local machine, then I recommend you simply download Solr and get it running through the provided Jetty App Server.
Once Solr is running, download the Solr Extensions from SDN, then follow the search scaling guide to integrate Solr. This really only boils down to the following;
Remove Lucene config files
Add Solr config files and binaries
Add Solr endpoint into relevant config
Generate Solr Schema via Sitecore -> Control Panel -> Search (within Sitecore)
Add Schema file to Solr Core configuration
et voila
There is a great guide here: http://www.dansolovay.com/2013/05/setting-up-solr-with-sitecore-7.html

Hoster requirements for running Solr

I am planning to add a full-text search engine for searching a MySQL database to a website. Most recommendations on a nice, user-friendly implementation I found, mentioned the use of Apache Solr.
Keeping this in mind I started searching for the requirements for a hoster to use Solr but I didn't find any useful information expect for "it should support java". So I picked a random host that states it has Java JRE installed (http://wiki.dreamhost.com/What_We_Support) and asked if they supported Solr. Unfortunately, the answer was "no".
So, what would I need to be looking for? Do I need a dedicated server, a VPN, or are there shared hosting solutions where it is possible to run Solr?
What are the system requirements?
I hope there is someone out there, who knows a bit about this. Thanks!
The Solr requirements can be found here: https://wiki.apache.org/solr/SolrInstall
So an installed JRE is needed, but also an servlet container, which also needs an JRE.
If I would be in your situation, I would rent an virtual server.
An other option is an hosting service, specialized for solr hosting: search the web for "apache solr hosting". There are offers for free or payed offers also.
I've been running two drupal websites + apache solr on an ssd vps from rosehosting utilizing 2 cpu cores and 1gb ram. I wasn't able to setup apache solr and java myself so that's why I rented a managed vps service.
If you're not that technical I suggest you add managed to the keywords mentioned by #The Bndr and make sure you check with your host that they will support apache solr and java on your vps

Resources