question: public Builder add ( Term term ) { return add ( term , positions . isEmpty ( ) ? 0 : 1 + positions . get ( positions . size ( ) - 1 ) ) ; }
target:  Adds a term to the end of the query phrase. The relative position of the term is the one immediately after the last term added.