Mohammad A. Ali

Results 10 comments of Mohammad A. Ali

+1 to adding the progress handler, maybe we need to make sure this doesn't explode if sqlite is omitting the progress handler in the compilation process

#### Expand the statement to insert multiple rows at once `` INSERT INTO items (id, name) VALUES (?, ?), (?, ?), .. , (?, ?); `` This ensures you are...

Apparently, a fiber was resumed in the wrong place, is this code using the Neverblock socket features?

Apologies for not closing this till now, I didn't realize I need to!

Regarding similarity search, instead of similarity matching, and since Litesearch sorts by rank by default, did you think of trying out extracting the most significant words from the current video...

I can try to hide much of the complexity and offer a model#similar method on AR objects, could be a nice abstraction.

Litesearch now has a similar method on the index, and on any AR or Sequel model object you can do something like video.similar(limit) to get a list of similar videos...

Thanks for trying it out, turns out this is due to the tokenizer being a trigram one, I am looking into how to avoid tokens that would cause syntax errors,...

I have just pushed a change that would fix the issue, but I am not sure of the quality of the similarity search using the terms stored in the trigram...