Comments (3)
A standard chaining pattern is quite popular in Javascript world, because of Jquery.
fuse = new Fuse(arr);
result = fuse.search(Key).sort("Dec");
Or as a PHP developer, I could also prefer something like this.
fuse = new Fuse(arr);
fuse.extend(new SortedFuse());
or like in PDO based plugins ( I don't think it would suit JS apps. but it is easier to implement ).
fuse = new Fuse(arr);
sortfuse = new SortefFuse(fuse);
from fuse.
A standard chaining pattern is quite popular in Javascript world, because of Jquery.
That's all good for core extensibility but not for third party plugins as it will soon cause namespace conflicts. I would like to have something like pipe
in unix since fuse
mostly handles the data it would make sense to have .pipe
(this can be confusing to node's pipe but just an example) or something in that realm.
.plugin
actually doesn't sound bad but I'm bad with naming so it might actually sound bad for others.
from fuse.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
from fuse.
Related Issues (20)
- Number arrays not finding results. HOT 2
- Logical Query Operators with simple search string input HOT 3
- Ability to customize the extended search characters HOT 1
- Extended search not working with AND at all HOT 2
- Release 7.0.0 ? HOT 3
- Do I need to load all the documents again every time I load an existing index from a file? HOT 2
- Threshold isn't workiing as expected HOT 1
- Inverse match returns no result when matched fields are nullish HOT 2
- Not matching obvious matches? HOT 3
- Usage in deno HOT 1
- Fuse is not returning an exact match HOT 1
- Change defaults to `ignoreLocation: true` and `ignoreFieldNorm: true` HOT 2
- Recommended way to boost based on a different field HOT 1
- Add information about not commiting dist files HOT 1
- Exact matches on arrays of objects result in score higher than 1 HOT 3
- What is Breaking Changes "Extension Changed" in the 7.0.0 release? HOT 2
- Unclear how to do non-fuzzy search on a per-word basis HOT 3
- Fuzzy matching not working for typos HOT 3
- Fuzzy matching not working proper
- Returned indexes are incorrect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fuse.