Adjusting filterCache and adding documentation

Signed-off-by: Benjamin Wiens <benjamin.wiens@gmail.com>
Adjusting QueryResultCache

Signed-off-by: Benjamin Wiens <benjamin.wiens@gmail.com>
Adjusting documentCache

Signed-off-by: Benjamin Wiens <benjamin.wiens@gmail.com>