Spring Data Solr

org.springframework.data.solr.core.mapping
Interface SolrPersistentEntity<T>

Type Parameters:
T -
All Superinterfaces:
PersistentEntity<T,SolrPersistentProperty>
All Known Implementing Classes:
SimpleSolrPersistentEntity

public interface SolrPersistentEntity<T>
extends PersistentEntity<T,SolrPersistentProperty>

Author:
Christoph Strobl, Francisco Spaeth

Method Summary
 Float getBoost()
           
 String getSolrCoreName()
          Get the core's name for this entity.
 boolean isBoosted()
           
 
Methods inherited from interface org.springframework.data.mapping.PersistentEntity
doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdProperty, getName, getPersistenceConstructor, getPersistentProperty, getPersistentProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isConstructorArgument, isIdProperty, isVersionProperty
 

Method Detail

getSolrCoreName

String getSolrCoreName()
Get the core's name for this entity.

Returns:

isBoosted

boolean isBoosted()
Returns:
true if this entity is boosted

getBoost

Float getBoost()
Returns:
entity's boost value if isBoosted(), null otherwise

Spring Data Solr

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