Below is the search definition of my document. I have field "expire" which is a timestamp in my document.Now I want to search documents using yql query if isActive="1" and test.expire - now() > 0.Can I achieve this by query?
search test {
document test {
field Id type string {
indexing: index|summary
}
field isActive type string {
indexing: index|summary
}
field expire type long {
indexing: index | summary
}
field detail type string {
indexing: summary
}
}
}
If yes then what would be my query? How can I apply condition in my query?Please help