Hi,

I need help on using a custom function in filter query. Can anyone help on
how to get it wokring. Below is the problem statement.

Have a date field in long and a buffer time in milliseconds in the documents
which can vary.

startTime: 1538866800000
bufferTime: 86400

Need to query for docs who's startTime is currentTime - bufferTime

like:

fq=startTime:[* TO sub(NOW, bufferTime)]

Thanks,
skanth





--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to