DigitalPebble/behemoth — pull request #39 by mumrah (2012-08-03 13:10:29+00:00)
Title: Fix field mappings for Solr and new unit test

Greeings, Julien

My name is David Arthur, I'm working with Grant on some projects that involve Behemoth. I ran into an issue yesterday around mapping Behemoth annotations to Solr.

There was a bug with the field mappings. It was using . as
the key in the map and therefor not matching any annotations during the loop
later on.

Also, changed `setField` to `addField` to allow for multi-valued Solr fields.

Added a unit test for the field mappings as well.

Let me know if you have any questions.

Cheers