removed pdb set_trace left over in search on server side
Made a mistake in the hit data format returned. It should return a list of {'id':'doc id'}, ... for entries in the hit field for the results.