mirror of
https://github.com/YGGverse/Yo.git
synced 2026-03-31 17:55:35 +00:00
add index settings support
This commit is contained in:
parent
4aadb7f642
commit
192e45103d
8 changed files with 41 additions and 16 deletions
|
|
@ -32,7 +32,7 @@ $client = new \Manticoresearch\Client(
|
|||
|
||||
// Init index
|
||||
$index = $client->index(
|
||||
$config->manticore->index->document
|
||||
$config->manticore->index->document->name
|
||||
);
|
||||
|
||||
// Get totals
|
||||
|
|
@ -120,7 +120,7 @@ if (filter_var($q, FILTER_VALIDATE_URL))
|
|||
$query = '@url "' . $q . '"';
|
||||
}
|
||||
|
||||
if (false === strpos($q, '"'))
|
||||
elseif (false === strpos($q, '"'))
|
||||
{
|
||||
$query = '"' . $q . '"';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue