private BaseQueryBuilder parseDateTerm(AdvancedQueryPojo.QueryTermPojo.TimeTermPojo time, StringBuffer sQueryTerm, String sFieldName, boolean lockMaxToNow)
{
BaseQueryBuilder termQ = null;
long nMinTime = 0L;
long nMaxTime = _nNow;
Interval interval = parseMinMaxDates(time, nMinTime, nMaxTime, lockMaxToNow);
nMinTime = interval.getStartMillis();
nMaxTime = interval.getEndMillis();
termQ = QueryBuilders.constantScoreQuery(
FilterBuilders.numericRangeFilter(sFieldName).from(nMinTime).to(nMaxTime)).boost((float)1.0);
sQueryTerm.append(sFieldName).append(":[").