Re: full-text search : How to improve ?

Ralf Schlatterbeck <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
On Mon, Dec 20, 2021 at 01:11:18PM -0500, John P. Rouillard wrote:
> >How can the full-text search be improved to distinguish for example between
> > tvmRel41Acg16A and 
> > tvmRel41Acg19A ?
> 
> Hmm, that's an interesting question. What do you mean by "improved".
> Although your "words" aren't really words, they are a run of \w (word)
> characters. Which according to my brief look at the code should be
> included as items in the index.
> 
> What happens when you do a full search for tvmRel41Acg16A? Does it
> show issues with the text in the messages?

On first glance this also looks short enough to be below any hard-coded
word length limits. There is a hardcoded limit in indexer_common.py:
self.maxlength = 25

But I'm not so sure if the word-delimiting code would not break up at
digit boundaries, John, what do you think? It's a long time I've looked
at the indexer code...

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   www.runtux.com
Reichergasse 131, A-3411 Weidling       email: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.