nextapps-de / flexsearch

Next-Generation full text search library for Browser and Node.js
Apache License 2.0
12.53k stars 491 forks source link

Announcement: New release is coming during Dez 2020 #199

Closed ts-thomas closed 3 years ago

ts-thomas commented 4 years ago

Dear developers,

Thanks a lot you for your patience! I have a great announcement, there will be a new release during Dezember 2020 packed full with fixes and improvements. One of the most important change is the new structure of the code, which was implemented from the ground up to make future contribution a lot easier and even more straight forward.

Best Regards, Thomas

marcoancona commented 4 years ago

Hi @ts-thomas, looking forward to the new release. Are there a lot of breaking changes expected from the current version or 7.beta? I just want to understand if it makes sense to start integrating the current version in our project or wait.

ts-thomas commented 4 years ago

Thanks @marcoancona, the application method interfaces will work much like the same as current version. I expect no many changes in current implementations.

MarkTanashchuk commented 4 years ago

Hello @ts-thomas, is it planned to make index.add()/index.init()/etc... asynchronous?

Now I faced problem that index.add(json) blocks main thread and whole DOM freezes for a few seconds

It would be nice if it became asynchronous in next update =)

P.S. If it becomes possible to execute index.add/etc in a web worker, it will be good also =)

ind-igo commented 4 years ago

Will there be an update to flexsearch-server?

baptistemanson commented 3 years ago

@MarkTanashchuk we decided not to use document based flexsearch but the simple index interface which is miles faster in indexing speed. As we were only doing simple OR and AND between the fields, it was trivial to reimplement those operations.

Overall, we index around 10,000 paragraphs of text under a second.

MarkTanashchuk commented 3 years ago

@MarkTanashchuk we decided not to use document based flexsearch but the simple index interface which is miles faster in indexing speed. As we were only doing simple OR and AND between the fields, it was trivial to reimplement those operations.

I don't understand a bit how FlexSearch without document model might look like, can you provide an example?

npearson72 commented 3 years ago

Any news on this?

kr05 commented 3 years ago

I'm currently trying to make the new version work in node. Using the same implementation as the previous version leads to a "window is not defined" error. After looking through the code a bit, I noticed the node.js portion is commented out: image

I'm wondering what factory might be...

EDIT: Glad no one has answered, I did eventually notice the bottom section takes node into account. I still found issues in other places though, eventually encountering errors with FlexSearch and this.pipeline not being defined. I added an import for common.js to the simple.js configuration and it did something I think, but I still can't run 0.7.0 in node.

SirUli commented 3 years ago

@ts-thomas I guess the December 2020 was a bit too packed. Do you have an update on the timeline? Thanks in advance!

airhorns commented 3 years ago

👋 @ts-thomas is this project still something you're interested in maintaining? If not, would you consider giving permissions over to some folks you trust in the community to carry it forward in your absence? It'd be really great to get this release out and some of the pending PRs merged!

boardend commented 3 years ago

For everyone who is following this issue: see https://github.com/nextapps-de/flexsearch/issues/216