gedi-geode-extensions-core/src/main/java/gedi/solutions/geode/lucene/GeodeLuceneSearch.java
@SuppressWarnings("unchecked")
	public <T> Collection<T> search(String indexName,String regionName,String queryString,String defaultField) 
	throws Exception
	{
		Region<?,?> region = GeodeClient.connect().getRegion(regionName);
		
		String[] args = {indexName,regionName,queryString,defaultField};
	
		return GemFireIO.exeWithResults(FunctionService.onRegion(region).setArguments(args).setArguments(args), new SimpleLuceneSearchFunction());
	}
@SuppressWarnings("unchecked")
	public <T> Collection<T> search(String indexName,String regionName,String queryString,String defaultField) 
	throws Exception
	{
		Region<?,?> region = GeodeClient.connect().getRegion(regionName);
		
		String[] args = {indexName,regionName,queryString,defaultField};
	
		return GemFireIO.exeWithResults(FunctionService.onRegion(region).setArguments(args).setArguments(args), new SimpleLuceneSearchFunction());
	}
@ SuppressWarnings ( "unchecked" ) public < T > Collection < T > search ( String indexName , String regionName , String queryString , String defaultField ) throws Exception { Region < ? , ? > region = GeodeClient . connect ( ) . getRegion ( regionName ) ; String [ ] args = { indexName , regionName , queryString , defaultField } ; return GemFireIO . exeWithResults ( FunctionService . onRegion ( region ) . setArguments ( args ) . setArguments ( args ) , new SimpleLuceneSearchFunction ( ) ) ; }
------------------------------------------------
------------------------------------------------