Hi,
I use HIBERNATE SEARCH and I indexed a field "dataEntryOwner" of a class "dataEntryValue" :
Code:
@Indexed
public class DataEntryValue {
.........
.........
@Field(index=Index.UN_TOKENIZED)
public String getDataEntryOwner() {
boolean test = false;
String result = "";
DataEntryOwner dataEntryOwner = null;
Set<DataEntryOwner> dataEntryOwners = itemData.getItemGroupData().getFormData().getDataEntryOwners();
Iterator<DataEntryOwner> it = dataEntryOwners.iterator();
while (it.hasNext() && test==false) {
dataEntryOwner = it.next();
if (dataEntryType.equals(dataEntryOwner.getDataEntryType())) {
result = dataEntryOwner.getUser().getUsername();
test = true;
}
}
return result;
}
........
........
}
I chose the default Analyzer, so it is the StandardAnalyzer. According to HIBERNATE SEARCH IN ACTION, everything is indexed in lower case. Everything is fine for 95% of my indexed properties. But my "dataEntryOwner" property is indexed in upper case. I don't understand why that property is indexed in upper case ? Thank-you in advance for your help