ISearchRequestSimpleQuery

interface OCP\FullTextSearch\Model\ISearchRequestSimpleQuery
Interface ISearchRequestSimpleQuery
Add a Query during a Search Request...
- on a specific field,
- using a specific value,
- with a specific comparison
Implemented by:OC\FullTextSearch\Model\SearchRequestSimpleQuery
Source:lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#41

Methods

public OCP\FullTextSearch\Model\ISearchRequestSimpleQuery::getType()
Get the compare type of the query
Source:lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#61
Returns:int
Since:17.0.0
public OCP\FullTextSearch\Model\ISearchRequestSimpleQuery::getField()
Get the field to apply query
Source:lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#70
Returns:string
Since:17.0.0
public OCP\FullTextSearch\Model\ISearchRequestSimpleQuery::setField($field)
Set the field to apply query
Source:

lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#80

Parameters:
  • $field (string)
Returns:

\OCP\FullTextSearch\Model\ISearchRequestSimpleQuery

Since:

17.0.0

public OCP\FullTextSearch\Model\ISearchRequestSimpleQuery::getValues()
Get the all values to compare
Source:lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#89
Returns:array
Since:17.0.0
public OCP\FullTextSearch\Model\ISearchRequestSimpleQuery::addValue($value)
Add value to compare (string)
Source:

lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#99

Parameters:
  • $value (string)
Returns:

\OCP\FullTextSearch\Model\ISearchRequestSimpleQuery

Since:

17.0.0

public OCP\FullTextSearch\Model\ISearchRequestSimpleQuery::addValueInt($value)
Add value to compare (int)
Source:

lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#109

Parameters:
  • $value (int)
Returns:

\OCP\FullTextSearch\Model\ISearchRequestSimpleQuery

Since:

17.0.0

public OCP\FullTextSearch\Model\ISearchRequestSimpleQuery::addValueArray($value)
Add value to compare (array)
Source:

lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#119

Parameters:
  • $value (array)
Returns:

\OCP\FullTextSearch\Model\ISearchRequestSimpleQuery

Since:

17.0.0

public OCP\FullTextSearch\Model\ISearchRequestSimpleQuery::addValueBool($value)
Add value to compare (bool)
Source:

lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#129

Parameters:
  • $value (bool)
Returns:

\OCP\FullTextSearch\Model\ISearchRequestSimpleQuery

Since:

17.0.0