IIndexOptions¶
-
interface
OCP\FullTextSearch\Model\
IIndexOptions
¶ - Interface IIndexOptionsIndexOptions are created in FullTextSearch when an admin initiate an indexfrom the command line:./occ fulltextsearch:index “{\”option1\”: \”value\”, \”option2\”: true}”
Source: lib/public/FullTextSearch/Model/IIndexOptions.php#40
Methods¶
-
public
OCP\FullTextSearch\Model\IIndexOptions::
getOption
($option, $default="")¶ - Get the value (as a string) for an option.
Source: Parameters: - $option (string)
- $default (string)
Since: 15.0.0
Returns: string
-
public
OCP\FullTextSearch\Model\IIndexOptions::
getOptionArray
($option, $default=[])¶ - Get the value (as an array) for an option.
Source: Parameters: - $option (string)
- $default (array)
Since: 15.0.0
Returns: array
-
public
OCP\FullTextSearch\Model\IIndexOptions::
getOptionBool
($option, $default)¶ - Get the value (as an boolean) for an option.
Source: Parameters: - $option (string)
- $default (bool)
Since: 15.0.0
Returns: bool