Commit Graph

3881 Commits

Author SHA1 Message Date
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
Mark Robert Miller 6136508670 to/do typo and minor formatting fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805869 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 16:32:21 +00:00
Mark Robert Miller a08b3bf581 couple minor tweaks to backward compat section entry 4. LUCENE-1422,LUCENE-1693 and runtime changes section entry 12. LUCENE-1801
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805862 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 16:14:38 +00:00
Mark Robert Miller 5ffe47ff1c couple minor tweaks to backward compat section entry 2. LUCENE-1687
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805856 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 16:04:50 +00:00
Mark Robert Miller 6c4a1cecf4 couple minor tweaks to backward compat section entry 1. LUCENE-1575
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805853 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 15:57:05 +00:00
Mark Robert Miller f43dd8e942 license + javadoc spell fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805847 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 15:46:32 +00:00
Mark Robert Miller c7641880b4 add a runtime changes entry for 1483
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805815 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 14:22:03 +00:00
Robert Muir 1d9a96c2fc LUCENE-1813: Add option to ReverseStringFilter to mark reversed tokens
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805769 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 12:07:15 +00:00
Robert Muir 58cd4a04d7 LUCENE-1794: Ensure analyzer options are applied immediately when using reusable token streams
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805766 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 11:56:31 +00:00
Mark Robert Miller 39ada16b9c fix some javadoc @returns
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805650 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 02:42:24 +00:00
Mark Robert Miller 124af950a6 Fix duplicate code and one version of getWeightedSpanTerms - should accept a TokenStream now rather than a CachingTokenStream.
Also fixes getWeightedSpanTermsWithScores to intern the fieldname.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805645 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 01:16:23 +00:00