lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul നോബിള്‍ नोब्ळ्" <noble.p...@gmail.com>
Subject Re: question about @Field annotation
Date Mon, 08 Sep 2008 04:03:09 GMT
yes right.
it must be removed

On Sun, Sep 7, 2008 at 4:51 PM, Koji Sekiguchi <koji@r.email.ne.jp> wrote:
> 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:
>
> -@Target({FIELD, METHOD, TYPE})
> +@Target({FIELD, METHOD})
> @Retention(RUNTIME)
> public @interface Field {
> public static final String DEFAULT ="#default";
>
> thought?
>
> Koji
>
>



-- 
--Noble Paul

Mime
View raw message