Page 1 of 1
can nested smart groups inherit the criteria of their parent smart groups?
Posted: Sun Mar 10, 2019 10:32 am
by Gerben
I am trying to nest smart groups in smart groups, but in such a way that the nested group only returns results that also abide by the criterium for the "parent" smart group.
Example:
• I create a smart group for all references with keyword "Germany"
• nested inside this smart group is a smart group with keyword "migration"
What I would like is for the "migration" smart group to only return references that also have the keyword "Germany". I should say that this is they way in which nesting smart groups worked in Sente, and I am trying to replicate it in BE now.
Changing the Multiple Selections setting does not lead to the desired result. If I use AND it is the top level smart group "Germany" that contains the references with both "Germany" and "migration", but the "migration" group has all references with the keyword "migration", regardless of whether Germany is also present as keyword.
Is there a way that nested smart groups can inherit the criteria of their parent smart groups?
Best wishes,
Gerben
Re: can nested smart groups inherit the criteria of their parent smart groups?
Posted: Sun Mar 10, 2019 10:47 am
by Jon
It's hierarchical. The boolean logic applies to the selected group and its children -- it doesn't apply to the group's parents. If you want ad hoc relationships, create two groups (they can be in the same folder) and select both (in your case Germany and migration would be distinct groups). This generates a "virtual group" that provides the intersection (if you use AND for multiple selections).
Jon
Sonny Software
Re: can nested smart groups inherit the criteria of their parent smart groups?
Posted: Sun Mar 10, 2019 11:10 am
by Gerben
Thanks very much for the quick reply.
[/quote]
Jon wrote: ↑Sun Mar 10, 2019 10:47 am
It's hierarchical. The boolean logic applies to the selected group and its children -- it doesn't apply to the group's parents.
I am not sure I understand correctly, please bear with me for a moment. Right now this is the situation: there are two smart groups, one nested in the other:
-- Germany (criterium - keyword "Germany")
---- migration (criteria = keyword "migration")
If multiple selections = AND, then the Germany group (parent) displays the combined search criteria of both groups (only references with keywords Germany and migration); the migration group (child) displays all references with keyword migration, regardless of whether Germany is present or not. My (admittedly Sente-based) expectation is that it would be the other way around.
As for your suggestion: I understand the virtual group idea. But if I would want this as a non-virtual group (which can reside permanently in the group pane) is the only option currently available then to create smart groups with all the criteria I would like?
Best wishes,
Gerben
Re: can nested smart groups inherit the criteria of their parent smart groups?
Posted: Sun Mar 10, 2019 5:26 pm
by Jon
It's simple.
Those are not smart groups (at least Germany is not, it's a smart *folder*). Let's assume migration is, too.
Click on migration and Bookends will AND (or OR, depending on your setting) the search of migration and any searches in the folder.
Click on Germany and Bookends will AND its search with the migration search and anything in the migration smart folder.
The searches flow "downward", not "upward" (that is, when you click on migration it does loot to see what Germany searches for).
That's how it works.
Jon
Sonny Software
P.S. The logic might seem more obvious to you if you stuck to just folders, not smart folders. Then put Germany and migration in the folder. Select the folder -> both searches are run. Click on one or the other and the individual searches are run.
Re: can nested smart groups inherit the criteria of their parent smart groups?
Posted: Mon Mar 11, 2019 2:18 pm
by Gerben
Thanks again, the logic is clear to me now.
As I suspected BE and Sente logic are opposite: in Sente nesting searches means drilling down in one's references and narrowing down the results. So it takes a moment to get used to how BE does it.
Best wishes,
Gerben
Re: can nested smart groups inherit the criteria of their parent smart groups?
Posted: Mon Mar 11, 2019 3:01 pm
by Jon
Um, that's what Bookends does. It sounds to me that what you described is "drilling up". That is, clicking on migration will only find refs that are also in Germany (which is "up), as in above). Bookends drills down (clicking on migration will ignore Germany, but will only find matches that coincide with groups "below" it (included in it, as in down).
In any case, I hope the logic is clear now.
Jon
Sonny Software