Improve indexing
This commit is contained in:
parent
bb637c5433
commit
6afc2a7296
|
@ -331,7 +331,6 @@ public abstract class BaseJpaTest {
|
||||||
theSystemDao.expunge(new ExpungeOptions().setExpungeEverything(true));
|
theSystemDao.expunge(new ExpungeOptions().setExpungeEverything(true));
|
||||||
theDaoConfig.setExpungeEnabled(expungeEnabled);
|
theDaoConfig.setExpungeEnabled(expungeEnabled);
|
||||||
|
|
||||||
theSearchParamPresenceSvc.flushCachesForUnitTest();
|
|
||||||
theSearchParamRegistry.forceRefresh();
|
theSearchParamRegistry.forceRefresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -66,8 +66,6 @@ public abstract class BaseJpaR4Test extends BaseJpaTest {
|
||||||
@Autowired
|
@Autowired
|
||||||
protected IResourceLinkDao myResourceLinkDao;
|
protected IResourceLinkDao myResourceLinkDao;
|
||||||
@Autowired
|
@Autowired
|
||||||
protected ISearchParamDao mySearchParamDao;
|
|
||||||
@Autowired
|
|
||||||
protected ISearchParamPresentDao mySearchParamPresentDao;
|
protected ISearchParamPresentDao mySearchParamPresentDao;
|
||||||
@Autowired
|
@Autowired
|
||||||
protected IResourceIndexedSearchParamStringDao myResourceIndexedSearchParamStringDao;
|
protected IResourceIndexedSearchParamStringDao myResourceIndexedSearchParamStringDao;
|
||||||
|
|
|
@ -46,7 +46,6 @@ public class FhirResourceDaoR4SearchMissingTest extends BaseJpaR4Test {
|
||||||
org.setActive(true);
|
org.setActive(true);
|
||||||
myOrganizationDao.create(org, mySrd).getId().toUnqualifiedVersionless();
|
myOrganizationDao.create(org, mySrd).getId().toUnqualifiedVersionless();
|
||||||
|
|
||||||
assertThat(mySearchParamDao.findAll(), empty());
|
|
||||||
assertThat(mySearchParamPresentDao.findAll(), empty());
|
assertThat(mySearchParamPresentDao.findAll(), empty());
|
||||||
assertThat(myResourceIndexedSearchParamStringDao.findAll(), empty());
|
assertThat(myResourceIndexedSearchParamStringDao.findAll(), empty());
|
||||||
assertThat(myResourceIndexedSearchParamDateDao.findAll(), empty());
|
assertThat(myResourceIndexedSearchParamDateDao.findAll(), empty());
|
||||||
|
|
Loading…
Reference in New Issue