Should the property be used by default if no index key is specified
defaults to false if no information present

@return boolean
196154
public function isDefaultSearchable()
    {
        $res = $this->getOneCached(static::PROPERTY_DEFAULT_SEARCH);
        return !is_null($res) && is_object($res) && $res->getUri() == GenerisRdf::GENERIS_TRUE;
    }
720807
public function doDefaultAttributes()
    {
        foreach ((array)$this->attribute as $name => $value) {
            if (array_key_exists($name, $this->data)) {
                $this->data[$name] = $value;
            }
        }
        return ($this->data) ? $this->data : false;
    }
1220276
public function isLocalPrimaryKey()
    {
        $localCols = $this->getLocalColumns();

        $localPKColumnObjs = $this->getTable()->getPrimaryKey();

        $localPKCols = array();
        foreach ($localPKColumnObjs as $lPKCol) {
            $localPKCols[] = $lPKCol->getName();
        }

        return ((count($localPKCols) === count($localCols)) && !array_diff($localPKCols, $localCols));
    }
908066
public function issetProperty( $key )
    {
        if( $key === static::$lateLoadProperty and isset( $this->lateLoadKey ) ) {
            return true;
        }
        $this->load();
        return isset( $this->data[$key] );
    }
557828
protected function applyDefaultColumns($index)
    {
        $column = $this->loadColumnSchema([
            'Field' => 'id',
            'Type' => 'bigint',
        ]);
        $index->columns[$column->name] = $column;
        $index->primaryKey = 'id';
    }
1002693
public function has($index = null)
	{
		try
		{
			if ($this->toArray())
			{
				if ($index === null)
				{
					return true;
				}

				return $this->hasProperty($index);
			}
		}
		catch (\Exception $exc)
		{

		}

		return false;
	}
38154
public function index()
    {
        if ($this->isEmpty()) {
            return false;
        }

        $params = array();

        foreach ($this->all() as $item) {
            $params['body'][] = array(
                'index' => array(
                    '_index' => $item->getIndex(),
                    '_type' => $item->getTypeName(),
                    '_id' => $item->getKey()
                )
            );

            $params['body'][] = $item->documentFields();
        }

        return $this->getElasticClient()->bulk($params);
    }
482100
protected function explicitlyConfiguredForeignKeysNullable()
    {
        $nullable = array_get($this->formFieldData->options(), 'nullable_key');

        if (null === $nullable) return null;

        return (bool) $nullable;
    }
564266
public function index($index = null)
	{
		if (null === $index) {
			$index = Config::get('search.default_index', 'default');
		}
		
		if (!isset($this->indexes[$index])) {
			$this->indexes[$index] = Index::factory($index, $this->driver);
		}
		
		return $this->indexes[$index];
	}
695589
public function getDefault() {
    	if ($this->isPublic() && !$this->isStatic() && $this->refClass->isAbstract() == false) {	    		 
	  		$className = $this->refClass->getName();
	  		// TODO: find a way to get default value for abstract properties.
	  		// TODO: optimize this: we should not have to create one new instance for every property....
	  		/*$instance = new $className();
			$property = $this->getName();
	    	return $instance->$property;*/
	  		
	  		// In some cases, the call to getDefaultProperties can log NOTICES
	  		// in particular if an undefined constant is used as default value.
	  		ob_start();
	  		$defaultProperties = $this->refClass->getDefaultProperties();
	  		$possibleError = ob_get_clean();
			if ($possibleError) {
				throw new \Exception($possibleError);	
			}
	  		return $defaultProperties[$this->getName()];
    	} else {
    		return null;
    	}
    }
199365
public function offsetExists($index)
    {
        foreach ($this->keys() as $key) {
            if ($key === $index) {
                return true;
            }
        }

        return false;
    }
1357557
public function hasProperty()
    {
        if (!array_key_exists($this->data[1], (array)$this->data[0])) {
            throw new DidNotMatchException();
        }

        return $this->data[0]->{$this->data[1]};
    }
602663
protected function hasKey($key)
    {
        return ($this->mode == self::MODE_INDEXED && $key == '') || \array_key_exists($key, $this->params);
    }
819088
protected function setPrimaryKey()
    {
        // making default primary key as id
        $primaryKey = isset($this->primaryKey) && is_null($this->primaryKey) ?
            static::$defaultPrimaryKey :
            $this->primaryKey;

        $this->primaryKey = $primaryKey;
    }
644201
public function initDefaultProperties()
    {
        if (!empty($this->schema->properties)) {
            foreach ($this->schema->properties as $property_name => $property) {
                if ($this->setPropertyDefaultValue($property)) {
                    $this->property_values->$property_name = $this->getFactory()->create($property, $this->schema_path);
                }
            }
        }
    }
1115624
public function initDefaultProperties()
    {
        if (isset($this->schema) && $this->setPropertyDefaultValue($this->schema)) {
            $this->property_value = $this->schema->default;
        }
    }
86242
public function delKey() : bool
        {
                echo $this->_key.PHP_EOL;
                return $this->_redis->del($this->_key) > 0 ? true : false;
        }