make search endpoint use elasticsearch
change name of GET parameter