Commit Graph

3941 Commits

Author SHA1 Message Date
Mark Robert Miller ae88817d01 javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807201 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 13:22:34 +00:00
Uwe Schindler 367b35f0cb LUCENE-1843: Update contrib tests to conform to onlyUseNewAPI; refactored assertAnalyzesTo and others into the new BaseTokenStreamTestCase class; Rewrote TestMappingCharFilter to use the new assert functions, too; performance improvements of Token.copyTo(); new impl of SingleTokenTokenStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807190 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 12:44:13 +00:00
Mark Robert Miller 32abcdc6de LUCENE-1837: Remove Searcher from Weight#explain - partial revert of LUCENE-1771
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807180 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 12:26:43 +00:00
Uwe Schindler 5dd1810b0c LUCENE-1846: Fix more Locale problems
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807117 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 08:31:34 +00:00
Uwe Schindler 481245def6 Fix small initialization bug in TermAttributeImpl.copyTo()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807029 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 23:07:04 +00:00
Uwe Schindler ec49cc2527 Fix small initialization bug in Token.copyTo()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807028 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 23:06:00 +00:00
Uwe Schindler 4745c8db05 LUCENE-1825: Another one :(
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806990 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 16:35:50 +00:00
Uwe Schindler c2f95d474b LUCENE-1825: Additional incorrect getAttribute usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806986 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 16:17:08 +00:00
Robert Muir 6847c0e2bd LUCENE-1826: the new tokenizer constructors should not allow deprecated charsets
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806961 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 12:39:28 +00:00
Uwe Schindler 22311453db Cleanup on tearDown to really reset the TokenStream API to the default
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806949 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 10:17:09 +00:00
Uwe Schindler 47ddf173a7 Change also the default LuceneTestCase to override runBare() instead of runTest(). This enables tests, to also monitor failures in random during setUp() and tearDown().
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806947 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 10:01:05 +00:00
Michael Busch 64ed5f39a5 LUCENE-1826: Add constructors that take AttributeSource and AttributeFactory to all Tokenizer implementations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806942 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 08:34:22 +00:00
Mark Robert Miller fd861761f0 using entry set is faster than looping on key set when you use map.get(key) in loop
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806928 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 05:12:53 +00:00
Grant Ingersoll 0d663ab490 LUCENE-1841: file format summary info
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806916 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 01:18:52 +00:00
Mark Robert Miller 1f334bb02a regex has been moved from core - package should have been removed from test src
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806900 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 22:16:47 +00:00
Mark Robert Miller 9712dbe0ea LUCENE-1827: Make the payload span queries consistent
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806894 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 21:24:27 +00:00
Mark Robert Miller fd424ef0fc more work on Scorer javadoc in package.html
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806893 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 21:16:59 +00:00
Mark Robert Miller bd565a3917 LUCENE-1839: change explain from abstract to throw UnsupportedOperationException
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806892 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 21:05:31 +00:00
Robert Muir 8e4e7e17d0 LUCENE-1834: Remove unused code in SmartChineseAnalyzer hmm pkg
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806891 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 21:03:08 +00:00
Robert Muir 1ebbe2abd1 LUCENE-1793: Deprecate custom encoding support in Greek and Russian analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806886 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 20:36:06 +00:00
Mark Robert Miller 136f054a05 LUCENE-1838: BoostingNearQuery must implement clone/toString
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806885 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 20:23:00 +00:00
Uwe Schindler 426ffd809e LUCENE-1843: Convert some tests to new TokenStream API, better support of cross-impl AttributeImpl.copyTo()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806847 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 12:40:09 +00:00
Uwe Schindler 23d976abbd LUCENE-1825: Incorrect usage of AttributeSource.addAttribute/getAttribute leads to failures when onlyUseNewAPI=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806844 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 12:04:35 +00:00
Michael Busch f409117a6f LUCENE-1829: Fix contrib query parser to properly create javacc files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806755 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 23:19:26 +00:00
Mark Robert Miller 6fb76f644a pull QueryUtil check back out
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806645 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 17:04:42 +00:00
Michael Busch a83d337f41 LUCENE-1832: Remove unnecessary null check in TermInfosReader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806637 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 16:47:48 +00:00
Mark Robert Miller 9e18f599d1 check BoostingNearQuery with QueryUtils
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806599 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 15:26:06 +00:00
Mark Robert Miller 9dad6f3246 LUCENE-1830: hashCode + equals for BoostNearQuery and PayloadFunction
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806591 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 15:12:41 +00:00
Mark Robert Miller ac89d0acad fix javadoc - this should not be deprecated - mistake in reversion of QueryWieght
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806561 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 14:01:18 +00:00
Simon Willnauer 61a68fe46f Added the changes in LUCENE-1728 to the "Build" section of contrib/CHANGES.TXT
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806536 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 12:59:07 +00:00
Uwe Schindler 59d358e68f use the type String and do not clone explicitely (Strings are final and unmodifable)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806530 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 12:43:21 +00:00
Mark Robert Miller cf8689ba22 javadoc spell fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806527 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 12:36:10 +00:00
Uwe Schindler b0dcd91a62 LUCENE-1835: Signature changes in AttributeSource for better Generics support of AddAttribute/getAttribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806523 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 12:11:46 +00:00
Michael Busch 82c8a2ffc2 Fix if clause in MultiTermRewriteMethodProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806456 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 08:36:31 +00:00
Michael Busch 5a40767d67 LUCENE-1828: Fix MemoryIndex to call TokenStream.reset() and TokenStream.end().
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806444 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 08:02:40 +00:00
Uwe Schindler d3cb8b3dbc LUCENE-1831: TokenWrapperAttributeFactory, CachingWrapperFilterHelper implements equals and so should also implement hashCode
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806381 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 22:24:21 +00:00
Mark Robert Miller 2407024b5a javadoc spell fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806380 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 22:21:34 +00:00
Mark Robert Miller de38872c68 remove a few unnecessary dead stores from tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806372 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 21:51:47 +00:00
Mark Robert Miller c49c47515f update/fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806322 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 19:40:15 +00:00
Mark Robert Miller c7aaef6ff0 remove unused import
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806233 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 16:02:26 +00:00
Mark Robert Miller 6c0b8fcb4c Add a javadoc class header to ReaderUtils
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806225 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 15:46:52 +00:00
Mark Robert Miller 20f47b453b remove periods from eg and ie - if its in the first sentence, it screws up the javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806221 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 15:42:12 +00:00
Mark Robert Miller 57a8bb31cb Replace stub with an actual class javadoc header.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806216 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 15:33:37 +00:00
Mark Robert Miller ff30761dfc add a link to Tokenizer and remove the periods in eg - javadoc will use up to the first period for summary
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806212 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 15:22:39 +00:00
Mark Robert Miller 96c2f038f3 put in a stub class javadoc comment so that the javadoc summary is not "Expert: Only public for subclassing. Most implementations should not need this class"
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806210 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 15:18:12 +00:00
Mark Robert Miller b4c0d64924 update/fix search.payloads package.html
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806208 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 15:13:42 +00:00
Mark Robert Miller a27db540e6 update/fix search package javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806191 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 14:36:37 +00:00
Mark Robert Miller 26afe4749e The first sentence of a deprecation should indicate what to use instead so that shows up in the summary - having "this will be removed in 3.0" show up in the summary is much less useful.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806160 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 13:17:37 +00:00
Mark Robert Miller 66c2217a55 improve Highlighter javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805923 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 18:43:43 +00:00
Mark Robert Miller 99b3406bb5 nice to put deprecation replacement after annotation - that gets in the javadoc summary
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805911 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 18:16:00 +00:00