Commit Graph

14783 Commits

Author SHA1 Message Date
Michael McCandless e36febe7e2 LUCENE-3892: revert wrong trunk merge commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1373363 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 12:11:13 +00:00
Michael McCandless 7b6955d42a LUCENE-3892: merge trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1373358 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 11:58:34 +00:00
Robert Muir ef4d87246f test this cleaner, we don't need a nested test, just want to ensure MDW throws exception on close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373343 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 11:38:37 +00:00
Uwe Schindler 86afe66472 LUCENE-3312: Merged revision(s) 1372429-1373335 from lucene/dev/trunk:
move class to o.a.l.index and make pkg-private, silence java7 warnings
........
SOLR-3727: improve solrcloud close/shutdown
........
LUCENE-4303 Use ResourceLoader not Class.forName
........
LUCENE-4302: Fix facet userguide to have HTML loose doctype like all other javadocs
........
LUCENE-4152: add one syllable method to enumerate subreaders
........
LUCENE-4152: use simpler sugar
........
SOLR-3670: New CountFieldValuesUpdateProcessorFactory
........
SOLR-3727: improve solrcloud close/shutdown
........
Ignore process reaper (forked subprocess on unixish systems).
........
document what IW.close is doing and how to 'actually close' if you want that
........
LUCENE-4304: remove PayloadProcessorProvider, map facet ords using a FilterAtomicReader
........
LUCENE-4304: Make CompositeReader.getSequentialSubReaders() protected
........
solrcloud: improve some logging, improve some testing, other minor tweaks
........
LUCENE-4307: rename IR.getTopReaderContext to IR.getContext
........
SOLR-3572: Make schema-browser show custom similarities
........
better failures from MDW if you have unclosed indexwriter, even if you setLockFactory
........
Improve Javadocs, fix wrong getContext() javadocs (contained outdated info, leaves() throws UOE if not top-level), remove lucene.experimental from contexts, as this is now the official API to walk reader tree.
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1373337 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 11:23:02 +00:00
Michael McCandless 922efb15b8 remove final nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1373332 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 11:03:54 +00:00
Uwe Schindler 73b8ca65ca Improve Javadocs, fix wrong getContext() javadocs (contained outdated info, leaves() throws UOE if not top-level), remove lucene.experimental from contexts, as this is now the official API to walk reader tree.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373246 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 08:01:50 +00:00
Robert Muir e1ec1e7932 better failures from MDW if you have unclosed indexwriter, even if you setLockFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373204 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 04:07:47 +00:00
Greg Bowyer 8a5bab3e1d SOLR-3572: Make schema-browser show custom similarities
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373117 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 21:16:17 +00:00
Robert Muir 796fb31c89 LUCENE-4307: rename IR.getTopReaderContext to IR.getContext
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373072 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 20:43:16 +00:00
Mark Robert Miller c607f548bb solrcloud: improve some logging, improve some testing, other minor tweaks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372981 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 17:16:43 +00:00
Uwe Schindler 2573a23996 LUCENE-4304: Make CompositeReader.getSequentialSubReaders() protected
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372866 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 12:54:46 +00:00
Robert Muir 81bff57343 LUCENE-4304: remove PayloadProcessorProvider, map facet ords using a FilterAtomicReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372858 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 12:33:36 +00:00
Robert Muir 0eda73aa3c document what IW.close is doing and how to 'actually close' if you want that
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372839 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 11:05:32 +00:00
Dawid Weiss 46b8a90c11 Ignore process reaper (forked subprocess on unixish systems).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372731 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 05:27:30 +00:00
Mark Robert Miller d4b66af3b3 SOLR-3727: improve solrcloud close/shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372701 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 01:31:27 +00:00
Chris M. Hostetter 680449363f SOLR-3670: New CountFieldValuesUpdateProcessorFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372687 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 00:35:55 +00:00
Robert Muir e64057ccd9 LUCENE-4152: use simpler sugar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372654 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 22:22:24 +00:00
Robert Muir 0e9d4c7459 LUCENE-4152: add one syllable method to enumerate subreaders
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372645 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 22:03:16 +00:00
Uwe Schindler f1969b13c7 LUCENE-4302: Fix facet userguide to have HTML loose doctype like all other javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372633 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 21:43:00 +00:00
David Wayne Smiley a42f13cbf0 LUCENE-4303 Use ResourceLoader not Class.forName
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372631 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 21:36:30 +00:00
Mark Robert Miller 2c31ae30e5 SOLR-3727: improve solrcloud close/shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372626 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 21:22:08 +00:00
Robert Muir f08b7105b4 move class to o.a.l.index and make pkg-private, silence java7 warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372456 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 15:10:36 +00:00
Uwe Schindler ac38630855 LUCENE-3312: Merged revision(s) 1371132-1372428 from lucene/dev/trunk:
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).
........
LUCENE-4298: MultiFields.getTermDocsEnum(Reader,Bits,String,BytesRef) did not work at all
........
SOLR-3715: remove sync around tlog serialization
........
fix test msg
........
add recovery strat to commented out list of log configs for tests
........
change log format - core= rather than Core:
........
add some tests mixing up payload options
........
tests: specify a seed to Random()
........
tests: use random seed of doc base
........
set the SVN variables so this task can build the unsigned release
........
Remove smoke again, this is now a new ReleaseNightly job on ASF Jenkins (without scripts, only ANT). I will later remove the artifact building from the standard nightly scripts, too. Those will now only run tests and clover.
........
Smoketester should also run with OpenJDK to be able to run on FreeBSD
........
clean up BS2's Coordinator, use ctor instead of init, make coordFactors final
........
LUCENE-4300: BooleanQuery's rewrite was unsafe if coord(1,1) != 1
........
SOLR-3725: fix package-local-src-tgz to not bring in jars/binary content
........
LUCENE-4299: add Terms hasPositions/hasOffsets, so you know what features a docs TVs have
........
ignore silly bugs in sun's regex impl
........
LUCENE-4187: Die, shell scripts, die, die, die!
........
LUCENE-4187: Allow disabling validation tasks and javadocs-linting from jenkins
........
nuke useless scripts - part #1
........
LUCENE-4187: Merge clover reports of Lucene/Solr for easier and more useful Jenkins reporting
........
LUCENE-4187: Remove remaining clover reference
........
LUCENE-4187: Add jenkins clover task
........
LUCENE-4187: Nuke remaining shell scripts

