NotNode notNode = new NotNode();
ExprNode exprNode = new SubstringNode( schemaManager.getAttributeType( "cn" ), "J", null );
Evaluator<? extends ExprNode, Entry, Long> eval = new SubstringEvaluator( (SubstringNode) exprNode, store,
schemaManager );
notNode.addNode( exprNode );
NotCursor<String, Long> cursor = new NotCursor( store, eval ); //cursorBuilder.build( andNode );
cursor.beforeFirst();
Set<Long> set = new HashSet<Long>();