wrote mappers/reducers for connecting query expansion