According to Wiki, @Field annotation can be applied to a field or a setter method:
http://wiki.apache.org/solr/Solrj#head-da3dbcb051833cb4d80fca6a306d5dd7d46be5a3 If so, I think ElementType.TYPE can be removed from @Field: [EMAIL PROTECTED]({FIELD, METHOD, TYPE}) [EMAIL PROTECTED]({FIELD, METHOD}) @Retention(RUNTIME) public @interface Field { public static final String DEFAULT ="#default"; thought? Koji