- Timestamp:
- 2012-05-22T13:01:04+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/IViaSearch.java
r24394 r25635 15 15 import java.io.File; 16 16 import java.io.BufferedReader; 17 import java.io.Serializable; 17 18 import java.net.Authenticator; 18 19 … … 37 38 38 39 protected String ivia_server_url = null; 39 protected ArrayList index_ids = null;40 protected ArrayList<String> index_ids = null; 40 41 public IViaSearch() 41 42 { … … 62 63 does_multi_index_search = true; 63 64 this.default_index = ",kw,au,su,ti,de,fu,"; // all of them 64 index_ids = new ArrayList ();65 index_ids = new ArrayList<String>(); 65 66 index_ids.add("kw"); 66 67 index_ids.add("au"); … … 88 89 89 90 // Process the request parameters 90 HashMap params = GSXML.extractParams(param_list, false);91 HashMap<String, Serializable> params = GSXML.extractParams(param_list, false); 91 92 92 93 // Make sure a query has been specified … … 195 196 An IVia server has a fixed list of fields to search (I think) so we can hard code them here rather than reading them in from a config file 196 197 */ 197 protected void getIndexData(ArrayList index_ids, ArrayListindex_names,String lang){198 protected void getIndexData(ArrayList<String> index_ids, ArrayList<String> index_names,String lang){ 198 199 index_ids.addAll(this.index_ids); 199 200 index_names.add(getTextString("param."+INDEX_PARAM+".kw", lang));
Note:
See TracChangeset
for help on using the changeset viewer.