search/engine/impl-lucene/src/main/java/net/sf/mmm/search/engine/impl/lucene/LuceneComplexSearchQuery.java
/**
   * This method adds the given <code>subQuery</code> using the given
   * <code>occur</code>.
   * 
   * @param occur is the occur to use.
   * @param subQuery is the sub-query to add.
   */
This method adds the given subQuery using the given
occur.

@param occur is the occur to use.
@param subQuery is the sub-query to add.
This method adds the given subQuery using the given occur . @param occur is the occur to use . @param subQuery is the sub - query to add .
private void addQuery(BooleanClause.Occur occur, SearchQuery subQuery) {
    if (subQuery != LuceneSearchQueryBuilder.NULL_QUERY) {
      AbstractLuceneSearchQuery luceneQuery = (AbstractLuceneSearchQuery) subQuery;
      this.query.add(luceneQuery.getLuceneQuery(), occur);
      this.size++;
    }
  }
private void addQuery ( BooleanClause . Occur occur , SearchQuery subQuery ) { if ( subQuery != LuceneSearchQueryBuilder . NULL_QUERY ) { AbstractLuceneSearchQuery luceneQuery = ( AbstractLuceneSearchQuery ) subQuery ; this . query . add ( luceneQuery . getLuceneQuery ( ) , occur ) ; this . size ++ ; } }
This method adds the given <code>subQuery</code> using the given
 <code>occur</code>.
This method adds the given <code > subQuery< / code > using the given <code > occur< / code > .