grtjn / ml-constraints

Custom MarkLogic constraints that go beyond what Search API provides out of the box
Apache License 2.0
0 stars 1 forks source link

Limit count for Other group to fragments with a match #11

Open grtjn opened 8 years ago

grtjn commented 8 years ago

Use cts:value-match * to find all patterns, and use that to find total estimate. Don't sum cts:value-match frequencies for anti-sum, but get all anti-patterns, and do estimate on shot-gun or with those. Less index round-trips..

Add total-pattern attribute on show-remainder.. (which defaults to *)