microsoft / microsoft/PowerBI-visuals-TextFilter
Enhanced Text Search functionality
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 29
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
The existing Text Search is really good and with the "" wildcard is does support ANDing of search terms.
e.g. a search term qualityfood would match strings "quality food" and "great quality and great food"
However it would be really powerful if additional search term operators could be added, such as the following examples
ORing - A logical OR of search terms so for example the terms pub OR bar OR club would match strings containing any of those terms removing the need to search for them separately
NOT - A logical NOT of a search term so for example pub NOT bar would find strings containing pub but not containing club
ANYORDER - Match ANDed terms that appear in any order in a string
e.g. ANYORDER [pub*bar] would match strings "I go to pubs and bars" and "I go to bars and pubs"
Many users are used to using advanced search operators and these types of additional operators would really add power to searching and analysing text data from sources such as social data, CX and user feedback.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing Text Search implementation and its matching tests or entry points. Define the syntax and precedence for OR, NOT, and ANYORDER, then verify the specified examples and edge cases with tests. Done means the operators work alongside the existing wildcard and AND behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100