Giter Club home page Giter Club logo

tantivy-wasm's People

Contributors

phiresky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tantivy-wasm's Issues

License

I know this is just a demo but I'm wondering if you'd be willing to release it under a permissive license so others can mess around with it.

Locally running the demo hangs

I built this project with your forks of tantivy and tantify-fst. I couldn't figure out the requirements for the index files so I downloaded them off your hosted demo. Running npx http-server looked like it worked, but it got to the bf92c5e40ac948299bc68912773ab04f.store request and then hung - in Chrome the tab is stuck at max CPU and the request for that file shows up as pending permanently.

Before then it does print a few lines:

Getting info for term "horac"
Fetching document ids and frequencies matching term Term(field=1,text="\u{0}\u{0}\u{0}\u{1}horac")
Getting info for term "horac"
Fetching document ids and frequencies matching term Term(field=2,text="\u{0}\u{0}\u{0}\u{2}horac")
Getting info for term "slughorn"
Fetching document ids and frequencies matching term Term(field=1,text="\u{0}\u{0}\u{0}\u{1}slughorn")
Getting info for term "slughorn"
Fetching document ids and frequencies matching term Term(field=2,text="\u{0}\u{0}\u{0}\u{2}slughorn")

(This happens whether or not I apply the decoder.patch in this directory.)

I tried doing it with my own index following the example in the tantivy-cli docs, but it failed with OpenReadError(IOError { io_error: Error { kind: InvalidData, message: "stream did not contain valid UTF-8" }, filepath: "dd8df16bbcac45078e02b00c027bcff8.term" }); no idea what that indicates. Does the index need to be built in a certain way?

I realize you only intended this as a demo, so if you don't want to spend time helping me debug don't worry about it, but if you happen to know what's wrong I'd appreciate it.

Compilation of tantivy dependency failed because all compressors are devatived

Hi,

very cool project.
I tried to compile it (after I adjusted the tantivy to my local path) and got the following compile error:
"all compressors are deactivated via feature-flags, check Cargo.toml for available decompressors."
for tantivy.
Did you change something in tantivy that I also have to?

Thanks
Andy

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.