Changeset 2487 for trunk/gsdl/src/phind/client/Phind.java
- Timestamp:
- 2001-06-01T14:51:29+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/phind/client/Phind.java
r2054 r2487 403 403 404 404 // Build the query 405 String query = phindcgi_address + " x=1&c=" + collection + "&d=" + classifier;405 String query = phindcgi_address + "pxml=1&c=" + collection + "&pc=" + classifier; 406 406 407 407 if (keyKnown) { 408 query = query + "& n=" + word;408 query = query + "&ppnum=" + word; 409 409 } else { 410 query = query + "&p =" + word;410 query = query + "&pptext=" + word; 411 411 } 412 412 … … 448 448 } 449 449 450 query = query + "& e=" + first_e + "&f=" + last_e451 + "& h=" + first_d + "&i=" + last_d452 + "& k=" + first_l + "&l=" + last_l;450 query = query + "&pfe=" + first_e + "&ple=" + last_e 451 + "&pfd=" + first_d + "&pld=" + last_d 452 + "&pfl=" + first_l + "&pll=" + last_l; 453 453 454 454 // Send the query to the phindcgi program … … 497 497 // there is not protocol and host 498 498 URL document = getDocumentBase(); 499 address = "http://" + document.getHost() + address;499 address = "http://" + document.getHost() + ":" + document.getPort() + address; 500 500 } else { 501 // this URL is relative to the dir wectory the document is in501 // this URL is relative to the directory the document is in 502 502 URL document = getDocumentBase(); 503 503 String directory = document.getFile(); 504 504 int end = directory.lastIndexOf('/'); 505 505 directory = directory.substring(0,end + 1); 506 address = "http://" + document.getHost() + directory + address;506 address = "http://" + document.getHost() + ":" + document.getPort() + directory + address; 507 507 508 508 }
Note:
See TracChangeset
for help on using the changeset viewer.