manticoresearch-php
                                
                                 manticoresearch-php copied to clipboard
                                
                                    manticoresearch-php copied to clipboard
                            
                            
                            
                        failed to set multiple wordforms
not quite sure how to set multiple wordform files for index
$params = [  
    'body' => [  
        'settings' => [  
             'wordforms' => '/usr/local/sphinx/data/wordforms.txt'  
        ],  
        'columns' => [  
            'title'=>['type'=>'text'],  
            'price'=>['type'=>'float']  
        ]  
    ],  
    'index' => 'products'  
];  
$index = new \Manticoresearch\Index($client);  
$index->create($params);  
however index with such config works well
index products {  
  wordforms = /usr/local/sphinx/data/wordforms.txt  
  wordforms = /usr/local/sphinx/data/alternateforms.txt  
    
  type = rt  
  path = idx  
  rt_field = title  
  rt_attr_uint = price  
}  
Need to see first how this will be handled by Manticore.
Maybe this one?
https://github.com/manticoresoftware/manticoresearch-php/blob/master/docs/indexclass.md#create
If a setting can have multiple values, an array of values will be used, like:
 $index->setName('mynewindex');
 $index->create([],
    [
        'type' => 'distributed',
        'local' => [
            'local_index_1',
            'local_index_2',
        ]
    ]
 );