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
 float boost
          Boost Field by value.
 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:
""

boost

public abstract float boost
Boost Field by value. Default is Float.NaN.

Returns:
Since:
1.2
Default:
0f/0f

Spring Data Solr

Copyright © 2011-2014-2014 Pivotal Software, Inc.. All Rights Reserved.