Revision ef7d8f0a
Added by Cherian Mathew over 8 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/store/SearchManager.java | ||
---|---|---|
170 | 170 |
configurator.setClazz(DerivedUnit.class); |
171 | 171 |
} |
172 | 172 |
} |
173 |
final List<String> OCCURRENCE_INIT_STRATEGY = Arrays.asList(new String[] { |
|
174 |
"descriptions", |
|
175 |
"identifiers", |
|
176 |
"derivationEvents.originals" |
|
177 |
}); |
|
178 |
configurator.setPropertyPaths(OCCURRENCE_INIT_STRATEGY); |
|
173 | 179 |
if(configurator.getClazz().equals(SpecimenOrObservationBase.class)){ |
174 | 180 |
//get FieldUnits + DerivedUnits |
175 | 181 |
configurator.setClazz(DerivedUnit.class); |
Also available in: Unified diff
#5250 Add property paths to speed up search