Git Product home page Git Product logo

Comments (7)

mre avatar mre commented on May 22, 2024

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.

expilo avatar expilo commented on May 22, 2024

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.

expilo avatar expilo commented on May 22, 2024

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.

Jieiku avatar Jieiku commented on May 22, 2024

@expilo how were you able to tell that the xorf crate gave you better false positives ratio? did you implement it locally?

from tinysearch.

Jieiku avatar Jieiku commented on May 22, 2024

@expilo do you have a fork of tinysearch where the xorf crate is in use

from tinysearch.

mre avatar mre commented on May 22, 2024

The xorf crate is already used in master:

[dependencies.xorf]
version = "0.7.2"
default-features = false

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.

mre avatar mre commented on May 22, 2024

Original issue seems to be resolved; closing this to keep the issue tracker clean.

from tinysearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.