- Timestamp:
- 2022-05-16T14:46:09+12:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/cdm/SearchIndexManager.java
r36174 r36191 126 126 // Try to retrieve existing metadatum 127 127 String source_str = new_index.getID(); 128 CollectionMeta metadatum = CollectionDesignManager.collectionmeta_manager.getMetadatum(StaticStrings.STOP_CHARACTER + source_str, false);128 SearchMeta metadatum = CollectionDesignManager.searchmeta_manager.getMetadatum(/*StaticStrings.STOP_CHARACTER +*/ source_str, new_index.getType(), false); 129 129 // If no metadata was found, add new pseudo metadata using the id 130 130 if(metadatum == null) { 131 metadatum = new CollectionMeta(StaticStrings.STOP_CHARACTER + source_str);131 metadatum = new SearchMeta(/*StaticStrings.STOP_CHARACTER +*/ source_str, new_index.getType()); 132 132 metadatum.setAssigned(true); 133 133 metadatum.setValue(source_str); … … 199 199 // Try to retrieve existing metadatum 200 200 source_str = new_index.getID(); 201 CollectionMeta metadatum = CollectionDesignManager.collectionmeta_manager.getMetadatum(StaticStrings.STOP_CHARACTER + source_str, false);201 SearchMeta metadatum = CollectionDesignManager.searchmeta_manager.getMetadatum(/*StaticStrings.STOP_CHARACTER +*/ source_str, new_index.getType(), false); 202 202 // If no metadata was found, add new pseudo metadata using the id 203 203 if(metadatum == null) { 204 metadatum = new CollectionMeta(StaticStrings.STOP_CHARACTER + source_str);204 metadatum = new SearchMeta(/*StaticStrings.STOP_CHARACTER +*/ source_str, new_index.getType()); 205 205 metadatum.setAssigned(true); 206 206 metadatum.setValue(source_str);
Note:
See TracChangeset
for help on using the changeset viewer.