Knowledge base search no longer searches folders

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yuri
    Member
    • Mar 2014
    • 8440

    #16
    It's how full-text works. If you want it to find by a part of the word it won't work. You need to use wildcard.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • bandtank
      Active Community Member
      • Mar 2017
      • 379

      #17
      Originally posted by yurikuzn
      It's how full-text works. If you want it to find by a part of the word it won't work. You need to use wildcard.
      I think what we're saying is that isn't intuitive and most users are not going to understand that. You don't have to type espocrm in google to find espocrm.com. You type espo and it finds what you want. I realize implementing google's algorithm would be incredibly difficult, but searching on full words makes the search difficult to use especially for people who don't understand wildcards. I tried to explain to my users how to use a wildcard and most of them still can't figure it out. When I showed them how to search by field, then things improved, but the behavior is still difficult to understand and the search is less useful than it could be. I often can't find what I'm looking for even when I know it's there unless I search specifically by field, which takes more time and effort than it probably should.

      I added 'textFilterContainsMinLength' >= 3 and I still can't find the articles with the partial word 'timeshee' from the previous video. If that's how you expect it to work, then I will make the modification to Base.php and that should get me pretty close.

      Comment

      • bandtank
        Active Community Member
        • Mar 2017
        • 379

        #18
        Is this how you designed it to behave? See this video.
         

        Comment

        • bandtank
          Active Community Member
          • Mar 2017
          • 379

          #19
          I see now that a full text search in the KB article will return the right results. I was expecting that behavior without needing to do a full text search.

          Regular search: timesheet
          Results: as expected

          Regular search: timeshee*
          Results: not as expected

          FT search: ft: timeshee*
          Results: as expected

          I will think about this for a while to see if I can figure out how to explain it to my users.

          Comment

          • yuri
            Member
            • Mar 2014
            • 8440

            #20
            Regular search: timeshee*
            Results: not as expected

            This case I think I can fix. I will look into.
            If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

            Comment

            • yuri
              Member
              • Mar 2014
              • 8440

              #21
              Here's the fix: https://github.com/espocrm/espocrm/c...304f11b5fe452f
              If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

              Comment

              • bandtank
                Active Community Member
                • Mar 2017
                • 379

                #22
                I'll give that a try and let you know how it works. Thanks for the update.

                Comment

                • yuri
                  Member
                  • Mar 2014
                  • 8440

                  #23
                  You can override the whole file, there were a few additional fixes since that commit.
                  If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                  Comment

                  Working...