@@ -108,16 +128,16 @@ public class SolrIndexHelper implements IndexChangeListener {
//this will make the string data searchable like in FullTextIndex Searcher using Free Text searcher.
searchWeight=DEFAULT_SEARCHWEIGHT_FOR_STRINGS;
}elseif(!GraphBackedSearchIndexer.isValidSearchWeight(searchWeight)){//validate the value provided in the model.
LOG.warn("Invalid search weight {} for attribute {}.{}. Will use default {}",searchWeight,entityDef.getName(),attributeName,DEFAULT_SEARCHWEIGHT_FOR_STRINGS);
LOG.warn("Invalid search weight {} for attribute {}.{}. Will use default {}",searchWeight,entityDef.getName(),propertyName,DEFAULT_SEARCHWEIGHT_FOR_STRINGS);
searchWeight=DEFAULT_SEARCHWEIGHT_FOR_STRINGS;
}
if(LOG.isDebugEnabled()){
LOG.debug("Applying search weight {} for attribute {}.{}",searchWeight,entityDef.getName(),attributeName);
LOG.debug("Applying search weight {} for attribute {}.{}",searchWeight,entityDef.getName(),propertyName);