Commit Graph

3758 Commits

Author SHA1 Message Date
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
Michael Busch e488bb0d5f LUCENE-1792: remove obsolete files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805639 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 00:32:05 +00:00
Michael Busch 5864c5795c LUCENE-1792: remove obsolete files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805638 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 00:31:05 +00:00
Michael Busch 565a6d22b5 LUCENE-1792: Fix new query parser to set rewrite method for multi-term queries.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805633 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 00:09:41 +00:00
Mark Robert Miller 7700fa3626 LUCENE-1819: MatchAllDocsQuery.toString(field) should produce output that is parsable by the QueryParser.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805624 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 23:09:18 +00:00
Chris M. Hostetter f720852e37 LUCENE-1791: Enhance QueryUtils and CheckHits to wrap everything they check in MultiReader/MultiSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805525 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 18:25:47 +00:00
Robert Muir 3887cf9419 LUCENE-1692: Additional tests and javadocs for contrib/analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805400 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 12:55:26 +00:00
Mark Robert Miller 524c9ceb70 update javadocs to match Lucene's def of primitive Query types
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805268 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 03:48:44 +00:00
Mark Robert Miller 7ae9cddfef LUCENE-1808: Query.createWeight has been changed from protected to public
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805189 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 22:28:51 +00:00
Mark Robert Miller a77168d3c9 LUCENE-1818: QueryWrapperFilter using createWeight rather than weight
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805185 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 22:22:00 +00:00
Mark Robert Miller 4184f368ff javadoc spell fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804999 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 14:45:01 +00:00
Mark Robert Miller 465fac206f LUCENE-1790 hashCode/equals update
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804994 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 14:27:19 +00:00
Mark Robert Miller 20505fd0d5 LUCENE-1522 fix + test
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804786 13f79535-47bb-0310-9956-ffa450edef68
2009-08-16 21:56:51 +00:00
Robert Muir d2af6ef0bd LUCENE-1794: Implement TokenStream reuse for contrib Analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804680 13f79535-47bb-0310-9956-ffa450edef68
2009-08-16 12:37:05 +00:00
Chris M. Hostetter 3dbcc8f1a5 fixing obvious javadoc mistakes in core (the kind that cause the javadoc command to generate warning messages)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804617 13f79535-47bb-0310-9956-ffa450edef68
2009-08-16 05:14:38 +00:00
Mark Robert Miller 395c65ad08 change PositionCheckingMap to use an entry iterator in putAll rather than keyset - faster
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804516 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 19:09:34 +00:00
Michael McCandless 90c8ef28c8 LUCENE-1811: fix thread safety bug in testcase
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804474 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 14:06:19 +00:00
Michael McCandless 316ce42d99 LUCENE-1809: make highlihter vs vector highlighter comparison more fair
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804447 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 10:01:50 +00:00
Uwe Schindler b16e0aa31b LUCENE-1801: All Tokenizers/TokenStreams that are source of tokens call AttributeSource.clearAttributes() first. Made Token.clear() consistent to AttributeImpl (clear everything)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804392 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 22:01:42 +00:00
Grant Ingersoll e3db2b9906 LUCENE-1790: pass in position information for scoring
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804178 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 12:14:19 +00:00
Erik Hatcher 5724eb4dc9 LUCENE-1806: add args to test macro (Jason Rutherglen via ehatcher)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804161 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 11:00:48 +00:00
Michael McCandless 52d796013f LUCENE-1807: allow passing the Map of field name -> analyzer to PerFieldAnalyzerWrapper
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804133 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 09:10:38 +00:00
Michael McCandless e166d54f87 LUCENE-1802: undeprecate current QueryParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804016 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 20:08:58 +00:00
Michael McCandless 1eb8149fb3 LUCENE-1789: add MultiValueSource wrapper to protect an existing ValueSource from using 2X RAM in FieldCache if composite reader is passed to getValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804006 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 19:39:29 +00:00