Solr einrichten auf Windows

bezieht sich auf solr version 6.4.1

Download and unzip: http://lucene.apache.org/solr/downloads.html

Download Java: https://java.com/de/download/ und lege Umgebungsvariable JAVA_HOME an mit dem Dateipfad zur java.exe (z.B.: C:\Program Files (x86)\Java\jre1.8.0_121).

Port 8984 bei Firewall freischalten.

per cmd:
cd C:\solr-6.4.1\bin
solr start -p 8984

Im Browser: http://server:8984 aufrufen. Et voila:
2017-03-04 14_03_07-Solr Admin

 

Achtung bei Einsatz auf Produktivumgebungen: https://cwiki.apache.org/confluence/display/solr/Taking+Solr+to+Production

Chrome: pixel-ratio to my screen

When trying to develop a screenshot-feature for Selenium Webdriver while using os-functionality to screenshot (.NET: Graphics -> CopyFromScreen()) I recognized that chrome’s pixel aren’t the same then my monitor’s pixel (resolution: 1920 * 1080). Comparing Page Ruler’s (plugin for Chrome) pixel with Greenshot’s (Screenscraper tool for Windows) pixel, I found that there’s a ratio of 1.25. So if you have a chrome distance of 100 pixel, you got a os-distance of 125 pixel. It’s the same ratio for height and width.
The header of the Selenium driven browsers have the following heights at the moment:
Chrome: 82 px
Internet Explorer: 54 px
Firefox: 70 px