Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to compile to webassembly and run in the browser? #1193

Closed
o0101 opened this issue Nov 1, 2021 · 6 comments
Closed

Possible to compile to webassembly and run in the browser? #1193

o0101 opened this issue Nov 1, 2021 · 6 comments

Comments

@o0101
Copy link

o0101 commented Nov 1, 2021

I'm interested in providing a full text search engine in JavaScript

@fulmicoton
Copy link
Collaborator

@i5ik I don't understand what you mean by "product 22120"

@o0101
Copy link
Author

o0101 commented Nov 1, 2021

@fulmicoton that's OK you don't need to to answer the question. If you let me know you're confused about anything else I'll try to help you out!

@fulmicoton
Copy link
Collaborator

What do you mean by "product 22120"?

@o0101
Copy link
Author

o0101 commented Nov 1, 2021

@fulmicoton If you'd rather not engage with this question, I totally get it! That's why I'm asking you, I'd rather not try to do this on my own either...webassembly can be tricky and I don't know anything about rust or it. Tho I am sorry for you that you felt confused about this today, that was not my intention to bring that to you. Hmm, how can I make this better for you?

Well first, I'll just say hope you feel better soon, and have a great rest of your day you absolute legend! Second I've edited my question to remove the reference that confused you (and which I didn't intent to include but only did in response to your 'please be as specific as possible with your use case' issue template I saw when I started) and third I've closed this question as I don't want to give you more than you can handle, I know how tough it is being an open source maintainer and how important is it to say 'no' and prioritize, and I'm sure you must be super busy. I'm sorry I brought this to you on your bad day. And fourth, I've added a fresh issue that avoids any references and just focuses on the question. Definitely close that tho if this is too much for you to handle right now, I totally get it, no worries! And if you feel like getting to either of these at some point in the future definitely feel free to reopen and ping me about.

Anyway, best of luck with it all and I LOVE ❤️ what you are trying to do with tantivy. It is SO awesome! Thank you so much, and have a good one. And hey if you're ever in Hong Kong or Taipei in the next 3 months let me know, I can grab a coffee with you for real!!!! :P ;) xxx

@fulmicoton
Copy link
Collaborator

There seems to be a big misunderstanding here. I just wanted to know what "product 22120" .
It is necessary for me to know a little bit about the background for this kind of question.

Back to the question.

Search can work in Web Assembly without too much trouble.
Indexing on the other requires threading. Adapting tantivy to work in WASM would require too much work.

@fmassot
Copy link
Contributor

fmassot commented Nov 1, 2021

A good example of tantivy (only search) running in the browser can be found here: #1067

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants