Closed thebarty closed 7 years ago
This question has already come up quite a few times and I might add some documentation on how to structure searchable data
. Basically the idea is that you have your data denormalized, so that there's no need for joining anymore.
The first recipe should be of help.
Hi guys,
I just stumbled upon this package and the api looks really promising.
I'd be really thankful about a quick tip, if this package would support my usecase.
My UseCase can be compared to a simple Post / Comments / Author relationship: A Post is related to multiple comments, plus has an author. Basically I'd like to show a list of posts and give the user the option to search by the following:
Can you quickly tell me if this package supports searching?
This is how the collections are hooked up (using SimpleSchema). Plus I also attached my current publication where I join the data for the client.
collections
publication