Searched defs:now (Results 1 - 5 of 5) sorted by relevance

/lucene-3.6.0/solr/core/src/java/org/apache/solr/request/
H A DSolrRequestInfo.java32 protected Date now; field in class:SolrRequestInfo
60 if (now != null) return now;
71 now = new Date(ms);
72 return now;
H A DSimpleFacets.java108 // reset set the default key now that localParams have been removed
439 // now select the right page from the results
1147 private final Date now; field in class:SimpleFacets.DateRangeEndpointCalculator
1149 final Date now) {
1151 this.now = now;
1163 return ((DateField)field.getType()).parseMath(now, rawval);
1148 DateRangeEndpointCalculator(final SchemaField f, final Date now) argument
/lucene-3.6.0/solr/core/src/java/org/apache/solr/util/
H A DDateMathParser.java51 * ... Exactly two years in the future from now
53 * ... Exactly 1 day prior to now
58 * ... 6 months and 3 days in the future from now, rounded
63 * All commands are relative to a "now" which is fixed in an instance of
194 private Date now; field in class:DateMathParser
206 /** Redefines this instance's concept of "now" */
208 now = n;
211 /** Returns a cloned of this instance's concept of "now" */
213 if (now == null) {
217 now
[all...]
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/common/util/
H A DRTimer.java48 startTime = now();
56 protected double now() { return System.currentTimeMillis(); } method in class:RTimer
63 time += now() - startTime;
76 culmTime += now() - startTime;
85 startTime = now();
/lucene-3.6.0/solr/core/src/java/org/apache/solr/schema/
H A DDateField.java137 * @param now an optional fixed date to use as "NOW" in the DateMathParser
140 public Date parseMath(Date now, String val) { argument
144 if (null != now) p.setNow(now);
277 * @param now an optional fixed date to use as "NOW" in the DateMathParser
280 public Date parseMathLenient(Date now, String val, SolrQueryRequest req) { argument
284 if (null != now) p.setNow(now);

Completed in 46 milliseconds