Spring Data Solr

org.springframework.data.solr.core.mapping
Annotation Type Indexed


@Retention(value=RUNTIME)
@Target(value=FIELD)
@Documented
public @interface Indexed

Author:
Christoph Strobl

Optional Element Summary
 boolean readonly
          if set to false, field will not be transfered to solr, but can be read from there
 String value
          if not set the fields name or the one defined via Field will be used
 

readonly

public abstract boolean readonly
if set to false, field will not be transfered to solr, but can be read from there

Returns:
Default:
false

value

public abstract String value
if not set the fields name or the one defined via Field will be used

Returns:
Default:
""

Spring Data Solr

Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.