In icat-lucene 1.1.1, a bug was fixed concerning searching for Datafiles by date. Only one date field is needed, rather than the two that are provided in the tests in TestLucene.
The two tests that fail when using the most up to date version of icat.lucene (1.1.2) are:
In icat-lucene 1.1.1, a bug was fixed concerning searching for Datafiles by date. Only one date field is needed, rather than the two that are provided in the tests in
TestLucene
.The two tests that fail when using the most up to date version of icat.lucene (1.1.2) are:
I think this happens because two dates are encoded in the
populate
method here, when only one is needed: https://github.com/icatproject/icat.server/blob/254e62ad5bbedaac15b96b4c19824d9cd5e0e3e3/src/test/java/org/icatproject/core/manager/TestLucene.java#L566-L567