Commit Graph

3771 Commits

Author SHA1 Message Date
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
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