public boolean doesFieldExist(String indexId, String fieldName) { AbstractIndexEnvironment env = getEnvironment(indexId); return env.doesFieldExist(fieldName); }
public String getFieldType(String indexId, String fieldName) { AbstractIndexEnvironment env = getEnvironment(indexId); return (null != env && env.doesFieldExist(fieldName) ? env.fields.get(fieldName).type : null); }
public Boolean isFieldAutoCompletion(String indexId, String fieldName) { AbstractIndexEnvironment env = getEnvironment(indexId); return (null != env && env.doesFieldExist(fieldName) ? env.fields.get(fieldName).shouldAutoCompletion : false); }
public void dumpTerms(String indexId, String fieldName) { AbstractIndexEnvironment env = getEnvironment(indexId); if (env.doesFieldExist(fieldName)) { new Querier(env).dumpTerms(fieldName); } }