User:Stefahn/Solr Docu

This file is a mix-up between English and German :)

Installation

 * http://www.icuriousmedia.com/blog/how-to-install-apache-solr-on-windows-xp-1439.php

Multicore

 * = mehrere Solr cores
 * Purpose: you can have a single Solr instance with separate configurations and indexes - while having the convenience of unified administration. More info: http://wiki.apache.org/solr/CoreAdmin
 * Cores werden in solr.xml definiert

Changing schema.xml and reindex
1. Stop your application server 2. Change your schema.xml file 3. Delete the index directory in your data directory 4. Start your application server (Solr will detect that there is no existing index and make a new one) 5. Re-Index your data
 * Note that usually when you change the schema.xml you have not only to restart solr, but also rebuild the index.
 * In general, you need to be very careful when you change the schema without reindexing.
 * The most efficient/complete way is to...
 * Alternative: http://wiki.apache.org/solr/CoreAdmin#RELOAD

Links

 * http://php-solr-lucene.blogspot.com/

schema.xml

 * zu finden unter core0/conf/
 * in schema.xml werden sowohl die Felder als auch die dazugehörigen Feldtypen definiert
 * auf Feldtypen werden bestimmte Analyzer angewendet
 * SolrStore anpassen so dass es auch Umlaute findet: Folgendes zu fieldType text_general (Zeile 221) hinzufügen:
 * Achtung: Kommentar in Kommentar führt zu Error