mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-08-27 15:50:44 +02:00
update readme
This commit is contained in:
60
README.md
60
README.md
@@ -17,32 +17,14 @@ Let's discuss the upcoming FlexSearch v0.8 here: https://github.com/nextapps-de/
|
||||
|
||||
## Support this Project
|
||||
|
||||
Hello my name is Thomas, also known as ts-thomas. This is a personal project which I fully made in my free time. It is hosted by the Github account from the company Nextapps where I work to give it more exposure.
|
||||
I have never received any financial support for this project from the company Nextapps as some of you might have guessed, since it is a free and open source project.
|
||||
I'm really happy that FlexSearch is getting so much positive feedback and also feature requests. Please feel free to support me by making a personal donation which helps me a lot to keep this project alive and also to providing all the contribution to keep FlexSearch on a professional top-end level.
|
||||
You can help me by making a personal donation to keep this project alive and also to provide all the contribution to solve your needs.
|
||||
|
||||
<a href="https://opencollective.com/flexsearch/donate" target="_blank" style="margin-right: 10px">
|
||||
<img src="https://opencollective.com/webpack/donate/button@2x.png?color=blue" height="32" alt="Donate using Open Collective">
|
||||
</a>
|
||||
<a href="https://github.com/sponsors/ts-thomas/" target="_blank" style="margin-right: 10px">
|
||||
<img src="https://camo.githubusercontent.com/b932f45963b659dfeb86b77ff29a9eaebe25a734d63a17a176aa82bf34845cf2/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d53706f6e736f72266d6573736167653d254532253944254134266c6f676f3d47697448756226636f6c6f723d253233666538653836" height="32" alt="Donate using Github Sponsors">
|
||||
</a>
|
||||
<a href="https://liberapay.com/ts-thomas/donate" target="_blank" style="margin-right: 10px">
|
||||
<img src="https://liberapay.com/assets/widgets/donate.svg" height="32" alt="Donate using Liberapay">
|
||||
</a>
|
||||
<a href="https://www.patreon.com/user?u=96245532" target="_blank" style="margin-right: 10px">
|
||||
<img src="https://s3-us-west-1.amazonaws.com/widget-images/become-patron-widget-medium%402x.png" height="32" alt="Donate using Patreon">
|
||||
</a>
|
||||
<a href="https://salt.bountysource.com/teams/ts-thomas" target="_blank" style="margin-right: 10px">
|
||||
<img src="https://d2bbtvgnhux6eq.cloudfront.net/assets/logos/alternate-7868987b01474c95f47678727f6657882f6565a36396eb4b637ea53cc5944ff8.svg" height="32" alt="Donate using Bountysource">
|
||||
</a>
|
||||
<a href="https://www.paypal.com/donate/?hosted_button_id=GEVR88FC9BWRW" target="_blank">
|
||||
<img src="https://www.paypalobjects.com/webstatic/de_DE/i/de-pp-logo-200px.png" height="32" alt="Donate using PayPal">
|
||||
</a>
|
||||
<!-- [](https://github.com/sponsors/ts-thomas/) -->
|
||||
<br><br>
|
||||
Thanks a lot,
|
||||
Thomas (ts-thomas)
|
||||
<a href="https://opencollective.com/flexsearch/donate" target="_blank" style="margin-right: 10px"><img src="doc/opencollective.png" height="32" alt="Donate using Open Collective"></a>
|
||||
<a href="https://github.com/sponsors/ts-thomas/" target="_blank" style="margin-right: 10px"><img src="doc/github-sponsors.png" height="32" alt="Donate using Github Sponsors"></a>
|
||||
<a href="https://liberapay.com/ts-thomas/donate" target="_blank" style="margin-right: 10px"><img src="doc/liberapay.svg" height="32" alt="Donate using Liberapay"></a>
|
||||
<a href="https://www.patreon.com/user?u=96245532" target="_blank" style="margin-right: 10px"><img src="doc/patron.png" height="32" alt="Donate using Patreon"></a>
|
||||
<a href="https://salt.bountysource.com/teams/ts-thomas" target="_blank" style="margin-right: 10px"><img src="doc/bountysource.svg" height="32" alt="Donate using Bountysource"></a>
|
||||
<a href="https://www.paypal.com/donate/?hosted_button_id=GEVR88FC9BWRW" target="_blank"><img src="doc/paypal.png" height="32" alt="Donate using PayPal"></a>
|
||||
|
||||
<h1></h1>
|
||||
|
||||
@@ -400,19 +382,6 @@ Operation per seconds, higher is better, except the test "Memory" on which lower
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<a name="contextual"></a>
|
||||
## Contextual Search
|
||||
|
||||
> __Note:__ This feature is disabled by default because of its extended memory usage. Read <a href="#contextual_enable">here</a> get more information about and how to enable.
|
||||
|
||||
FlexSearch introduce a new scoring mechanism called __Contextual Search__ which was invented by <a href="https://github.com/ts-thomas" target="_blank">Thomas Wilkerling</a>, the author of this library. A Contextual Search <a href="https://nextapps-de.github.io/flexsearch/bench/" target="_blank">incredibly boost up queries to a complete new level</a> but also requires some additional memory (depending on ___depth___).
|
||||
The basic idea of this concept is to limit relevance by its context instead of calculating relevance through the whole distance of its corresponding document.
|
||||
This way contextual search also <a href="https://nextapps-de.github.io/flexsearch/bench/match.html" target="_blank">improves the results of relevance-based queries</a> on a large amount of text data.
|
||||
|
||||
<p align="center">
|
||||
<img src="https://cdn.jsdelivr.net/gh/nextapps-de/flexsearch@master/doc/contextual-index.svg?v=4" width="100%">
|
||||
</p>
|
||||
|
||||
<a name="installation"></a>
|
||||
## Load Library
|
||||
|
||||
@@ -442,7 +411,7 @@ The most of you probably need just one of them according to your scenario.
|
||||
</script>
|
||||
```
|
||||
|
||||
### ESM/ES6 Modules:
|
||||
#### ESM/ES6 Modules:
|
||||
|
||||
```html
|
||||
<script type="module">
|
||||
@@ -2202,6 +2171,19 @@ var index = FlexSearch.create()
|
||||
index.remove(0).update(1, 'foo').add(2, 'foobar');
|
||||
```
|
||||
|
||||
<a name="contextual"></a>
|
||||
## Contextual Search
|
||||
|
||||
> __Note:__ This feature is disabled by default because of its extended memory usage. Read <a href="#contextual_enable">here</a> get more information about and how to enable.
|
||||
|
||||
FlexSearch introduce a new scoring mechanism called __Contextual Search__ which was invented by <a href="https://github.com/ts-thomas" target="_blank">Thomas Wilkerling</a>, the author of this library. A Contextual Search <a href="https://nextapps-de.github.io/flexsearch/bench/" target="_blank">incredibly boost up queries to a complete new level</a> but also requires some additional memory (depending on ___depth___).
|
||||
The basic idea of this concept is to limit relevance by its context instead of calculating relevance through the whole distance of its corresponding document.
|
||||
This way contextual search also <a href="https://nextapps-de.github.io/flexsearch/bench/match.html" target="_blank">improves the results of relevance-based queries</a> on a large amount of text data.
|
||||
|
||||
<p align="center">
|
||||
<img src="https://cdn.jsdelivr.net/gh/nextapps-de/flexsearch@master/doc/contextual-index.svg?v=4" width="100%">
|
||||
</p>
|
||||
|
||||
<a name="contextual_enable"></a>
|
||||
## Enable Contextual Scoring
|
||||
|
||||
|
1
doc/bountysource.svg
Normal file
1
doc/bountysource.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 10 KiB |
BIN
doc/github-sponsors.png
Normal file
BIN
doc/github-sponsors.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 74 KiB |
2
doc/liberapay.svg
Normal file
2
doc/liberapay.svg
Normal file
@@ -0,0 +1,2 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="83" height="30"><rect id="back" fill="#f6c915" x="1" y=".5" width="82" height="29" rx="4"/><svg viewBox="0 0 80 80" height="16" width="16" x="7" y="7"><g transform="translate(-78.37-208.06)" fill="#1a171b"><path d="m104.28 271.1c-3.571 0-6.373-.466-8.41-1.396-2.037-.93-3.495-2.199-4.375-3.809-.88-1.609-1.308-3.457-1.282-5.544.025-2.086.313-4.311.868-6.675l9.579-40.05 11.69-1.81-10.484 43.44c-.202.905-.314 1.735-.339 2.489-.026.754.113 1.421.415 1.999.302.579.817 1.044 1.546 1.395.729.353 1.747.579 3.055.679l-2.263 9.278"/><path d="m146.52 246.14c0 3.671-.604 7.03-1.811 10.07-1.207 3.043-2.879 5.669-5.01 7.881-2.138 2.213-4.702 3.935-7.693 5.167-2.992 1.231-6.248 1.848-9.767 1.848-1.71 0-3.42-.151-5.129-.453l-3.394 13.651h-11.162l12.52-52.19c2.01-.603 4.311-1.143 6.901-1.622 2.589-.477 5.393-.716 8.41-.716 2.815 0 5.242.428 7.278 1.282 2.037.855 3.708 2.024 5.02 3.507 1.307 1.484 2.274 3.219 2.904 5.205.627 1.987.942 4.11.942 6.373m-27.378 15.461c.854.202 1.91.302 3.167.302 1.961 0 3.746-.364 5.355-1.094 1.609-.728 2.979-1.747 4.111-3.055 1.131-1.307 2.01-2.877 2.64-4.714.628-1.835.943-3.858.943-6.071 0-2.161-.479-3.998-1.433-5.506-.956-1.508-2.615-2.263-4.978-2.263-1.61 0-3.118.151-4.525.453l-5.28 21.948"/></g></svg><text fill="#1a171b" text-anchor="middle" font-family="Helvetica Neue,Helvetica,Arial,sans-serif"
|
||||
font-weight="700" font-size="14" x="50" y="20">Donate</text></svg>
|
After Width: | Height: | Size: 1.4 KiB |
BIN
doc/opencollective.png
Normal file
BIN
doc/opencollective.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
doc/patron.png
Normal file
BIN
doc/patron.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.9 KiB |
BIN
doc/paypal.png
Normal file
BIN
doc/paypal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.5 KiB |
Reference in New Issue
Block a user