heavily redone sphinx search