Monday, June 5, 2017
Solr basics
Steps I had to follow to get solr going with existing cores:
1. Install solr from zip downloaded directly from apache
2. Place the cores (folders) to C:\Installs\solr-5.5.4\server\solr (or whatever the directory is where solr is downloaded)
3. Download latest JRE
4. Set up JAVA_HOME environment variable (mine is Name: JAVA_HOME Value: C:\Program Files\Java\jre1.8.0_144)
5. Make a necessary config change ()
6. In command prompt as admin go to the bin folder for solr (C:\Installs\solr-5.5.4\bin) and type in 'solr start'
7. Go to solr admin page and see your indexes
=============================
1. Weighed search results
2. Facets
3. Boosting
In CMD:
netstat -an
Net stop HTTP / Net start HTTP
sc qc http
===========
Used Bitnami to install Solr on a remote box. When prompted for a port number Solr will listen to I left it at default which was 80. After the install Solr completely overtook iis and I could no longer get to a sitecore site. I uninstalled Solr and reinstalled it with Bitnami. This time for port number I enterd 8080.
When changing site from Lucene to Solr:
1. Correct config files
2. Correct indexing configurations
3. Check return types for computed fields (stringCollection, guildCollection) if returning a list
4. In Lync statements make sure all fields are lowercased. That's how SOLR namings are.
Labels:
Solr
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment