Changeset 5901 for SRUAggregator/trunk/src/main/java/eu/clarin/sru/fcs/aggregator/app/Aggregator.java
- Timestamp:
- 12/11/14 15:58:31 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
SRUAggregator/trunk/src/main/java/eu/clarin/sru/fcs/aggregator/app/Aggregator.java
r5900 r5901 80 80 * @author edima 81 81 * 82 * TODO: version page: credits, open source, see vcr/version page 83 * 84 * TODO: change the order in the GUI: selected collections after the 85 * language/layer 86 * 87 * TODO: condensed list of corpora 88 * 89 * TODO: group the list of corpora by institution? 90 * 91 * TODO: fix ordering of corpora in corpora view 92 * 93 * TODO: corpora search should not indicate the ones that don't match 94 * 95 * TODO: try to refine by language using a language library, with UI element 96 * 97 * TODO: helpdesk: switch to english (parameter of the form) 98 * 99 * TODO: label: "phonetic transcriptions" (ask the BAS guys) 100 * 101 * TODO: number of results control: make the buttons larger 102 * 103 * TODO: Collections view: home link (make a single consistent text for it) 104 * 82 105 * TODO: push footer down 83 106 * … … 107 130 * 108 131 * TODO: show multiple hits on the same result in multiple rows, linked visually 132 * 133 * TODO: optimise page load 109 134 * 110 135 * TODO: improve help page text … … 190 215 log.info("Aggregator initialization started."); 191 216 sruScanClient = new ThrottledClient( 192 217 new ClarinFCSClientBuilder() 193 218 .setConnectTimeout(params.ENDPOINTS_SCAN_TIMEOUT_MS) 194 219 .setSocketTimeout(params.ENDPOINTS_SCAN_TIMEOUT_MS) 195 220 .addDefaultDataViewParsers() 196 221 .enableLegacySupport() 197 .buildThreadedClient()); 222 .buildThreadedClient(), 223 params.SCAN_MAX_CONCURRENT_REQUESTS_PER_ENDPOINT, 224 params.SEARCH_MAX_CONCURRENT_REQUESTS_PER_ENDPOINT 225 ); 198 226 sruSearchClient = new ThrottledClient( 199 227 new ClarinFCSClientBuilder() … … 202 230 .addDefaultDataViewParsers() 203 231 .enableLegacySupport() 204 .buildThreadedClient()); 232 .buildThreadedClient(), 233 params.SCAN_MAX_CONCURRENT_REQUESTS_PER_ENDPOINT, 234 params.SEARCH_MAX_CONCURRENT_REQUESTS_PER_ENDPOINT 235 ); 205 236 206 237 File corporaCacheFile = new File(params.AGGREGATOR_FILE_PATH);
Note: See TracChangeset
for help on using the changeset viewer.