Search and stop words

Moderator: crythias

Post Reply
sergiy
Znuny newbie
Posts: 17
Joined: 28 Oct 2021, 18:39
Znuny Version: 6.5.3
Real Name: Sergiy
Location: Halifax, NS

Search and stop words

Post by sergiy »

I unexpectedly found myself struggling trying to understand how the search works in Znuny.

For example, I have a ticket where one of the articles contains the following text in the body of the email
I understand your explanation, but I have
If I search for "understand your explanation" in either Fulltext or Body, I get nothing.

If I search for "understand explanation", the ticket is found.

Is this because the word "your" is on the StopWords list?

If so, should not stop words be excluded from the search string by Znuny automatically?

If I understand correctly, the presence of any stop word on the search line effectively blocks all the search results.

Are agents expected to know what all the stop words are?

Znuny 6.5.3
sergiy
Znuny newbie
Posts: 17
Joined: 28 Oct 2021, 18:39
Znuny Version: 6.5.3
Real Name: Sergiy
Location: Halifax, NS

Re: Search and stop words

Post by sergiy »

Ah, I found Ticket::SearchIndex::WarnOnStopWordUsage to address the issue.
Post Reply