Spring Data Solr

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


@Inherited
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface SolrDocument

Author:
Christoph Strobl

Optional Element Summary
 float boost
          Index time boost value for document.
 String solrCoreName
          Defines the collectionname the document is persisted in.
 

solrCoreName

public abstract String solrCoreName
Defines the collectionname the document is persisted in.

Returns:
Default:
""

boost

public abstract float boost
Index time boost value for document.

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

Spring Data Solr

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