Where can I enable index_exact_words on index create? #166
Replies: 2 comments 1 reply
-
Trying to add another settings
only following of them saved
|
Beta Was this translation helpful? Give feedback.
0 replies
-
# cat test_settings.php
<?php
require_once __DIR__ . '/vendor/autoload.php';
$config = ['host'=>'127.0.0.1','port'=>9308];
$client = new \Manticoresearch\Client($config);
$index = $client->index('t');
$index->drop(true);
$index->create(['a' => ['type' => 'int']], [
'morphology' => 'stem_en',
'bigram_index' => 'all',
'min_infix_len' => 2,
'index_exact_words' => 1,
'expand_keywords' => 1
]);
# php test_settings.php
# mysql -P9306 -h0 -e "show create table t\G"
*************************** 1. row ***************************
Table: t
Create Table: CREATE TABLE t (
id bigint,
a integer
) min_infix_len='2' index_exact_words='1' bigram_index='all' morphology='stem_en' expand_keywords='1' |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
d47081
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Can't find where can I define
index_exact_words
on the index initiation or library have no API like that?Trying to provide as the second argument and no success
File
/var/lib/manticore/index/index.conf
still emptyMaybe related to #103
Thanks
Beta Was this translation helpful? Give feedback.
All reactions