Fulltext-search with incomplete results

Moderator: crythias

Post Reply
th0emu
Znuny newbie
Posts: 8
Joined: 28 Jun 2016, 15:17
Znuny Version: 4.0.6
Real Name: Thomas Lanz

Fulltext-search with incomplete results

Post by th0emu »

Hello all,

I've had users complaining that their fulltext-search for an expression delivers incomplete results; i.e. not all tickets containing the expression were found. While investigating this problem I recognized that the tickets, which were not found contained the expression in the title only, while the other tickets had the expression in the body/subject/title...

As a work-around I advised the users to use full-text-search and additionally a search in the title only. Like this all tickets were found.


Did anyone notice such problems too?
What corrective actions do I have to do?
Possible changes?

We're on release 4.0.6


thanks for your help & regards / Thomas
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Fulltext-search with incomplete results

Post by reneeb »

That's due to the way the fulltext search is implemented...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
gawkla
Znuny newbie
Posts: 69
Joined: 15 Jan 2015, 16:48
Znuny Version: 6.0.6

Re: Fulltext-search with incomplete results

Post by gawkla »

Is there any chance to extend full text search to ticket title?
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Fulltext-search with incomplete results

Post by reneeb »

That would need development. Try to add 'Title' to the list in https://github.com/OTRS/otrs/blob/rel-5 ... ch.pm#L522

Code: Select all

for my $Key (qw(From To Cc Subject Body Title)) {
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
paul
Znuny newbie
Posts: 11
Joined: 15 May 2018, 08:50
Znuny Version: 6.0.7

Re: Fulltext-search with incomplete results

Post by paul »

reneeb wrote: 20 Oct 2017, 11:24 That would need development. Try to add 'Title' to the list in https://github.com/OTRS/otrs/blob/rel-5 ... ch.pm#L522

Code: Select all

for my $Key (qw(From To Cc Subject Body Title)) {
It doesnt works for me. Could you give me some other prompt?
This part of the search engine is very important to us
paul
Znuny newbie
Posts: 11
Joined: 15 May 2018, 08:50
Znuny Version: 6.0.7

Re: Fulltext-search with incomplete results

Post by paul »

Nobody ?
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Fulltext-search with incomplete results

Post by jojo »

did you delete the caches after changing?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
paul
Znuny newbie
Posts: 11
Joined: 15 May 2018, 08:50
Znuny Version: 6.0.7

Re: Fulltext-search with incomplete results

Post by paul »

Yes, additionaly, fulltext search works now not as good as with default configuration. So changed this back and now works ok. But I still cant to search via Ticket Title .
Post Reply