#488 Adding offset option to search and query similarity funcitonalities