Commit Graph

4439 Commits

Author SHA1 Message Date
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
Uwe Schindler f011f59fe2 Use better format for md5sum/sha1 sum on package build (binary files should have * before file name). The format attribute does that automatically.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887617 13f79535-47bb-0310-9956-ffa450edef68
2009-12-06 00:28:04 +00:00
Robert Muir a92e6e8240 fix enwiki (and a few others) task, DocMaker was removed in 3.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887602 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 22:37:36 +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
Simon Willnauer 9ee4ce0fd5 LUCENE-2102: Add Turkish LowerCaseFilter which handles Turkish and Azeri unique casing behavior correctly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887535 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 12:46:05 +00:00
Simon Willnauer 5556599fad LUCENE-2039: Added extensible query parser which enables arbitrary parser extensions based on field naming scheme
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887533 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 12:29:59 +00:00
Simon Willnauer ab447b6af0 LUCENE-2108: Enable safe concurrent spell-index modifications in Spellchecker
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887532 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 12:17:17 +00:00
Michael McCandless fa65d42e94 LUCENE-2115: cutover contrib tests to use generics
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887524 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 09:43:54 +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
Simon Willnauer 1f314fb9fa LUCENE-2107: Added a pom.xml.template to contrib/fast-vector-highlighter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887339 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 20:16:09 +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
Simon Willnauer a0bf23d762 fixed javadoc warnings due to missing closing braces
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887122 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 09:10:21 +00:00
Michael McCandless fbfd147b23 LUCENE-2108: add SpellChecker.close()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@886911 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 20:35:19 +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
Uwe Schindler 9d576a7e31 Change the wildcard test in trunk, too
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@886336 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 23:07:08 +00:00
Michael McCandless 62798f69af LUCENE-2095: add missing minus sign
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@886262 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 19:09:00 +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
Robert Muir 892bc7f55a LUCENE-2062: Bulgarian Analyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@886190 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 16:08:56 +00:00
Uwe Schindler bdf44dce94 LUCENE-2094: Fix hudson build failure.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@885769 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 14:32:58 +00:00
Michael McCandless 17fc7af3c3 remove expert & low-level characterization for TopDocs/TopFieldDocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@885740 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 11:38:31 +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
Uwe Schindler c155a0c477 LUCENE-1844: Fix problem in windows, because the path separator \ is also an escape for properties files. Simple fix is to replace all backslashs by forward slashes in the getReuters20File.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@885582 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 20:47:44 +00:00
Uwe Schindler 09fd7abd7a fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@885571 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 19:55:57 +00:00
Uwe Schindler 76587d4e5f fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@885362 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 09:15:20 +00:00
Robert Muir 2ef402eefa LUCENE-2067: Add a stemmer for Czech
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@885216 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29 11:59:38 +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 aaff6efa73 correct jira issue number transposition
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@885111 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 16:26:38 +00:00
Robert Muir 0f75eeadaf add missing closing paren to docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@885110 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 16:24:23 +00:00
Michael McCandless c0c5b9c2f0 LUCENE-2075: fix false trip in assert, when comparing two TermInfos
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@885028 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 21:48:39 +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 48fe1847ab improve javadocs for Collector.acceptsDocsOutOfOrder
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@884870 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 13:36:22 +00:00
Simon Willnauer e077c4d563 Updated JakartaRegexpCapabilities JavaDoc which gave users the impression the JakartaRegexp implementation provides a rock solid "prefix" implementation. Patch contains another testcase which shows the shaky behavior. See LUCENE-2072 for reference.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@884259 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 20:44:17 +00:00
Uwe Schindler e87d4831e9 activate new tag
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@884136 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 15:21:13 +00:00
Michael McCandless ecf52f6105 improve IW.optimize() docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@883866 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 20:45:20 +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
Michael McCandless 55046c8d74 LUCENE-2086: add assert to verify we flush deleted terms in term sort order
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@883685 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 13:17:45 +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 58b11acbaf clarify that the NRT reader must be closed by the caller
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@883640 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 09:53:53 +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
Simon Willnauer e69141c51a LUCENE-2068: Fixed ReverseStringFilter for Unicode 4.0. Reverse Supplementary Characters correctly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@883149 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 21:09:42 +00:00
Simon Willnauer 0808b44445 Added testcase for prefix getter on JakartaRegexpCapabilities. During LUCENE-2072 dev the prefix method did always return null due to a bug in jakarta-regexp-1.5. This testcase mainly prevents other from simply upgrading as long as this bug has not been fixed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@883141 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 20:30:30 +00:00
Uwe Schindler 2e244caa17 LUCENE-2088: add extra test
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@883079 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 13:59:47 +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
Uwe Schindler 254e3e9293 Improvement in NumericRangeTermEnum to reuse the term and not intern the field name everytime. It also throws UnsupportedOperationException in endEnum() method, which is not used, and should not be used by client code/subclasses (undefined behaviour).
Also adds a test for the TermEnum.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@882888 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 12:01:29 +00:00
Uwe Schindler 52d8057021 this is never called, but should be the other way round
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@882807 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 00:47:49 +00:00
Michael McCandless f3b9bea18d LUCENE-2086: resolve deletes-by-term in term sorted order for better performance
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@882672 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 18:37:42 +00:00