Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-476

BooleanQuery add public method that returns number of clauses this query

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • core/search
    • None

    Description

      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

      Attachments

        1. BooleanQuery.diff
          0.8 kB
          Volodymyr Bychkoviak

        Activity

          People

            Unassigned Unassigned
            vbychkoviak Volodymyr Bychkoviak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: