Your query looks correct. The question mark in the output indicates a position increment, it doesn't indicate an actual term in the query.
The word "is" is removed from the query and the index by StandardAnalyzer
, since it is a stop word in the default stop word set. StopFilter
removes those terms, but increments the position to indicate where the term was removed to enable closer matching with phrase queries.
Unless you see an issue with the results of the query, there appears to be nothing wrong with it.