2 ms·
We were thinking about two/three different things what the grain does: 1) My idea was that the grain exposes selected data to a search indexer. 2) Your idea w
by static_noise 11y ago
We were thinking about two/three different things what the grain does:
1) My idea was that the grain exposes selected data to a search indexer.
2) Your idea was that the grain performs the search itself.
I see why 2) would not work very well in the current implementation. But 1) should work well and make it possible to only expose selected data. (Also with central/user specific search.)
Both ideas could by combined via per-grain-search-grains which only hold the local index and are accessed via a central search interface.
The problem, however, remains, that searchable data is exposed data. To me it seems useful that some applications can have fine-grained control about what to expose. (Think of List of Establishments where each has a List of Customers with Credit Card information. You might make one or two things searchable but not everything.)