Comments (7)
Can you try to compile the version from master
? We recently switched to XOR filters, which might give you a better false-positive rate. The Docker image is not updated to the newest version yet unfortunately.
from tinysearch.
I managed to compile but still the old error, which forced me to use docker image, persists. When I try to run tinysearch index.json
I'm getting only
Unpacking tinysearch WASM engine into temporary directory "/tmp/.tmppr7ORB"
Starting unpack
Copying "../engine/src/lib.rs"
Copying "../engine/Cargo.toml"
Copying "../shared/.gitignore"
Copying "../engine/.gitignore"
Copying "../shared/src/lib.rs"
Copying "../shared/Cargo.toml"
Copying index into crate
Error: Invalid cross-device link (os error 18)
from tinysearch.
As I wrote in the comment to #151 I was finally able to overcome this problem by compiling and running tinysearch in /tmp directory. The resulting wasm binary gives better search results although I am still getting false positives. Xorf crate has got a lot of other filters which give better false positives ratio. Would it be possible to implement them as well, or at least one of them and give user the choice which one to use?
from tinysearch.
@expilo how were you able to tell that the xorf crate gave you better false positives ratio? did you implement it locally?
from tinysearch.
@expilo do you have a fork of tinysearch where the xorf crate is in use
from tinysearch.
The xorf crate is already used in master
:
Lines 22 to 24 in 10c060b
What @expilo probably meant is that the other filters, which are part of the xorf crate, but which we don't use right now. The features are currently listed at the top of the xorf README.md
. I have not looked into that myself, so I can't say which one would be the most promising to try next.
from tinysearch.
Original issue seems to be resolved; closing this to keep the issue tracker clean.
from tinysearch.
Related Issues (20)
- Benchmark against competition HOT 7
- building docker image gives error from wasm-pack in step 19/28 HOT 5
- Could tiny search run in IOS and Android WebView browsers? HOT 2
- Error: No such file or directory (os error 2) HOT 19
- Error: failed to execute "wasm-pack" "build" HOT 21
- Error: Engine directory could not be created HOT 8
- bug HOT 1
- Update Cargo build for tinysearch HOT 1
- Does tinysearch support stemming, stopwords, and CJK? HOT 2
- Is there a way to return the page description or body in the results? HOT 19
- Github action HOT 2
- Please tag release 0.7.0 HOT 3
- Failing to find Cargo.toml in temp directory? HOT 10
- For Zola sites, the tinysearch json index gets included in the sitemap.xml file. HOT 1
- Add a switch for build dir, and copy only the resulting wasm file to the path HOT 2
- latest tinysearch, cargo install tinysearch not working. HOT 12
- On npm HOT 5
- No such file or directory (os error 2) HOT 1
- Changes in the way browsers work with wasm causes issues with some js implementation to load the wasm. HOT 4
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 tinysearch.