Lucene error when a user has too many roles

Steps to reproduce

Steps to reproduce:
Attempt to schedule a recording with a user with a lot of roles

Actual Results:

lucene exception gerenerated:

oc_acl_write:f089967f-845c-4b0c-bcd2-4546c23a8f9b_Instructor OR oc_acl_write:7207e8f9-c78f-4ba2-920d-a9a3c990ba5e_Instructor OR oc_acl_write:66f47b85-8eb4-4046-92e5-ff731362195b_Instructor OR oc_acl_write:c49eac2b-5bfe-49f4-9ca2-80ad2a66c0b3_Instructor)': too many boolean clauses
at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:215)
at org.opencastproject.solr.WildcardQueryParserPlugin$WildcardQueryParser.parse(WildcardQueryParserPlugin.java:86)
at org.apache.solr.search.QParser.getQuery(QParser.java:131)
at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:89)
... 124 more
Caused by: org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024
at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:153)
at org.apache.lucene.queryParser.QueryParser.getBooleanQuery(QueryParser.java:978)
at org.apache.lucene.queryParser.QueryParser.getBooleanQuery(QueryParser.java:932)
at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1300)
at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1341)
at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1294)
at org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:1254)
at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:200)
... 127 more

Expected Results:

User should be able to schedule recs.

Workaround (if any):

None.

Status

Assignee

Unassigned

Reporter

Edmore Moyo

Severity

Non Functioning

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Major
Configure