Change to SwedishAnalyzer, remove commented code, add indexing suggestions, refactor d.getField(field.getName()) -> field