[
https://issues.apache.org/jira/browse/LUCENE-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12660577#action_12660577
]
Mark Miller commented on LUCENE-476:
------------------------------------
Anyone object to adding getClauseCount to BooleanQuery? It appears to be a good
idea. Or getNumClauses or something.
> BooleanQuery add public method that returns number of clauses this query
> ------------------------------------------------------------------------
>
> Key: LUCENE-476
> URL: https://issues.apache.org/jira/browse/LUCENE-476
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Reporter: Volodymyr Bychkoviak
> Priority: Minor
> Attachments: BooleanQuery.diff
>
>
> BooleanQuery add public method getClausesCount() that returns number of
> clauses this query.
> current ways of getting clauses count are:
> 1).
> int clausesCount = booleanQuery.getClauses().length;
> or
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]