module Scrivito module Backend module ParentPathIndex class << self include Backend::Index def id "ppath" end def query(keys) [{:field => "_parent_path", :operator => :equals, :value => keys}] end end end end end