Commit Graph

3866 Commits

Author SHA1 Message Date
Mark Robert Miller 1a96b72fed a few more improvements to the package level javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807819 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 21:50:15 +00:00
Mark Robert Miller 1e4c3cdf86 {@link AttributeFactory} should be {@link AttributeSource.AttributeFactory}
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807809 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 21:26:35 +00:00
Simon Willnauer a6eecd50c6 LUCENE-1845: Skip compile, test and jar if the dbd.jar download fails in a nightly build.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807772 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 19:22:01 +00:00
Mark Robert Miller e0b5100b80 improve/correct runtime entry for LUCENE-1483
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807767 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 19:13:38 +00:00
Michael McCandless ebbae9eb92 LUCENE-1845: set nightly property when nightly target is run
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807763 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 19:07:16 +00:00
Mark Robert Miller caa67be375 update TestDemo code (match overview.html, they were out of whack, plus use non deprecated code)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807755 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 18:36:08 +00:00
Mark Robert Miller 52bffef75b update demo to non deprecated usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807739 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 18:08:45 +00:00
Mark Robert Miller c14f80205f put useful info in deprecations as first sentence - then it shows up as summary for javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807735 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 18:02:39 +00:00
Mark Robert Miller e9ebe4a0fb improve/fix/update overview javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807728 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 17:47:35 +00:00
Mark Robert Miller a651ca7ce9 fix javadoc typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807726 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 17:45:06 +00:00
Uwe Schindler c339c58f4e onlyUseNewAPI is a static, so non-instance variable. It is used only to initialize TokenStreams and can be changed after. Because of that the tests in incrementToken()/next()/next(Token) should not use it. It is enough to test for tokenWrapper==null to detect a onlyNewAPI TokenStream instance.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807682 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 15:58:00 +00:00
Grant Ingersoll 7dd9b440aa LUCENE-1848: remove old version references where it makes sense
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807653 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 14:36:47 +00:00
Mark Robert Miller 3519f543e7 LUCENE-1760: javadoc improvements for TokenStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807645 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 14:16:00 +00:00
Uwe Schindler 1a23145d53 LUCENE-1843: missed names :(
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807607 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 13:16:16 +00:00
Uwe Schindler 986260a672 LUCENE-1843, LUCENE-1836: Add missing note in CHANGES.txt "Test Cases" section.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807605 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 13:14:00 +00:00
Mark Robert Miller c1c2ce7716 LUCENE-1847: PhraseQuery/TermQuery/SpanQuery use IndexReader specific stats in their Weight#explain methods - these stats should be corpus wide.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807595 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 12:50:06 +00:00
Mark Robert Miller ca3f86d815 remove java 1.5 code - String.contains
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807578 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 12:29:15 +00:00
Michael McCandless 4b441c2eef improvements to CharStream/Reader/Filter & related classes' javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807574 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 12:02:17 +00:00
Michael McCandless 53dab68854 LUCENE-1798: add infoStream to FieldCache to print any increase in insanity when it happens
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807572 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 11:44:45 +00:00
Michael Busch e8caefdb7d LUCENE-1852: Fix localization test failures.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807499 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 06:48:36 +00:00
Michael Busch 4b6e01654c LUCENE-1836: Fix localization bug in the new query parser and add new LocalizedTestCase as base class for localization junit tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807494 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 06:19:14 +00:00
Uwe Schindler eeb96239db Sorry for the last commit, this is the better solution. As the offset attribute was normally already added before in the indexing process, the addAttribute is at no cost. And the additional if-clause is prevented (I missed a second one in the previous commit). Now only payloads are conditional to attribute existence.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807223 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 14:03:51 +00:00
Uwe Schindler 5cd31d4683 Prevent a NPE, when OffsetAttribute is not available.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807216 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 13:50:10 +00:00
Grant Ingersoll 90ba4496ef javadoc addition directing users where to start with this class
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807209 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 13:35:13 +00:00
Mark Robert Miller 52eea1618e this whole bit is somewhat rough - some quick improvements here, but needs more
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807207 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 13:29:57 +00:00
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