controller/frontend/src/Controller/Frontend/Product/Standard.php
public function text( $text )
	{
		if( !empty( $text ) )
		{
			$langid = $this->getContext()->getLocale()->getLanguageId();
			$func = $this->filter->createFunction( 'index.text:relevance', [$langid, $text] );

			$this->conditions[] = $this->filter->compare( '>', $func, 0 );
		}

		return $this;
	}
public function text( $text )
	{
		if( !empty( $text ) )
		{
			$langid = $this->getContext()->getLocale()->getLanguageId();
			$func = $this->filter->createFunction( 'index.text:relevance', [$langid, $text] );

			$this->conditions[] = $this->filter->compare( '>', $func, 0 );
		}

		return $this;
	}
public function text ( $ text ) { if ( ! empty ( $ text ) ) { $ langid = $ this -> getContext ( ) -> getLocale ( ) -> getLanguageId ( ) ; $ func = $ this -> filter -> createFunction ( 'index.text:relevance' , [ $ langid , $ text ] ) ; $ this -> conditions [ ] = $ this -> filter -> compare ( '>' , $ func , 0 ) ; } return $ this ; }
Adds input string for full text search

@param string|null $text User input for full text search
@return \Aimeos\Controller\Frontend\Product\Iface Product controller for fluent interface
@since 2019.04
Adds input string for full text search