Revision 376d0ebf src/gr/ebs/gss/server/ejb/ExternalAPI.java

b/src/gr/ebs/gss/server/ejb/ExternalAPI.java
51 51

  
52 52
import org.apache.commons.configuration.Configuration;
53 53
import org.apache.solr.client.solrj.SolrServerException;
54
import org.apache.solr.client.solrj.impl.CommonsHttpSolrServer;
54 55

  
55 56
/**
56 57
 * The External API for GSS clients.
......
1101 1102
	/**
1102 1103
	 * It is used by the Solr mbean to rebuild the index.
1103 1104
	 */
1104
	public void rebuildSolrIndex();
1105
	public String rebuildSolrIndex();
1105 1106

  
1106 1107
	/**
1107 1108
	 * It is used by the Solr mbean to refresh the index. It does not delete anything just re-add everything in the index
1108 1109
	 */
1109
	public void refreshSolrIndex();
1110
	public String refreshSolrIndex();
1110 1111
	
1111 1112
	/**
1112 1113
	 * Creates a new file with the specified owner, parent folder and name. The
......
1273 1274

  
1274 1275
	/**
1275 1276
	 * Posts the file specified by id to solr indexing server
1276
	 * 
1277
	 *
1278
     * @param solr
1277 1279
	 * @param id
1278 1280
	 */
1279
	public void postFileToSolr(Long id);
1281
	public void postFileToSolr(CommonsHttpSolrServer solr, Long id);
1280 1282
}

Also available in: Unified diff