introduce custom mapping function to bypass query terms