src/Models/Post.php
/**
     * Get the options for searching engine.
     */
Get the options for searching engine.
Get the options for searching engine .
public function searchableOptions()
    {
        return [
            'column' => 'ts',
            'maintain_index' => true,
            'rank' => [
                'fields' => [
                    'title' => 'A',
                    'annotation' => 'B',
                    'content' => 'C',
                ],
            ],
        ];
    }
public function searchableOptions ( ) { return [ 'column' => 'ts' , 'maintain_index' => true , 'rank' => [ 'fields' => [ 'title' => 'A' , 'annotation' => 'B' , 'content' => 'C' , ] , ] , ] ; }
Get the options for searching engine.
Get the options for searching engine .