Commit Graph

4165 Commits

Author SHA1 Message Date
Uwe Schindler 27b05ac971 Java 1.4 -> 1.5
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821171 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 21:19:25 +00:00
Uwe Schindler 698b73e2ae LUCENE-1935: Generify PriorityQueue
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821104 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 17:28:03 +00:00
Uwe Schindler 5e114029b0 LUCENE-1857: Missed one valueOf conversion
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820795 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 21:15:45 +00:00
Uwe Schindler 7ce333d639 LUCENE-1857: Convert NumericRangeQuery API to Generics (and some changes in MTQ, @Override, autoboxing in tests)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820792 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 21:11:39 +00:00
Robert Muir dd9c1b0101 LUCENE-1936: Remove deprecated charset support from Greek and Russian analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820756 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 19:20:09 +00:00
Uwe Schindler c1f5e753d7 LUCENE-1933: Provide a convenience AttributeFactory that creates a Token instance for all basic attributes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820658 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 13:49:46 +00:00
Michael McCandless 009c1d4ca5 LUCENE-1928: fix javadoc for PayloadTermQuery to not refer to deprecated scorePayload API
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820634 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 12:45:05 +00:00
Michael McCandless fa3e8b870c LUCENE-1924: add BalancedSegmentMergePolicy
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820627 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 12:23:03 +00:00
Michael McCandless e1362d4f03 fix TestAtomicUpdate to use random dir in filesystem to avoid conflict if two are running at once
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820623 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 12:13:18 +00:00
Uwe Schindler ec90bc2202 LUCENE-1855: Change AttributeSource API to use generics
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820553 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 07:53:43 +00:00
Uwe Schindler 7733f8ab32 Remove unneeded Java 1.5 properties from contrib build.xmls
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820481 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 22:29:02 +00:00
Michael McCandless 9b0f9934c3 fix silly bug in CheckIndex's checking of increasing positions
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820368 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 18:18:16 +00:00
Uwe Schindler ba5e4445a6 update version here, too
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820366 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 17:56:29 +00:00
Uwe Schindler 5b71d96818 Move to 2.9 branch for backwards tests and enable compilation with source/target=1.4
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820362 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 17:37:49 +00:00
Uwe Schindler ce7761cb29 disable the checkindex version test in backwards
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/branches/lucene_2_9_back_compat_tests@820359 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 17:35:06 +00:00
Uwe Schindler aed1f31fd6 Create a new branch for 2.9 backwards tests. This branch (with deprecated tests removed soonly) should be compiled with java 1.4 by trunk and tests should pass with Java-1.5-generics-enabled trunk Lucene
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/branches/lucene_2_9_back_compat_tests@820331 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 16:14:50 +00:00
Michael McCandless 1577ea694a also move javadoc.link to 1.5
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820129 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 23:50:08 +00:00
Michael McCandless daa39fa5ae move to 1.5!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@820115 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 22:33:28 +00:00
Michael McCandless a5e5dc8794 LUCENE-1925: open up IndexSearcher a bit for expert usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@819130 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 13:02:48 +00:00
Uwe Schindler c390d49290 LUCENE-1926: a more improved version of the test to also fill the attributes with bogus values. This should e.g. detect bugs with position increment not correctly set in all cases
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@818920 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 17:26:11 +00:00
Uwe Schindler b0706ed6b6 LUCENE-1926: Add an extra clearAttributes in assertTokenStreamContents
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@818913 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 16:34:22 +00:00
Uwe Schindler 6ab7c91c83 LUCENE-1926: Javadoc updates for TokenStream to prevent other people from doing the same error like Robert :-)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@818894 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 15:58:58 +00:00
Michael McCandless da19413d09 LUCENE-1781: move CHANGES entry into unreleased section
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@818633 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 21:36:11 +00:00
Mark Robert Miller 6cf3fb071a Starting Lucene 2.9 branch.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/branches/lucene_2_9@818600 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 19:33:28 +00:00
Michael McCandless e10adee615 improve javadocs for IW.getReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@817876 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 22:42:04 +00:00
Michael McCandless 06a9b8d290 LUCENE-1781: fix various issues with lat/lng bounding box computation for contrib/spatial
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@817456 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 00:08:21 +00:00
Mark Robert Miller 16e01820db estimate release in a couple days
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@817268 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 14:23:44 +00:00
Mark Robert Miller 83e500395e fix changes entry for LUCENE-1422, LUCENE-1693 - Token is no longer deprecated
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@817221 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 12:23:16 +00:00
Mark Robert Miller 511c4345b7 merge LUCENE-1658 and LUCENE-1451 changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@817220 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 12:19:07 +00:00
Mark Robert Miller 12d36a1fda javadoc spell fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@816702 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 16:29:57 +00:00
Uwe Schindler ec0c376c45 LUCENE-1919: Fix analysis back compat break. Thanks to Robert Muir for the testcases, and Yonik and Mark Miller for testing!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@816673 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 15:36:24 +00:00
Michael McCandless 0cb96adf12 LUCENE-1918: fix corner cases (resulting in exceptions) when passing ParallelReader to IndexWriter.addIndexes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@816602 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 12:33:51 +00:00
Mark Robert Miller 7c757a03c1 update release date info
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@816368 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 20:18:51 +00:00
Mark Robert Miller 9d7babcb26 LUCENE-1913: FastVectorHighlighter: AIOOBE occurs if one PhraseQuery is contained by another PhraseQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@816192 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 13:56:51 +00:00
Uwe Schindler 8934cbd804 LUCENE-1911: Add a new DocIdSet.isCacheable() method that defaults to false, but is true for some DocIdSet impls, that are effective and use no disk I/O during iteration (OpenBitSet, SortedVIntList, DocIdBitSet, EMPTY_DOCIDSET, some FieldCache filter impls). CachingWrapperFilter now copies all DocIdSets, which are not cacheable, into an OpenBitSetDISI for caching.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@816154 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 12:02:46 +00:00
Michael McCandless dac29b3f49 LUCENE-1912: fix issue when 2 or more terms are concatenated
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@816151 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 11:41:30 +00:00
Doron Cohen 203925ad70 LUCENE-1908: Scoring documentation imrovements in Similarity javadocs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@815414 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 17:44:35 +00:00
Uwe Schindler 95d3f4bd52 LUCENE-1872: Javadocs updates of Numeric*
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@815195 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 07:28:27 +00:00
Uwe Schindler 4666489857 LUCENE-1906: Fix backwards problems with CharStream and Tokenizers with custom reset(Reader) method.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@813671 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 06:12:13 +00:00
Uwe Schindler 05fa98b1bb Javadocs should present tokenattributes pkg inside core
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@813391 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 12:02:01 +00:00
Uwe Schindler 4d87fcd99a LUCENE-1887: Remove o.a.l.messages from the javadocs-all association to query parser contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@813268 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 07:10:29 +00:00
Uwe Schindler c6cb9a300e LUCENE-1877: make FSLockFactory.setLockDir() final to prevent users from doing bad things. This method was package private before, so no bw-problem, but as it is protected now (because an user's customized FSLockFactory must be able to call it from ctor), it must be final (contract: all methods called from ctors should be private or final).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@813267 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 07:06:50 +00:00
Mark Robert Miller 23ae664dc6 LUCENE-1896: improve Similarity#queryNorm javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@813200 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 03:02:50 +00:00
Mark Robert Miller 8acc35da95 LUCENE-1894: fix using the wrong cache
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@813199 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 02:55:47 +00:00
Mark Robert Miller 151fd05016 LUCENE-1887: moves messages from queryParser contrib to core and applies Robert Muir's patch to convert to 1.4
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@813198 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 02:44:50 +00:00
Mark Robert Miller 5bb97b264e LUCENE-1905: fix bug when instantiating SimpleFSLockFacory with a String and add test
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@813154 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 22:50:24 +00:00
Mark Robert Miller 11d65e5cb0 update credits for LUCENE-1901 to better format as suggested by Uwe
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@813015 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 16:04:02 +00:00
Mark Robert Miller 073efff308 add note to LUCENE-1901 - it never appeared in a release
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@813002 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 15:40:48 +00:00
Mark Robert Miller b26483fea6 last commit accidently removed a Changes entry Uwe entered - readding the entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@812989 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 15:19:29 +00:00
Mark Robert Miller 08415d13e2 merge LUCENE-1483: Added new MultiReaderHitCollector... into LUCENE-1575
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@812983 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 14:57:42 +00:00