add
fun add(term: Term?, position: Int = if (positions.isEmpty) 0 else 1 + positions.get(positions.size() - 1)): PhraseQuery.Builder
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.