Search Engine Improvements

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lucakuehne
    Senior Member
    • Feb 2016
    • 195

    Search Engine Improvements

    Hi!

    Today if I search for something it is to exactly.. If I search for "petr" it won't show me entries with "peter".. I would really recommend a change in this area..
    Also I'm not able to search for multiple things with "and /or".. For example if I want to search all Peter's and all John's this isn't possible.

    Beside the search: When we sell something we have a one time fee and a monthly fee.. How about implement that?

    Luca
  • yuri
    Member
    • Mar 2014
    • 8453

    #2
    Hi

    For this purpose we need to integrate it with some 3rd party search engine like Elastic Search.
    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

    • lucakuehne
      Senior Member
      • Feb 2016
      • 195

      #3
      That would be very nice.

      And what about the other thing: products with a one time fee and a monthly fee
      I would implement this in the advanced package..

      Comment

      • lucakuehne
        Senior Member
        • Feb 2016
        • 195

        #4
        I have a fairly easy solution for this..
        If I'm searching for "%SEARCHTERM%" instead for "SEARCHTERM" I'm getting also result for data that is LIKE "SEARCHTERM" and not exactly equals "SEARCHTERM"..
        You could implement it like this veeeeerryy easy

        Comment

        • lucakuehne
          Senior Member
          • Feb 2016
          • 195

          #5
          Isn't this a posibility to add? I think this would take one developer round about 1h to implement.. Maybe less..

          Comment

          • lucakuehne
            Senior Member
            • Feb 2016
            • 195

            #6
            No response from anybody of the team?

            Comment

            • alasdaircr
              Active Community Member
              • Aug 2014
              • 525

              #7
              Couple of things.

              '%petr%' will never return results containing peter. That's just how SQL works.

              Espo already allows you to do this using the varchar 'Contains' filter modifier in list/report view.

              To enable '%<term>%' support in all the search boxes add

              'textFilterUseContainsForVarchar' => true

              to your data/config.php file.

              Comment

              • lucakuehne
                Senior Member
                • Feb 2016
                • 195

                #8
                Originally posted by alasdaircr
                '%petr%' will never return results containing peter. That's just how SQL works.
                But it's better thank nothing.

                Originally posted by alasdaircr
                Espo already allows you to do this using the varchar 'Contains' filter modifier in list/report view.
                To enable '%<term>%' support in all the search boxes add
                'textFilterUseContainsForVarchar' => true
                to your data/config.php file.
                Thank you, That helped me a little bit with this problem..

                Comment

                • bandtank
                  Active Community Member
                  • Mar 2017
                  • 379

                  #9
                  I added 'textFilterUseContainsForVarchar' to config.php, but it didn't have any effect on the global search. Also, the name of that option implies that other types won't be partially searched. Is there a flag to turn on partial search matches for every field type? That's really what needs to happen for most people I'm guessing.

                  Comment

                  • just_me
                    Junior Member
                    • Jul 2019
                    • 25

                    #10
                    Originally posted by yuri
                    Hi

                    For this purpose we need to integrate it with some 3rd party search engine like Elastic Search.
                    This would be brilliant. The more people you have on one installation, the more dupes you might have, because they don't find the correct data set. So yes, ES would be brilliant.

                    Comment

                    • yuri
                      Member
                      • Mar 2014
                      • 8453

                      #11
                      It's already possible to use operators. https://docs.espocrm.com/user-guide/...ll-text-search
                      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...