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 |
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 |