blipson89 / Synthesis

Synthesis is a universal object mapper for Sitecore
MIT License
75 stars 25 forks source link

Adding Solr Support to Synthesis and Content Search Tests #66

Closed blipson89 closed 6 years ago

blipson89 commented 6 years ago

From @JeffDarchuk on the Original PR:

essentially copied the Lucene functionality with a few distinct changes in how the documents are managed. This was done in a seperate Synthesis.Solr project to avoid a dependency on solr in the main area of Synthesis. Additionally I've modified the search unit tests so that Lucene and Solr share tests. I believe there are differences in how sitecore sets up the fields in Solr vs Lucene, so some of the unit tests are failing due to unexpected results. Also i changed how the search DateTimeField is acquired since the unit tests were throwing exceptions, this will need review.