getIndexValues datasource with position/section/* field

I can’t find a way to get position/section/* values.
Can you give me an example that would get those values for a content type?