Solr instance for sitecore 7 - solr

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

Related

Unable to contact your Apache Solr server

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.

solrcloud plugin deployment

I am going to migrate our app from Lucene 4.7 to Solr 4.7 (in cloud).
As we have some custom analysers I am interested in how complicated is deployment process with Solr Cloud.
Exactly how does it looks like with custom analysers.
I couldn't find any specific information, can anybody help me?
Regards
If you have the jars present on the hosts and inside the solr jvm classpath (or specified in the solr config as presented here : http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/example/solr/collection1/conf/solrconfig.xml) then it should not be harder than specifying the field definitions along with your custom analyzers inside the schema file

Can we use Kibana for Apache Solr not using elasticsearch

How to integrate Kibana with Apache solr instead of using elastic search.
If it cannot be done.
What are the alternatives to Kibana for Solr
At LucidWorks, we have ported Kibana to work with Solr and released it as open source.
If you want a bundled package, you can download that at http://www.lucidworks.com/lucidworks-silk/.
Our port for Kibana for Solr is bundled with Solr 4.7.0 and can be used as a query engine to build dashboards from indexes within the bundled Solr instance and/or located on other Solr instances.
The source code is available at https://github.com/LucidWorks/banana.
We have also included Solr Output Writer for LogStash with that bundle; however, you can use any ETL and indexing mechanism to get time series data into Solr. Links to this github repository are available on the LucidWorks link above.
HUE is an alternative search UI for Solr, while it is not good as Kibana for search at the moment.
You can use SiLK for sure but you are better off using the fully integrated dashboards module that comes with Lucidworks Fusion. Fusion will save you a ton of time and make it easier to focus on the search stuff that matters - like building a recommender engine, creating data-driven user experience, driving data enrichment with entity recognition and integrating with Big Data software like Hadoop.

Alfresco 4.1 Search Integration?

I am using alfresco 4.1 & want to integrate it with solr search so that solr can access all alfresco content (keeping in mind authentication etc).
I know solr is inbuilt inside alfresco but i have a solr instance running separately which integrates searches from a number of other sources also such as DBs etc.
Which would be the best way forward?
Regards.
I got one of the way to do it. I can install solr on a separate server & use solrj apis within alfresco for integration.
Programatically, i can dump alfresco content for indexing to solr search using solrj using custom built xml for alfresco contents. Once xml are available to solr, it can be consumed by solr server & can be indexed by it. These indexes would be separate from alfresco OOTB indexes.
Once indexed, it is good to go. Using solr apis, i can search same content in solr server, instead of alfresco plus benefit of integrating multiple content sources with solr so that solr can be used as universal search.
However, when content items go to large volumes, i could see a performance hit as for every content item in alfresco , solr needs to index it. Any workaround possible?
Regards.

Making one of Liferay communities (called sites) not indexed in solr

We are using Liferay (6.1.20 EE) with Solr search engine.
Now Solr indexes everything. Can we somehow set up Solr (or Liferay) to prevent one Site from being indexed?
It means all articles documents present on that Site would not be indexed and would not be present in Solr.
1) Should this be done with Solr configurations/schema filters before Index starts?
OR
2) Should it be customized in Liferay Indexer classes (with help of Hooks or EXT) to skip content being indexed.
Thanks for your thoughts and suggestions.
Regards,
Kris
You could create a custom version of the solr-web WAR file that you need to install to make the Liferay/SOLR integration work. In the WAR file you'll find SolrIndexWriterImpl. This is the place that everything passes through that will be indexed in SOLR. You could create your own custom implementation of this class that uses the information in the SearchContext parameter, that's passed into each method, to decide if something should be indexed or not.
The latest code for solr-web can be found here: http://svn.liferay.com/repos/public/plugins/trunk/webs/solr-web/
Based on this code I was also able to create a solr-web.war that works on the more recent SOLR versions instead of the ancient 1.4.1 version Liferay uses by default.

Resources