........
LUCENE-4187: exclude backwards (when it comes)
........
LUCENE-4187: simplier pattern
........
LUCENE-4187: Fix title for clover
........
LUCENE-4187: Make clover configuration for jenkins fixed and faster
........
Don't allow negatives in the positions file
........
LUCENE-1888: added option to store payloads on the term vectors
........
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
........
fix test to actually compare index1 vs index2, not index1 against itself
........
LUCENE-3985: Upgrade to randomizedtesting 2.0.0. Added support for thread leak detection. Added support for suite timeouts. (Dawid Weiss)
........
fix test bug
........
re-enable test
........
Allow better debugging this test
........
fix clustering and DIH problems with conflicting servlet-api dependencies by making scope be provided in solr's test-framework POM
........
revisit payloads API in DocsAndPositionsEnum
........
maven build: reduce solr test logging output, to allow Jenkins mailer to succeed
........
disable test timeouts until nightly builds have been addressed
........
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/branches/lucene3312@1372438 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 14:18:26 +00:00
Uwe Schindler 481c6d952d LUCENE-3312: Apply lucene-3312-patch-12a.patch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1372427 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 14:06:05 +00:00
Adrien Grand aa19f76829 Use PackedInts.COMPACT as the default acceptable overhead ratio.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1372425 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 13:55:27 +00:00
Adrien Grand ebdd6a5089 LUCENE-3892: Fix variable name.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1372408 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 12:58:38 +00:00
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
Michael McCandless 789981c9fd LUCENE-3892: merge trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1372366 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 11:16:57 +00:00
Michael McCandless 91a4425f79 LUCENE-3892: use vInt to store the fixed value for entire block
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1372357 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 10:54:21 +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
Michael McCandless 423354db48 LUCENE-3892: make BlockPostingsWriter package private
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1371944 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 13:10:25 +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