Add QueryPaths() to the index and wire up to endpoint