You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2009/01/04 17:23:44 UTC

[jira] Resolved: (LUCENE-476) BooleanQuery add public method that returns number of clauses this query

     [ https://issues.apache.org/jira/browse/LUCENE-476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller resolved LUCENE-476.
--------------------------------

    Resolution: Fixed

Ah, thanks Yonik. I checked to see that getClauses was copying the array still, and that this wasn't already added, but I missed the clauses method has been added. I'd say thats a resolution to this issue.

> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org