private void replace(TermItem item,int index) {
                if (replace==null) return;
                String replaceString=replace.get(index);
                if (replaceString==null) return;
                item.setValue(replaceString);
            }
The word to replace by at the given index, or null if none of the phrase words should be replaced
This is either null, or of length <code>length</code>, with null values where nothing should be replaced
container-search/src/main/java/com/yahoo/prelude/querytransform/PhraseMatcher.java