Skip to content

Allow search-as-you-type functionality on boolean search#81

Open
nbolender wants to merge 2 commits into
teamtnt:masterfrom
nbolender:boolean-asyoutype
Open

Allow search-as-you-type functionality on boolean search#81
nbolender wants to merge 2 commits into
teamtnt:masterfrom
nbolender:boolean-asyoutype

Conversation

@nbolender

Copy link
Copy Markdown

I prefer to use boolean search for as-you-type searching because it gives more concise results, especially when words like 'the' are used. However, as it stands TNTSearch is not able to match partial words when using boolean search.

This PR is a quick patch to enable this functionality. It may need to be revised because I am not incredibly familiar with the code base, but it works for my project so far.

@rhukster

Copy link
Copy Markdown

I've run into this too. Would be great to see this merged.

@nticaric

Copy link
Copy Markdown
Contributor

Have you tested this, does it work correctly as expected?

@nbolender

Copy link
Copy Markdown
Author

@nticaric I have been using it in production for years. I just upgraded to the latest and synced my fork, and it still works as expected.

My only concern about merging it is that I’m not sure if everyone who uses Boolean search wants this functionality. But if you do, you can target this branch to try it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants