public class LuceneQuery {
public static String gQueryToLucene(GQuery gQuery, int k) {
FeatureVector mainVector = new FeatureVector(gQuery.getText(), null);
mainVector.normalizeToOne();
FeatureVector fbVector = gQuery.getFeatureVector();
fbVector.pruneToSize(k);
fbVector.normalizeToOne();
FeatureVector finalVector = FeatureVector.interpolate(mainVector, fbVector, 0.5);
StringBuilder b = new StringBuilder();
Iterator<String> terms = finalVector.iterator();
while(terms.hasNext()) {