Replies: 1 comment
-
If you think it's a bug please provide a reproducible example, so we can look into it. There is one important thing to take into account - full-text tokenization. E.g. here you can see that
|
Beta Was this translation helpful? Give feedback.
-
Not first time, my attempt to use Manticore as MySQL replacement getting fail.
For example, I have crawler, that collects URL by some configured conditions using PHP
strpos
method.After some time, configuration of URL rules get updates and I want to cleanup the index, but can't select exact records by substring using Manticore search query.
Here is my implementation:
https://github.com/YGGverse/Yo/blob/main/src/cli/document/clean.php#L82
In this case, I can't directly delete records by
$condition
using justdeleteDocuments
method,because it mismatch
strpos
method in search results and drops another records, that for example contain just one char#
or special char like/
postfix.So I do this shitcode by selecting estimated results, then double check it with PHP
strpos
. I don't understand how to make it simpler, because with MySQL I can select exact results like by using PHP.Maybe
deleteDocuments
works with few test records well, but I have about 10M ones, and that not returns substring exactly wanted.Beta Was this translation helpful? Give feedback.
All reactions