Hi,

Trying to find a way to filter down the suggested terms set based on the
term value of another indexed field?

Let's say we have the following documents indexed in Solr:
userid:1, groupid:1, content:"alpha beta gamma"
userid:2, groupid:1, content:"alternate better garden"
userid:3, groupid:2, content:"altruism bent garner"

Now a query on (with a dictionary built using terms in the content field):
q:groupid:1 AND content:al

should suggest alpha & alternate, (not altruism, since it has a different
groupid).

The option to have a separate dictionary per group gets ruled out due to
the high number of distinct groups (50K+).

Kindly suggest ways to get this working.

Thanks,
Aloke

Reply via email to