private String constructAnalyzedPropertyName(String pname) { if (definition.getVersion().isAtLeast(IndexFormatVersion.V2)){ return FieldNames.createAnalyzedFieldName(pname); } return pname; }
private String constructAnalyzedPropertyName(String pname) { if (definition.getVersion().isAtLeast(IndexFormatVersion.V2)){ return FieldNames.createAnalyzedFieldName(pname); } return pname; }
static void useV2(Tree idxTree) { if (!IndexFormatVersion.getDefault().isAtLeast(IndexFormatVersion.V2)) { idxTree.setProperty(FulltextIndexConstants.COMPAT_MODE, IndexFormatVersion.V2.getVersion()); } }
static void useV2(NodeBuilder idxNb) { if (!IndexFormatVersion.getDefault().isAtLeast(IndexFormatVersion.V2)) { idxNb.setProperty(FulltextIndexConstants.COMPAT_MODE, IndexFormatVersion.V2.getVersion()); } }
static void useV2(NodeBuilder idxNb) { if (!IndexFormatVersion.getDefault().isAtLeast(IndexFormatVersion.V2)) { idxNb.setProperty(FulltextIndexConstants.COMPAT_MODE, IndexFormatVersion.V2.getVersion()); } }
static void useV2(Tree idxTree) { if (!IndexFormatVersion.getDefault().isAtLeast(IndexFormatVersion.V2)) { idxTree.setProperty(FulltextIndexConstants.COMPAT_MODE, IndexFormatVersion.V2.getVersion()); } }
if (!definition.getVersion().isAtLeast(IndexFormatVersion.V2)){ log.trace("Index is old format. Not supported"); return null;