Searched defs:year (Results 1 - 8 of 8) sorted by relevance

/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/
H A DTestSearch.java132 static long Time(int year, int month, int day) { argument
135 calendar.set(year, month, day);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/
H A DTestSearch.java140 static long Time(int year, int month, int day) { argument
143 calendar.set(year, month, day);
/lucene-3.6.0/lucene/contrib/join/src/test/org/apache/lucene/search/
H A DTestBlockJoin.java60 private Document makeJob(String skill, int year) { argument
63 job.add(new NumericField("year", Field.Store.YES, true).setIntValue(year));
68 private Document makeQualification(String qualification, int year) { argument
71 job.add(new NumericField("year").setIntValue(year));
105 childQuery.add(new BooleanClause(NumericRangeQuery.newIntRange("year", 2006, 2011, true, true), Occur.MUST));
153 assertEquals(2007, ((NumericField) childDoc.getFieldable("year")).getNumericValue());
208 childQuery.add(new BooleanClause(NumericRangeQuery.newIntRange("year", 2006, 2011, true, true), Occur.MUST));
903 childJobQuery.add(new BooleanClause(NumericRangeQuery.newIntRange("year", 200
[all...]
/lucene-3.6.0/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/precedence/
H A DTestPrecedenceQueryParser.java399 private String getLocalizedDate(int year, int month, int day, argument
403 calendar.set(year, month, day);
/lucene-3.6.0/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/standard/
H A DTestQPHelper.java718 private String getLocalizedDate(int year, int month, int day) { argument
722 calendar.set(year, month, day);
1207 private void addDateDoc(String content, int year, int month, int day, argument
1212 cal.set(year, month - 1, day, hour, minute, second);
H A DTestQueryParserWrapper.java698 private String getLocalizedDate(int year, int month, int day) { argument
702 calendar.set(year, month, day);
1167 private void addDateDoc(String content, int year, int month, int day, argument
1172 cal.set(year, month - 1, day, hour, minute, second);
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/queryParser/
H A DQueryParserTestBase.java610 private String getLocalizedDate(int year, int month, int day) { argument
614 calendar.set(year, month, day);
1075 private void addDateDoc(String content, int year, int month, argument
1080 cal.set(year, month-1, day, hour, minute, second);
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/queryParser/
H A DQueryParserTestBase.java602 private String getLocalizedDate(int year, int month, int day) { argument
606 calendar.set(year, month, day);
1067 private void addDateDoc(String content, int year, int month, argument
1072 cal.set(year, month-1, day, hour, minute, second);

Completed in 58 milliseconds