private InterpreterResult processSearch(String[] urlItems,String data,int size){
  if (urlItems.length > 2) {
    return new InterpreterResult(InterpreterResult.Code.ERROR,"Bad URL (it should be /index1,index2,.../type1,type2,...)");
  }
  final SearchResponse response=searchData(urlItems,data,size);
  return buildResponseMessage(response);
}

private InterpreterResult processSearch ( String [ ] urlItems , String data , int size ) { if ( urlItems . length > 2 ) { return new InterpreterResult ( InterpreterResult . Code . ERROR , "Bad URL (it should be /index1,index2,.../type1,type2,...)" ) ; } final SearchResponse response = searchData ( urlItems , data , size ) ; return buildResponseMessage ( response ) ; }
processes a " search " request .
