ActiveFedora 12.1.0 brings a new solr schema which switches from the deprecated solr.TrieDateField (to be removed in solr 8) to solr.DatePointField. While the TrieDateField allowed queries like date_dtsi:, DatePointField only allows single value and range queries so this example query needs to change to date_dtsi:[ TO ]. Luckily the latter also works in TrieDateField. This PR updates both the embargo and lease search builders to use the [ TO *] query to work with both types of solr fields.
Coverage remained the same at 62.46% when pulling 5e183bd64d6be187f53a32b7e2ce33632bf10c8a on leases_and_embargos into b76fc884d0a7959223c2ee1b8bdbee0f193ff95b on master.
ActiveFedora 12.1.0 brings a new solr schema which switches from the deprecated solr.TrieDateField (to be removed in solr 8) to solr.DatePointField. While the TrieDateField allowed queries like date_dtsi:, DatePointField only allows single value and range queries so this example query needs to change to date_dtsi:[ TO ]. Luckily the latter also works in TrieDateField. This PR updates both the embargo and lease search builders to use the [ TO *] query to work with both types of solr fields.
@samvera/hydra-head