public function visit(Criterion $criterion, CriterionVisitor $subVisitor = null)
    {
        $values = array();
        foreach ($criterion->value as $value) {
            $values[] = 'priority_i:"' . $value . '"';
        }

        return '(' . implode(' OR ', $values) . ')';
    }
public function visit(Criterion $criterion, CriterionVisitor $subVisitor = null)
    {
        $values = array();
        foreach ($criterion->value as $value) {
            $values[] = 'priority_i:"' . $value . '"';
        }

        return '(' . implode(' OR ', $values) . ')';
    }
public function visit ( Criterion $ criterion , CriterionVisitor $ subVisitor = null ) { $ values = array ( ) ; foreach ( $ criterion -> value as $ value ) { $ values [ ] = 'priority_i:"' . $ value . '"' ; } return '(' . implode ( ' OR ' , $ values ) . ')' ; }
Map field value to a proper Solr representation.

@param \eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion
@param \EzSystems\EzPlatformSolrSearchEngine\Query\CriterionVisitor $subVisitor

@return string
Map field value to a proper Solr representation .