On 15 Nov 2026, Apd wrote in
<11dd…@apd.eternal-september.org>:
> On 15/11/2026 20:28, Brock McNuggets wrote:
>> On 15 Nov 2026, Apd wrote:
>>> Extra parsing would have to be done outside an SQL query once
>>> the whole article body had been retrieved; similarly for line
>>> selection.
>>
>> That is how my app handles it. For example, I have a test search
>> now looking for the word "router" at 1 level deep (directly
>> quoted). You do not write the SQL yourself, but it will show it
>> to you:
>>
>> -----
>> -- Quote depth: posts the full-text MATCH finds are then kept,
>> outside SQL, only if "router" is on a line quoted exactly 1 level
>> deep.
>> -- One copy per post: after this query, outside SQL, rows with
>> the same messageId are cut to one, the open server's copy first.
>> SELECT id, messageId, serverId, groupName, articleNumber,
>> subject,
>> authorName, authorEmail, date, byteCount, lineCount,
>> referencesHeader, parentMessageId, isRead, isStarred,
>> isSaved, isKilled, score, NULL AS bodyText, NULL AS
>
> "NULL AS [name]" is not something I've seen before. It means that
> column will contain a null in which case I can't see how it gets
> the bodyText.
From what I understand the NULL impacts what the query returns, not
what it searches.
>> WHERE articles_fts MATCH 'bodyText : "router"*')
>
> It uses FTS which will make it fast.
>
>> the general user sees this:
>>
>> https://shottr.cc/s/PfIj/SCR-20261115-iq9
>>
>> If you see anything amiss there I would appreciate whatever
>> advice you have.
>
> If it works and results are coming in at under 1 sec as you say,
> then there's nothing to worry about.
I was able to make more complex searches that took up to 30 seconds,
but for the slow searches I have a turtle icon in the UI.
--
You can't find peace with someone at war with themselves.