Pass structure to query visitor & enable range generation for regular fields (equal expression)

This commit is contained in:
Mathieu Darse
2015-11-13 19:45:39 +01:00
parent ccc5315ad3
commit 3b2d6b05a0
6 changed files with 95 additions and 31 deletions

View File

@@ -20,6 +20,11 @@ class FieldKey implements Key, QueryPostProcessor
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function getIndexField(QueryContext $context, $raw = false)
{
return $this->getField($context)->getIndexField($raw);