i facing issue search ranges in lucene.net. have employee minrate , maxrate 2 fields in document. have search employees input again range minvalue , maxvalue. have filter employees, range overlaps in search range. if not then, should not return results.
my fields minrate, maxrate input fields or minval , maxval
i following approach, check minval in between minrate , maxrate - (+minrate:[0000 minval] +maxrate:[minval 1000])
then maxval between minrate , maxrate - (+minrate:[0000 maxval] +maxrate:[maxval 1000])
now have see if either 1 of query true results have displayed. have other filters also, when combined them, overall rate condition has mandatory.
any how approach helpful.
Comments
Post a Comment