public void setFromQuery(boolean isFromQuery) {
        this.isFromQuery = isFromQuery;
    }
Whether this term is from the query or has been added by a searcher.
Only terms from the user should be modified by query rewriters which attempts to improve the
precision or recall of the user's query.
container-search/src/main/java/com/yahoo/prelude/query/TermItem.java