Robert Muir
78e45c92a7
LUCENE-2207: CJKTokenizer generates tokens with incorrect offsets
...
LUCENE-2219: Chinese, SmartChinese, Wikipedia tokenizers generate incorrect offsets, test end() in BaseTokenStreamTestCase
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@900196 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 19:25:57 +00:00
Yonik Seeley
83b144f362
LUCENE-2216: disregard trailing zeros in OpenBitSet.hashCode
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@900030 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 22:13:02 +00:00
Michael McCandless
9caaad0fea
remove $ tags
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@899914 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 10:31:33 +00:00
Uwe Schindler
2bbd00bd1e
move changes.txt entry into contrib
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@899682 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 16:14:24 +00:00
Uwe Schindler
3f722b66a5
LUCENE-2211: Fix various missing clearAttributes() and improve BaseTokenStreamTestCase to check for this trap
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@899627 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 13:42:18 +00:00
Uwe Schindler
a33e867922
LUCENE-2188: Add a utility class for tracking deprecated overridden methods in non-final subclasses
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@898507 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 20:55:21 +00:00
Robert Muir
7d5844740e
LUCENE-2200: final classes had non-overriding protected members
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@897707 13f79535-47bb-0310-9956-ffa450edef68
2010-01-10 21:09:58 +00:00
Michael McCandless
4fb13e4a59
LUCENE-2190: add CustomScoreQuery.setNextReader so subclass knows when we advance to a new sub-reader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@896962 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 18:52:23 +00:00
Robert Muir
cdac1f7113
LUCENE-2084: remove Byte/CharBuffer wrapping for collation key generation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@895341 13f79535-47bb-0310-9956-ffa450edef68
2010-01-03 09:22:40 +00:00
Robert Muir
a949836869
LUCENE-2034: Refactor analyzer reuse and stopword handling
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@895339 13f79535-47bb-0310-9956-ffa450edef68
2010-01-03 08:48:17 +00:00
Uwe Schindler
5e77ec9845
LUCENE-2182: DEFAULT_ATTRIBUTE_FACTORY was failing to load implementation class when interface was loaded by a different class loader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@894348 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 10:54:27 +00:00
Uwe Schindler
2185962add
LUCENE-2169, LUCENE-2179: Improvements to CharArraySet.copy() and clear() is now working
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@893655 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 23:24:37 +00:00
Michael McCandless
48b275af80
LUCENE-2177: don't accept Store for binary fields -- it must always be YES
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@893177 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 14:25:02 +00:00
Uwe Schindler
e1680c8cea
add correct credits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@893102 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 07:37:16 +00:00
Uwe Schindler
e6253de226
LUCENE-1972: Restore SortField.getComparatorSource (it was accidentally removed in 3.0.0).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@893093 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 07:15:03 +00:00
Michael McCandless
7d35aafe71
LUCENE-2164: make CMS smarter about prioritizing its threads
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@892992 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 21:38:24 +00:00
Michael McCandless
a1e956a41d
LUCENE-1923: add toString to core IndexReaders
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@892224 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 11:29:57 +00:00
Uwe Schindler
c9ddd1b9fd
LUCENE-2170: Fix thread starvation problems
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@892216 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 10:42:29 +00:00
Michael McCandless
0b000470a7
LUCENE-2161: improve concurrency of IndexReader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@891377 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 18:51:44 +00:00
Michael McCandless
31585bf7c6
LUCENE-2158: don't lose deletions during NRT reopen at high indexing rates
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@891363 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 18:23:24 +00:00
Uwe Schindler
383fc2d635
LUCENE-2104: Fix NativeFSLock.release() to throw exception if lock is held by another thread/process.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@891205 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 12:01:45 +00:00
Michael McCandless
c84752afb9
LUCENE-2166: don't keep warning about the same immense term
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@891189 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 11:15:36 +00:00
Robert Muir
2f7b7453b3
LUCENE-2155: clear/initialize calendar fields in localized date tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@890407 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 17:31:59 +00:00
Michael McCandless
53ce286a25
LUCENE-2135: forcefully evict IndexReader from FieldCache when it's closed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@889866 13f79535-47bb-0310-9956-ffa450edef68
2009-12-12 00:08:18 +00:00
Uwe Schindler
294b3d04f2
LUCENE-2123: Remove the deprec ScoreTerm in FuzzyQuery, javadocs, better test for the PQ overflow
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@889622 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 13:55:14 +00:00
Michael McCandless
6ebcc95ea0
LUCENE-2142: don't check if term count exceeds doc count in getStringIndex
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@889579 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 11:38:17 +00:00
Uwe Schindler
41e48be570
LUCENE-2123: Move FuzzyQuery rewrite as separate RewriteMode into MTQ. This also fixes a slowdown / memory issue added by LUCENE-504 -- *WARNING* Do not merge this patch to flex, it's already there in a different variant!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@889185 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 11:04:53 +00:00
Robert Muir
550a4ef1af
LUCENE-2124: move jdk collation to core, icu collation to icu contrib
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@888780 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 12:08:06 +00:00
Michael McCandless
3df3ab8e9f
LUCENE-2137: switch to AtomicInteger for some ref counts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@888621 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 23:05:29 +00:00
Uwe Schindler
4e88c6cb93
LUCENE-2128: Further parallelization of ParallelMultiSearcher
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@888595 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 22:14:32 +00:00
Michael McCandless
9565d7d071
LUCENE-2136: optimization: if Multi/DirectoryReader only has a single reader, delegate enums to it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@888398 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 13:47:20 +00:00
Robert Muir
91bf5bec92
LUCENE-2132: Fix the demo result.jsp
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@888247 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 04:03:40 +00:00
Uwe Schindler
1948e735e9
LUCENE-2103: NoLockFactory should have a private constructor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887995 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 16:49:21 +00:00
Michael McCandless
ae72952fa4
LUCENE-2119: behave better if you pass Integer.MAX_VALUE as nDcos to search methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887670 13f79535-47bb-0310-9956-ffa450edef68
2009-12-06 11:41:26 +00:00
Michael McCandless
f159d7006d
LUCENE-2037: switch to junit 4.7
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887569 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 18:27:27 +00:00
Michael McCandless
fa7b8f0c10
LUCENE-2114: TestFilteredSearch tests on multi-segment index; fix Filter javadocs to call out that reader is per-segment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887347 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 20:31:44 +00:00
Michael McCandless
d1d9781458
LUCENE-2065: use generics throughout unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887181 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 13:07:47 +00:00
Michael McCandless
43e6963b45
LUCENE-1483: remove now unused SorterTemplate utility class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@886855 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 17:23:59 +00:00
Michael McCandless
cb325fd07f
LUCENE-2095: fix thread safety issue with IW.commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@886257 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 18:59:24 +00:00
Uwe Schindler
9edfb3b66a
LUCENE-2094: Prepare CharArraySet for Unicode 4.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@885592 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 21:49:21 +00:00
Michael McCandless
7d6afb94a0
LUCENE-1844: speed up the unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@885214 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29 11:31:12 +00:00
Robert Muir
f0e064eb41
LUCENE-2069: supplementary char support for lowercasefilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@885024 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 21:34:11 +00:00
Michael McCandless
1aab3f64f0
LUCENE-2075: share the terms dict cache across threads
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@884895 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 15:32:57 +00:00
Michael McCandless
7e3700e1c8
LUCENE-1260: allow Similarity instance to customize how norms are encoded/decoded
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@883852 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 20:26:07 +00:00
Uwe Schindler
c5a7989993
LUCENE-2046: wrong place in changes.txt
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@883661 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 11:33:46 +00:00
Michael McCandless
1a84e608dc
LUCENE-2045: fix CHANGES entry (this was fixed in 2.9.2/3.0, not 2.9.1)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@883654 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 11:19:43 +00:00
Michael McCandless
fb9087fa33
LUCENE-2092: fix BooleanQuery.equals/hashCode to pay attention to disableCoord
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@883554 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 00:04:20 +00:00
Uwe Schindler
a78e306082
merge this one also to 3.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@883075 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 13:22:11 +00:00
Uwe Schindler
5e307da9d3
LUCENE-2088: AttributeSource.addAttribute should only accept interfaces, the missing test leads to problems with Token.TOKEN_ATTRIBUTE_FACTORY
...
This also fixes the package.html error Shai mentioned.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@883074 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 13:18:10 +00:00
Uwe Schindler
d838d7bf3a
LUCENE-2087: Remove recursion in NumericRangeTermEnum
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@882977 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 19:49:54 +00:00