Commit Graph

14434 Commits

Author SHA1 Message Date
Mark Robert Miller 6331d4be67 add javadoc return value
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372406 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 12:57:04 +00:00
Sami Siren 1d27c0364b SOLR-3649: fix bug in JavabinLoader that caused deleteById(List<String> ids) to not work in SolrJ
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372346 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 09:56:33 +00:00
Dawid Weiss d72080551a Add issue pointer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372316 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 08:41:40 +00:00
Dawid Weiss 95e3213c79 LUCENE-4301: re-enable suite timeouts. default increased to 2 hours, test2bpostings increased to 4 hours.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372302 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 07:59:08 +00:00
Dawid Weiss d15dee8ca9 Adding J9 sys thread to known threads. Interesting what this is triggered by (I can make it happen by calling mgmnt factory directly).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372301 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 07:57:50 +00:00
Robert Muir 80811d02f5 remove FieldsEnum and replace with Iterator<String>
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372243 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 02:25:19 +00:00
Uwe Schindler e1295dc3d8 Fix test failure caused in Maven, because test-framework classes are packaged in JAR.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372218 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 00:01:59 +00:00
Robert Muir d4e264648a disable test timeouts until nightly builds have been addressed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372195 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 20:38:57 +00:00
Steven Rowe 4f57dc4145 maven build: reduce solr test logging output, to allow Jenkins mailer to succeed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372190 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 19:58:13 +00:00
Robert Muir 0f3b19899e revisit payloads API in DocsAndPositionsEnum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372171 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 18:45:46 +00:00
Steven Rowe 48e9e9f361 fix clustering and DIH problems with conflicting servlet-api dependencies by making scope be provided in solr's test-framework POM
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372145 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 16:29:30 +00:00
Uwe Schindler e2518705e8 Allow better debugging this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372125 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 15:10:56 +00:00
Robert Muir d1447b47f3 re-enable test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372071 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 11:37:24 +00:00
Robert Muir b3174c271e fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372069 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 11:29:32 +00:00
Dawid Weiss cebfa0b9b9 LUCENE-3985: Upgrade to randomizedtesting 2.0.0. Added support for thread leak detection. Added support for suite timeouts. (Dawid Weiss)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372068 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 11:23:11 +00:00
Robert Muir 00fa302942 fix test to actually compare index1 vs index2, not index1 against itself
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372045 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 01:41:00 +00:00
Michael McCandless 6bc248b017 throw IllegalArgumentException if you try to index term vector offsets/positions when term vectors are not indexed, or if you try to index term vectors when field is not index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372025 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 20:51:34 +00:00
Robert Muir 1397cbd2de LUCENE-1888: added option to store payloads on the term vectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371996 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 18:58:26 +00:00
Robert Muir d0dd5fadcc Don't allow negatives in the positions file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371961 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 14:31:56 +00:00
Uwe Schindler c97774fb5e LUCENE-4187: Make clover configuration for jenkins fixed and faster
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371916 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 11:11:36 +00:00
Uwe Schindler de3d054c1b LUCENE-4187: Fix title for clover
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371906 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 10:31:53 +00:00
Uwe Schindler 254cec9cbc LUCENE-4187: simplier pattern
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371889 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 08:43:25 +00:00
Uwe Schindler d376261c3d LUCENE-4187: exclude backwards (when it comes)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371883 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 08:14:56 +00:00
Uwe Schindler bd55432e5c LUCENE-4187: Add jenkins clover task
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371845 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 23:36:28 +00:00
Uwe Schindler 5930b2db76 LUCENE-4187: Remove remaining clover reference
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371843 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 23:33:04 +00:00
Uwe Schindler 5259fcd0c5 LUCENE-4187: Merge clover reports of Lucene/Solr for easier and more useful Jenkins reporting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371839 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 23:18:18 +00:00
Uwe Schindler 06df30453f LUCENE-4187: Allow disabling validation tasks and javadocs-linting from jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371745 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 15:37:31 +00:00
Uwe Schindler 436dc8eb2c LUCENE-4187: Die, shell scripts, die, die, die!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371729 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 14:58:59 +00:00
Robert Muir 813f5344dd ignore silly bugs in sun's regex impl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371725 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 14:46:30 +00:00
Robert Muir e2935c224e LUCENE-4299: add Terms hasPositions/hasOffsets, so you know what features a docs TVs have
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371709 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 14:16:20 +00:00
Robert Muir 392ddde4d3 SOLR-3725: fix package-local-src-tgz to not bring in jars/binary content
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371688 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 12:38:48 +00:00
Robert Muir f1c79b69b6 LUCENE-4300: BooleanQuery's rewrite was unsafe if coord(1,1) != 1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371644 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 10:46:03 +00:00
Robert Muir 93ebd8d5bd clean up BS2's Coordinator, use ctor instead of init, make coordFactors final
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371630 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 09:51:45 +00:00
Uwe Schindler d5212c9ae2 Smoketester should also run with OpenJDK to be able to run on FreeBSD
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371623 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 09:24:51 +00:00
Yonik Seeley 562f65020c tests: use random seed of doc base
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371491 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 21:16:15 +00:00
Yonik Seeley d3a2df9307 tests: specify a seed to Random()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371478 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 20:51:48 +00:00
Robert Muir 0910133f3a add some tests mixing up payload options
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371412 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 19:31:34 +00:00
Mark Robert Miller bd157431b8 change log format - core= rather than Core:
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371399 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 19:21:56 +00:00
Mark Robert Miller 6563915b7a add recovery strat to commented out list of log configs for tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371398 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 19:21:36 +00:00
Mark Robert Miller f8bdd18671 fix test msg
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371397 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 19:21:04 +00:00
Yonik Seeley 932901bb01 SOLR-3715: remove sync around tlog serialization
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371379 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 18:53:19 +00:00
Robert Muir 858f4ed040 LUCENE-4298: MultiFields.getTermDocsEnum(Reader,Bits,String,BytesRef) did not work at all
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371291 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 16:19:08 +00:00
Uwe Schindler 2c38158032 Add support to also reload HashFunctions when Solr boots (otherwise codecs using new hash functions may fail to load).
We may need a better "automatic" reloading with one method call, that reloads all NamedSPILoaders. I will think about it and open issue. Solr could then only call NamedSPILoader.reloadAll(), so all instantiated ones get reloaded automatically. Currently its to risky to add new SPIs without Solr support (because it cannot be tested).

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371150 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 10:34:30 +00:00
Mark Robert Miller b2ab339643 add core name to some of the recovery logging
move getRecentUpdates into try block - we should continue with no updates if there is an exception getting them
move cancelRecovery call into recovery wait sync block

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371030 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 03:20:24 +00:00
Steven Rowe e0dbd4c4f6 Add new test-framework dependencies introduced by Mark Miller's r1370864 commit: javax.servlet:servlet-api; org.eclipse.jetty:jetty-servlet; and org.eclipse.jetty:jetty-util (jetty-util was previously runtime scope, but is now compile scope)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370944 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 20:21:41 +00:00
Chris M. Hostetter 90fdd55ae5 remove broken @returns from javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370908 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 19:36:21 +00:00
Chris M. Hostetter aba39dba9c SOLR-3229: forgot credit in CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370904 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 19:32:13 +00:00
Robert Muir 7d90e98c77 remove dead code / 3.x hacks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370876 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 18:36:34 +00:00
Chris M. Hostetter 38c1b46817 SOLR-3229: Fixed TermVectorComponent to work with distributed search
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370870 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 18:20:45 +00:00
Mark Robert Miller e528549a3b still favor leaders with CloudSolrServer, but also fall back to replicas after leaders
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370864 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 18:01:11 +00:00