Description
Currently there is no limit in the number of span queries that can be mixed by QueryBuilder#analyzeGraphPhrase even if the input graph contains thousands of paths. We should apply the same limit than analyzeGraphBoolean which throws TooManyClauses exception when the number of expanded paths is greater than BooleanQuery#MAX_CLAUSE_COUNT.