thenativeweb / node-cqrs-eventdenormalizer

Node-cqrs-eventdenormalizer is a node.js module that implements the cqrs pattern. It can be very useful as eventdenormalizer component if you work with (d)ddd, cqrs, domain, host, etc.
http://cqrs.js.org/pages/eventdenormalizer.html
MIT License
38 stars 27 forks source link

[Feature] FullText index #7

Open sbiaudet opened 9 years ago

sbiaudet commented 9 years ago

I would like to implement fulltext search in my project. I want to use the simplicity of denormalizer to index documents from events.

Create a new storage for node-viewmodel based on search-index is it a good thing ?

I wan't your feeling about that.

adrai commented 9 years ago

To you describe it a bit more? With dummy code?

sbiaudet commented 9 years ago

I want to have fulltext search capabilities in my cqrs based solution. I want implement this functionnality with the search-index library (https://github.com/fergiemcdowall/search-index).

For me it's an other read repository optimized for fulltext query.

I want use a denormalizer to build indexed views. Having a new backend with search-index into node-viewmodel allow possibility to index directly via cqrs-eventdenormalizer.

adrai commented 9 years ago

How would an indexed viewmodel look like? Dies it save a snapshot?