Commit Graph

3825 Commits

Author SHA1 Message Date
Mark Robert Miller 9a9d9dfa11 add images so forrest works on versioned site
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807865 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 01:52:45 +00:00
Mark Robert Miller ef0fc55437 change ref from Hits (deprecated) to TopDocs in overview.html
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807852 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 23:26:12 +00:00
Uwe Schindler 4a9ef8447d LUCENE-1826: NumericTokenStream is not a Tokenizer subclass but source of tokens
and should therefore also have AttributeSource/AttributeFactory ctors.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807849 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 23:12:22 +00:00
Mark Robert Miller a1bd9277ca fix last attempted AttributeFactory link fix and update some other simple javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807841 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 22:27:31 +00:00
Mark Robert Miller 235791086f LUCENE-1854: tar task should use longfile="gnu" to avoid false file name length warnings.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807838 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 22:18:04 +00:00
Michael Busch 1f15246336 LUCENE-1851: Change 'javacc' and 'clean-javacc' targets to build and clean contrib/surround files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807835 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 22:14:07 +00:00
Uwe Schindler 40b90c98c4 More AttributeSource usage tips. addAttribute/getAttribute leads often to a misunderstanding (even the core developers) :-)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807831 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 22:09:46 +00:00
Mark Robert Miller cd1fd9768f remove unused AttribSource import
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807824 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 22:00:13 +00:00
Michael McCandless d0b93aa94c LUCENE-1849: fix FilteredQuery to pass 'true' for scoreDocsInOrder to its sub-scorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807821 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 21:55:49 +00:00
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