This commit is contained in:
anupsawant 2011-05-26 00:31:00 +00:00
parent 7d14c52c12
commit a92fd0bdad
2 changed files with 26 additions and 26 deletions

View file

@ -708,7 +708,7 @@
--> -->
<lst name="defaults"> <lst name="defaults">
<str name="defType">dismax</str> <str name="defType">dismax</str>
<str name="qf">nameRaw nameLowercase nameUnstemmed nameStemmed ALLTEXT ALLTEXTUNSTEMMED ALLTEXT_PHONETIC NAME_PHONETIC</str> <str name="qf">nameRaw nameLowercase nameUnstemmed nameStemmed ALLTEXT ALLTEXTUNSTEMMED ALLTEXT_PHONETIC NAME_PHONETIC contextNode</str>
<str name="echoParams">explicit</str> <str name="echoParams">explicit</str>
<str name="bf">BETA</str> <str name="bf">BETA</str>
<int name="rows">10</int> <int name="rows">10</int>

View file

@ -168,42 +168,42 @@ public class SearchQueryHandler {
if(hrJobTitle != null){ if(hrJobTitle != null){
propertyValues.append(" " + hrJobTitle.toString()); propertyValues.append(" " + hrJobTitle.toString());
}else{ }else{
log.warn("hrJobTitle is null "); log.debug("hrJobTitle is null ");
} }
RDFNode involvedOrganizationName = soln.get("involvedOrganizationName"); RDFNode involvedOrganizationName = soln.get("involvedOrganizationName");
if(involvedOrganizationName != null){ if(involvedOrganizationName != null){
propertyValues.append(" " + involvedOrganizationName.toString()); propertyValues.append(" " + involvedOrganizationName.toString());
}else{ }else{
log.warn("involvedOrganizationName is null "); log.debug("involvedOrganizationName is null ");
} }
RDFNode positionForPerson = soln.get("positionForPerson"); RDFNode positionForPerson = soln.get("positionForPerson");
if(positionForPerson != null){ if(positionForPerson != null){
propertyValues.append(" " + positionForPerson.toString()); propertyValues.append(" " + positionForPerson.toString());
}else{ }else{
log.warn("positionForPerson is null "); log.debug("positionForPerson is null ");
} }
RDFNode positionInOrganization = soln.get("positionInOrganization"); RDFNode positionInOrganization = soln.get("positionInOrganization");
if(positionInOrganization != null){ if(positionInOrganization != null){
propertyValues.append(" " + positionInOrganization.toString()); propertyValues.append(" " + positionInOrganization.toString());
}else{ }else{
log.warn("positionInOrganization is null "); log.debug("positionInOrganization is null ");
} }
RDFNode titleOrRole = soln.get("titleOrRole"); RDFNode titleOrRole = soln.get("titleOrRole");
if(titleOrRole != null){ if(titleOrRole != null){
propertyValues.append(" " + titleOrRole.toString()); propertyValues.append(" " + titleOrRole.toString());
}else{ }else{
log.warn("titleOrRole is null "); log.debug("titleOrRole is null ");
} }
RDFNode positionLabel = soln.get("positionLabel"); RDFNode positionLabel = soln.get("positionLabel");
if(positionLabel != null){ if(positionLabel != null){
propertyValues.append(" " + positionLabel.toString()); propertyValues.append(" " + positionLabel.toString());
}else{ }else{
log.warn("positionLabel is null "); log.debug("positionLabel is null ");
} }
} }
@ -268,28 +268,28 @@ public class SearchQueryHandler {
if(advisee != null){ if(advisee != null){
propertyValues.append(" " + advisee.toString()); propertyValues.append(" " + advisee.toString());
}else{ }else{
log.warn("advisee is null "); log.debug("advisee is null ");
} }
RDFNode degreeCandidacy = soln.get("degreeCandidacy"); RDFNode degreeCandidacy = soln.get("degreeCandidacy");
if(degreeCandidacy != null){ if(degreeCandidacy != null){
propertyValues.append(" " + degreeCandidacy.toString()); propertyValues.append(" " + degreeCandidacy.toString());
}else{ }else{
log.warn("degreeCandidacy is null "); log.debug("degreeCandidacy is null ");
} }
RDFNode linkedAuthor = soln.get("linkedAuthor"); RDFNode linkedAuthor = soln.get("linkedAuthor");
if(linkedAuthor != null){ if(linkedAuthor != null){
propertyValues.append(" " + linkedAuthor.toString()); propertyValues.append(" " + linkedAuthor.toString());
}else{ }else{
log.warn("linkedAuthor is null "); log.debug("linkedAuthor is null ");
} }
RDFNode linkedInformationResource = soln.get("linkedInformationResource"); RDFNode linkedInformationResource = soln.get("linkedInformationResource");
if(linkedInformationResource != null){ if(linkedInformationResource != null){
propertyValues.append(" " + linkedInformationResource.toString()); propertyValues.append(" " + linkedInformationResource.toString());
}else{ }else{
log.warn("linkedInformationResource is null "); log.debug("linkedInformationResource is null ");
} }
} }
@ -355,28 +355,28 @@ public class SearchQueryHandler {
if(awardConferredBy != null){ if(awardConferredBy != null){
propertyValues.append(" " + awardConferredBy.toString()); propertyValues.append(" " + awardConferredBy.toString());
}else{ }else{
log.warn("awardConferredBy is null "); log.debug("awardConferredBy is null ");
} }
RDFNode awardOrHonorFor = soln.get("awardOrHonorFor"); RDFNode awardOrHonorFor = soln.get("awardOrHonorFor");
if(awardOrHonorFor != null){ if(awardOrHonorFor != null){
propertyValues.append(" " + awardOrHonorFor.toString()); propertyValues.append(" " + awardOrHonorFor.toString());
}else{ }else{
log.warn("awardOrHonorFor is null "); log.debug("awardOrHonorFor is null ");
} }
RDFNode description = soln.get("description"); RDFNode description = soln.get("description");
if(description != null){ if(description != null){
propertyValues.append(" " + description.toString()); propertyValues.append(" " + description.toString());
}else{ }else{
log.warn("description is null "); log.debug("description is null ");
} }
RDFNode awardReceiptLabel = soln.get("awardReceiptLabel"); RDFNode awardReceiptLabel = soln.get("awardReceiptLabel");
if(awardReceiptLabel != null){ if(awardReceiptLabel != null){
propertyValues.append(" " + awardReceiptLabel.toString()); propertyValues.append(" " + awardReceiptLabel.toString());
}else{ }else{
log.warn("awardReceiptLabel is null "); log.debug("awardReceiptLabel is null ");
} }
} }
@ -502,35 +502,35 @@ public class SearchQueryHandler {
if(academicDegreeLabel != null){ if(academicDegreeLabel != null){
propertyValues.append(" " + academicDegreeLabel.toString()); propertyValues.append(" " + academicDegreeLabel.toString());
}else{ }else{
log.warn("academicDegreeLabel is null "); log.debug("academicDegreeLabel is null ");
} }
RDFNode academicDegreeAbbreviation = soln.get("academicDegreeAbbreviation"); RDFNode academicDegreeAbbreviation = soln.get("academicDegreeAbbreviation");
if(academicDegreeAbbreviation != null){ if(academicDegreeAbbreviation != null){
propertyValues.append(" " + academicDegreeAbbreviation.toString()); propertyValues.append(" " + academicDegreeAbbreviation.toString());
}else{ }else{
log.warn("academicDegreeAbbreviation is null "); log.debug("academicDegreeAbbreviation is null ");
} }
RDFNode majorField = soln.get("majorField"); RDFNode majorField = soln.get("majorField");
if(majorField != null){ if(majorField != null){
propertyValues.append(" " + majorField.toString()); propertyValues.append(" " + majorField.toString());
}else{ }else{
log.warn("majorField is null "); log.debug("majorField is null ");
} }
RDFNode trainingAtDepartmentOrSchool = soln.get("departmentOrSchool"); RDFNode trainingAtDepartmentOrSchool = soln.get("departmentOrSchool");
if(trainingAtDepartmentOrSchool != null){ if(trainingAtDepartmentOrSchool != null){
propertyValues.append(" " + trainingAtDepartmentOrSchool.toString()); propertyValues.append(" " + trainingAtDepartmentOrSchool.toString());
}else{ }else{
log.warn("trainingAtDepartmentOrSchool is null "); log.debug("trainingAtDepartmentOrSchool is null ");
} }
RDFNode trainingAtOrganizationLabel = soln.get("trainingAtOrganizationLabel"); RDFNode trainingAtOrganizationLabel = soln.get("trainingAtOrganizationLabel");
if(trainingAtOrganizationLabel != null){ if(trainingAtOrganizationLabel != null){
propertyValues.append(" " + trainingAtOrganizationLabel.toString()); propertyValues.append(" " + trainingAtOrganizationLabel.toString());
}else{ }else{
log.warn("trainingAtOrganizationLabel is null "); log.debug("trainingAtOrganizationLabel is null ");
} }
} }
@ -596,42 +596,42 @@ public class SearchQueryHandler {
if(linkedAuthor != null){ if(linkedAuthor != null){
propertyValues.append(" " + linkedAuthor.toString()); propertyValues.append(" " + linkedAuthor.toString());
}else{ }else{
log.warn("linkedAuthor is null "); log.debug("linkedAuthor is null ");
} }
RDFNode linkedInformationResource = soln.get("linkedInformationResource"); RDFNode linkedInformationResource = soln.get("linkedInformationResource");
if(linkedInformationResource != null){ if(linkedInformationResource != null){
propertyValues.append(" " + linkedInformationResource.toString()); propertyValues.append(" " + linkedInformationResource.toString());
}else{ }else{
log.warn("linkedInformationResource is null "); log.debug("linkedInformationResource is null ");
} }
RDFNode editor = soln.get("editor"); RDFNode editor = soln.get("editor");
if(editor != null){ if(editor != null){
propertyValues.append(" " + editor.toString()); propertyValues.append(" " + editor.toString());
}else{ }else{
log.warn("editor is null "); log.debug("editor is null ");
} }
RDFNode subjectArea = soln.get("subjectArea"); RDFNode subjectArea = soln.get("subjectArea");
if(subjectArea != null){ if(subjectArea != null){
propertyValues.append(" " + subjectArea.toString()); propertyValues.append(" " + subjectArea.toString());
}else{ }else{
log.warn("subjectArea is null "); log.debug("subjectArea is null ");
} }
RDFNode researchAreaOf = soln.get("researchAreaOf"); RDFNode researchAreaOf = soln.get("researchAreaOf");
if(researchAreaOf != null){ if(researchAreaOf != null){
propertyValues.append(" " + researchAreaOf.toString()); propertyValues.append(" " + researchAreaOf.toString());
}else{ }else{
log.warn("researchAreaOf is null "); log.debug("researchAreaOf is null ");
} }
RDFNode features = soln.get("features"); RDFNode features = soln.get("features");
if(features != null){ if(features != null){
propertyValues.append(" " + features.toString()); propertyValues.append(" " + features.toString());
}else{ }else{
log.warn("features is null "); log.debug("features is null ");
} }
} }