181 Commits

Author SHA1 Message Date
Mark Robert Miller
0834cd4e4e LUCENE-2106: ReadTask does not close its Reader when OpenReader/CloseReader are not used.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@887899 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 12:17:54 +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
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
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
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
Michael McCandless
85fbeddf44 LUCENE-2079: more improvements to contrib/benchmark for testing NRT
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@882648 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 17:23:34 +00:00
Uwe Schindler
7370094ead Fix some javadocs errors in contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@880706 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 11:08:25 +00:00
Michael McCandless
c2cc1eaee7 LUCENE-2050: add eg basicNRT.alg
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@836170 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14 13:28:38 +00:00
Michael McCandless
4422d07e8a LUCENE-2053: throw ThreadInterruptedException when the thread is interrupt()d
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@836158 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14 11:33:33 +00:00
Michael McCandless
443d0093e9 LUCENE-2050: enhance contrib/benchmark for running NRT tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@836154 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14 11:14:18 +00:00
Robert Muir
731f418448 LUCENE-2059: allow TrecContentSource not to change the docname
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@835677 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 00:47:15 +00:00
Robert Muir
149a0c9b25 LUCENE-2058: specify trec_eval output file from commandline
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@835674 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 00:41:53 +00:00
Uwe Schindler
5b83cc59b2 LUCENE-1257: Generics: *heavy* Robert Muir & mine patch
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@834847 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 12:18:34 +00:00
Robert Muir
c4f2d05a03 LUCENE-2022: remove contrib deprecations
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@834707 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 23:22:48 +00:00
Robert Muir
786eb6ce0d LUCENE-2012: add remaining @overrides (contrib,demo)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@833867 13f79535-47bb-0310-9956-ffa450edef68
2009-11-08 12:45:12 +00:00
Michael McCandless
9bec958bf0 LUCENE-2044: add delete.percent.rand.seed to control random seed for DeleteByPercentTask
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@833861 13f79535-47bb-0310-9956-ffa450edef68
2009-11-08 11:54:35 +00:00
Michael McCandless
10e6ceac5d LUCENE-2043: CommitIndexTask also commits pending changes in the open IndexReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@833763 13f79535-47bb-0310-9956-ffa450edef68
2009-11-07 21:11:42 +00:00
Michael McCandless
a797338188 LUCENE-2042: also print how many terms were searched, when the query is a MTQ
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@833762 13f79535-47bb-0310-9956-ffa450edef68
2009-11-07 21:10:38 +00:00
Michael McCandless
0e2839b2b2 LUCENE-2042: add print.hits.field config
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@833745 13f79535-47bb-0310-9956-ffa450edef68
2009-11-07 20:08:00 +00:00
Michael McCandless
73944292d4 LUCENE-2029: allow separate control over body stored/tokenized in DocMaker
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@833605 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 23:44:10 +00:00
Uwe Schindler
786457c0e3 LUCENE-1257: Generics in contrib/memory, contrib/wordnet (previously memory), contrib/misc, contrib/benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830790 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 23:21:25 +00:00
Michael McCandless
66d8e773b1 LUCENE-1994: fix thread safety of EnwikContentSource and DocMaker
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830488 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 10:06:23 +00:00
Uwe Schindler
8086aad514 LUCENE-1257: Add generics to highlighter and more for benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829524 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 10:12:58 +00:00
Michael McCandless
aaddac8992 LUCENE-2002: add Version to QueryParser & contrib analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829206 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 20:25:17 +00:00
Uwe Schindler
a5df94c249 LUCENE-1257: More Java5 updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829013 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 11:54:03 +00:00
Uwe Schindler
1ae5f89cfb LUCENE-1987: Remove rest of analysis deprecations (StandardAnalyzer, StopAnalyzer)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@827979 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 12:12:11 +00:00
Uwe Schindler
a0776e5cd0 Generify more Comparable interface declarations
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@826016 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 17:47:14 +00:00
Uwe Schindler
4cded8042c LUCENE-1946, LUCENE-1753: Remove deprecated TokenStream API. What a pity, my wonderful backwards layer is gone! :-( Enforce decorator pattern by making the rest of TokenStreams final.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824116 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 17:35:09 +00:00
Michael Busch
3619c380d6 LUCENE-1968: Remove deprecated PriorityQueue methods.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@824013 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 03:54:25 +00:00
Michael McCandless
f20e419aff LUCENE-1950: remove autoCommit=true from IndexWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@823321 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 20:57:32 +00:00
Uwe Schindler
236baf9fcb LUCENE-1944: Cleanup contrib to not use deprecated APIs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821444 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 23:24:33 +00:00
Uwe Schindler
835de0b44d LUCENE-1833: Change all new Number() ctors to Number.valueOf()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821186 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 22:16:44 +00:00
Chris M. Hostetter
c56f4c224f LUCENE-1884: massive javadoc and comment cleanup -- primarily dealing with typos
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@811070 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 18:31:41 +00:00
Mark Robert Miller
fe9d473743 update a few license issues in package.htmls
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@810578 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 15:46:40 +00:00
Mark Robert Miller
3472e6aeae change to state that benchmark works with multiple standard collections rather than one
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@809385 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 17:18:13 +00:00
Mark Robert Miller
26c5af3a33 LUCENE-1865 Add a ton of missing license headers throughout test/demo/contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808567 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 18:48:16 +00:00
Mark Robert Miller
d6431b34b3 second part of moving benchmark package.html to right spot (I assumed subeclipse would do a move as it had in the past, but apparently I must commit this remove)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808234 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 00:25:37 +00:00
Mark Robert Miller
56985e3136 add overview.html stubs for contrib to avoid error messages when building javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808233 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 00:23:09 +00:00
Mark Robert Miller
8cf7fdb567 move package.html to correct spot
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808231 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 00:09:13 +00:00
Mark Robert Miller
4b60a91349 whoops - this one actually need the DocData param, but not the @link - you can't @link in @see
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808217 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 23:05:28 +00:00
Mark Robert Miller
471ab5e245 fix javadoc/javadoc links in benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808214 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 22:49:48 +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
Michael McCandless
e82cc0079d remove extra print
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801166 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 12:13:02 +00:00
Michael McCandless
c471e8e83c LUCENE-1773: fix highlighter test case; add contrib/memory as dependency to contrib/benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801160 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 12:09:48 +00:00
Mark Robert Miller
34ab27401c LUCENE-1770: Add EnwikiQueryMaker
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801043 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 01:39:22 +00:00
Michael McCandless
d3fcafc53e LUCENE-1773: add FastVectorHighlighter tasks to contrib/benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800947 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 20:24:02 +00:00
Mark Robert Miller
10b41d2dce LUCENE-1685: The position aware SpanScorer has become the default scorer for Highlighting. The SpanScorer implementation has replaced QueryScorer and the old term highlighting QueryScorer has been renamed to QueryTermScorer. Multi-term queries are also now expanded by default. If you were previously rewritting the query for multi-term query highlighting, you should no longer do that (unless you switch to using QueryTermScorer). The SpanScorer API (now QueryScorer) has also been improved to more closely match the API of the previous QueryScorer implementation.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800796 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 13:56:11 +00:00
Mark Robert Miller
b155258203 LUCENE-1778: Add support for log.step setting per task type. Perviously, if you included a log.step line in the .alg file, it had been applied to all tasks. Now, you can include a log.step.AddDoc, or log.step.DeleteDoc (for example) to control logging for just these tasks. If you want to ommit logging for any other task, include log.step=-1. The syntax is "log.step." together with the Task's 'short' name (i.e., without the 'Task' part).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800768 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 13:05:03 +00:00
Michael McCandless
175e8b546d LUCENE-1763: require IndexWriter be passed up front to the MergePolicy
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@799818 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 09:22:25 +00:00
Mark Robert Miller
7ecaa8c990 wikipedia-flush-by-RAM.alg should use content.source
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@799379 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 17:35:10 +00:00