Changeset 21278

Show
Ignore:
Timestamp:
07.12.2009 13:09:41 (10 years ago)
Author:
kjdon
Message:

fixed a bug

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs3-extensions/pharos/trunk/src/java/imageis/ImageIS.java

    r21270 r21278  
    3838  } 
    3939 
    40     public String query(String collection, String id) throws Exception { 
     40  public String query(String collection, String id) throws Exception { 
    4141    ContentBasedSearchWSProxyStub.QueryByID req = new ContentBasedSearchWSProxyStub.QueryByID(); 
     42    System.err.println("ImageIS, querying "+collection+":"+id+".jpg"); 
    4243    String input = query_xml; 
    43     input.replace("**docid**", collection+":"+id+".jpg"); 
     44    input=input.replace("**docid**", collection+":"+id+".jpg"); 
    4445    req.setQuery(input); 
    4546    ContentBasedSearchWSProxyStub.QueryByIDResponse res = getCbsStub().queryByID(req);