in entity-browser-app/src/main/kotlin/jetbrains/xodus/browser/web/search/UITypes.kt [39:58]
fun find(tr: StoreTransaction, type: String, property: String, start: String, end: String): EntityIterable {
try {
if (!uiType.isValid(start) || !uiType.isValid(end)) {
return EntityIterableBase.EMPTY
}
val realStart = uiType.toValue(start)
val realEnd = uiType.toValue(end)
if (realStart != null && realEnd != null) {
val result = tr.find(type, property, realStart, realEnd)
if (low != null) {
return result.union(low.find(tr, type, property, start, end))
}
return result
}
return EntityIterableBase.EMPTY
} catch (e: Exception) {
//ignore
return EntityIterableBase.EMPTY
}
}