baruwaproject / baruwa2

Baruwa 2.0
http://www.baruwa.org
GNU General Public License v3.0
21 stars 9 forks source link

Return sub-string results in search #145

Closed isgsoftware closed 4 years ago

isgsoftware commented 5 years ago

When searching lists such as domains or organizations, only full word matches are returned. It would be great if substring matches could also be returned. Since the lists are not sorted by name, finding entries when there are many is difficult.

akissa commented 5 years ago

Have you tried enabling wildcard matches in baruwa-setup then searching using wildcards such as *mail*

isgsoftware commented 5 years ago

I will double check. I thought I had that feature on and maybe it's not because I did try using * and also tried escaping it as well and returned 0 results.

From: "Andrew Colin Kissa" notifications@github.com To: "baruwaproject/baruwa2" baruwa2@noreply.github.com Cc: "Gary Cuozzo" gary@isgsoftware.net, "Author" author@noreply.github.com Sent: Thursday, September 13, 2018 11:45:50 AM Subject: Re: [baruwaproject/baruwa2] Return sub-string results in search (#145)

Have you tried enabling wildcard matches in baruwa-setup then searching using wildcards such as mail

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub , or mute the thread . {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/baruwaproject/baruwa2","title":"baruwaproject/baruwa2","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/baruwaproject/baruwa2"}},"updates":{"snippets":[{"icon":"PERSON","message":"@akissa in #145: Have you tried enabling wildcard matches in baruwa-setup then searching using wildcards such as *mail*"}],"action":{"name":"View Issue","url":"https://github.com/baruwaproject/baruwa2/issues/145#issuecomment-421054365"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/baruwaproject/baruwa2/issues/145#issuecomment-421054365", "url": "https://github.com/baruwaproject/baruwa2/issues/145#issuecomment-421054365", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "Re: [baruwaproject/baruwa2] Return sub-string results in search (#145)", "sections": [ { "text": "", "activityTitle": "Andrew Colin Kissa", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@akissa", "facts": [ ] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"baruwaproject/baruwa2\",\n\"issueId\": 145,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"baruwaproject/baruwa2\",\n\"issueId\": 145\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/baruwaproject/baruwa2/issues/145#issuecomment-421054365" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 379436484\n}" } ], "themeColor": "26292E" } ]

akissa commented 5 years ago

*mail* should match gmail.com, hotmail.com etc No need to escape anything.

akissa commented 4 years ago

What is the status on this @isgsoftware

isgsoftware commented 4 years ago

Hello, I think this is resolved. You can close it out. Thanks for following up & sorry I didn't provide an update. gary

From: "Andrew Colin Kissa" notifications@github.com To: "baruwaproject/baruwa2" baruwa2@noreply.github.com Cc: "Gary S. Cuozzo" gary@isgsoftware.net, "Mention" mention@noreply.github.com Sent: Tuesday, October 15, 2019 10:27:23 AM Subject: Re: [baruwaproject/baruwa2] Return sub-string results in search (#145)

What is the status on this [ https://github.com/isgsoftware | @isgsoftware ]

— You are receiving this because you were mentioned. Reply to this email directly, [ https://github.com/baruwaproject/baruwa2/issues/145?email_source=notifications&email_token=ABVQF4ZN3KT3K6NVZKA6ET3QOXHMXA5CNFSM4FU5XXCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBI65BI#issuecomment-542240389 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/ABVQF42DM2SJBDVQYNUXICDQOXHMXANCNFSM4FU5XXCA | unsubscribe ] . [ { "@context": " [ http://schema.org/ | http://schema.org ] ", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": " [ https://github.com/baruwaproject/baruwa2/issues/145?email_source=notifications/u0026email_token=ABVQF4ZN3KT3K6NVZKA6ET3QOXHMXA5CNFSM4FU5XXCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBI65BI#issuecomment-542240389 | https://github.com/baruwaproject/baruwa2/issues/145?email_source=notifications\u0026email_token=ABVQF4ZN3KT3K6NVZKA6ET3QOXHMXA5CNFSM4FU5XXCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBI65BI#issuecomment-542240389 ] ", "url": " [ https://github.com/baruwaproject/baruwa2/issues/145?email_source=notifications/u0026email_token=ABVQF4ZN3KT3K6NVZKA6ET3QOXHMXA5CNFSM4FU5XXCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBI65BI#issuecomment-542240389 | https://github.com/baruwaproject/baruwa2/issues/145?email_source=notifications\u0026email_token=ABVQF4ZN3KT3K6NVZKA6ET3QOXHMXA5CNFSM4FU5XXCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBI65BI#issuecomment-542240389 ] ", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": " [ https://github.com/ | https://github.com ] " } } ]

akissa commented 4 years ago

Thanks