Spring Data Solr

org.springframework.data.solr.core.mapping
Interface SolrPersistentProperty

All Superinterfaces:
PersistentProperty<SolrPersistentProperty>
All Known Implementing Classes:
SimpleSolrPersistentProperty

public interface SolrPersistentProperty
extends PersistentProperty<SolrPersistentProperty>

Author:
Christoph Strobl, Francisco Spaeth

Nested Class Summary
static class SolrPersistentProperty.PropertyToFieldNameConverter
           
 
Method Summary
 boolean containsWildcard()
           
 Float getBoost()
           
 String getFieldName()
          Get name of field under attention to Field annotation
 boolean isBoosted()
           
 boolean isReadonly()
           
 
Methods inherited from interface org.springframework.data.mapping.PersistentProperty
findAnnotation, findPropertyOrOwnerAnnotation, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityType, getRawType, getSetter, getSpelExpression, getType, getTypeInformation, isAnnotationPresent, isArray, isAssociation, isCollectionLike, isEntity, isIdProperty, isMap, isTransient, isVersionProperty, shallBePersisted, usePropertyAccess
 

Method Detail

getFieldName

String getFieldName()
Get name of field under attention to Field annotation

Returns:

isReadonly

boolean isReadonly()
Returns:
true if Field is present and not marked Indexed.readonly() = true

containsWildcard

boolean containsWildcard()
Returns:
true if Field.value() contains *

isBoosted

boolean isBoosted()
Returns:
true if property is boosted

getBoost

Float getBoost()
Returns:
property boost value if isBoosted(), null otherwise

Spring Data Solr

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