Vilius Šumskas

Results 145 comments of Vilius Šumskas

I'm in a need of the same functionality. My custom tokenizer uses regex /[^\p{L}\p{N}_]+/u (the same as original but underscores included). Should I adjust highlight() and extractRelevant() to match this...

I'm still searching for the answer original poster asked. 1) Is there a specific reason that the highlighter only splits on letters and ignores numbers? 2) If I have custom...

@nticaric do you find my proposal interesting? I would rather code something now until I forget code parts needed for that.

PR sent https://github.com/teamtnt/tntsearch/pull/230

By default TNTSearch operates on full words. It does return only first word when using partial search, i.e. "spk1000" and "spk7457" are threated as completely different words so only first...

Thank you for the message. I never knew that such thing as RPN existed. It's a little bit clearer to me what Expression class does and why. Regarding spaces, maybe...

Looking at the code even further I think another issue is that NOT operator is not combined with any other result here https://github.com/teamtnt/tntsearch/blob/028c0ad855afc91c1470d7c9707377eb5dea6206/src/TNTSearch.php#L202 It just returns results without combining them...