Revision 52857
Added by Argiro Kokogiannaki over 5 years ago
IndexResultHandler.java | ||
---|---|---|
17 | 17 |
private String fetchSoftwareResult(String id, boolean production) throws Exception { |
18 | 18 |
return searchUtils.fetchSoftwareXmlFromIndex(id, production); |
19 | 19 |
} |
20 |
private String fetchOtherResult(String id, boolean production) throws Exception { |
|
21 |
return searchUtils.fetchOtherXmlFromIndex(id, production); |
|
22 |
} |
|
20 | 23 |
|
21 | 24 |
private String fetchDatasetResult(String id, boolean production) throws Exception { |
22 | 25 |
return searchUtils.fetchDatasetXmlFromIndex(id, production); |
... | ... | |
82 | 85 |
} |
83 | 86 |
return OafParser.oaf2Result(oaf); |
84 | 87 |
} |
88 |
public Result fetchOtherById(String id, boolean production) throws Exception { |
|
89 |
|
|
90 |
String oaf = fetchOtherResult(id, production); |
|
91 |
if (oaf == null) { |
|
92 |
return null; |
|
93 |
} |
|
94 |
return OafParser.oaf2Result(oaf); |
|
95 |
} |
|
85 | 96 |
// public Result fetchDedupResultById(String id) throws Exception { |
86 | 97 |
// |
87 | 98 |
// String oaf = fetchDedupPublicationResult(id); |
Also available in: Unified diff
Enable claiming for ORPs
Set direct index url in properties
Migration:
save orphan Ids, claims
uncomment fetch dedup