Stop.ROUTEID, routeId ) ).sort( new Sort( new SortField(
Stop.STOPNUM, SortField.INT ) ) ) );
if ( hits.hasNext() )
{
routeList = new Routes();
for ( Node hit : hits )
routeList.add( new RouteStop( hit ) );
return Response.ok().entity( routeList ).build();
}
else