Added index by model (instead of a path to directory).
Changed LuceneIndex to create or add (before it was create or overwrite)