Commit Graph

3937 Commits

Author SHA1 Message Date
Robert Muir 4d53375c00 javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374045 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 20:41:17 +00:00
Robert Muir bbde9adecb javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374009 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 19:45:03 +00:00
Michael McCandless c5b5bb7008 fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374006 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 19:41:10 +00:00
Simon Willnauer ae79b917ca added javadocs to SortedBytesMergeUtils public inner classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374004 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 19:37:40 +00:00
Simon Willnauer 0ee2c67ab9 added javadocs to SortedBytesMergeUtils public inner classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373995 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 19:24:38 +00:00
Michael McCandless fb05e8ba3f improve javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373989 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 19:19:44 +00:00
Uwe Schindler 36014af614 LUCENE-3312: Apply patch lucene-3312-patch-13.patch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1373940 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 17:38:02 +00:00
Robert Muir 85c6e76ab8 javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373895 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 16:00:36 +00:00
Robert Muir b655cf78bf add more missing javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373851 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 14:14:38 +00:00
Robert Muir 119df148b8 LUCENE-4308: clean up imports, move below license
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373803 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 12:28:47 +00:00
Robert Muir 04df51f90d LUCENE-4308: don't delete a test's files if the test fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373801 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 12:26:32 +00:00
Michael McCandless 6d86815f65 LUCENE-3892: add initial package.html
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1373673 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 23:16:03 +00:00
Chris M. Hostetter 769c9003cd SOLR-3690: Fixed binary release packages to include dependencies needed for the solr-test-framework
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373553 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 18:30:04 +00:00
Michael McCandless f7a0f00724 LUCENE-3892: comment out all sops
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1373427 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 14:08:40 +00:00
Michael McCandless 1da92326c7 LUCENE-3892: move bufferSkip to startDoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1373367 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 12:27:36 +00:00
Michael McCandless 1c637c5e9b LUCENE-3892: merge trunk take 2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1373365 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 12:22:02 +00:00
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
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
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
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
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
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
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
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
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 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
Michael McCandless 0db218838d LUCENE-3892: add assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1371770 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 16:57:45 +00:00
Michael McCandless 0df8e43b22 LUCENE-3892: resolve some of the nocommits...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1371762 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 16:29:44 +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 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
Michael McCandless 4a5496ac97 LUCENE-3892: replace Block with BlockPacked
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1371519 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 22:29:36 +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
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
Adrien Grand 90918ad2d6 LUCENE-3892: fix constant names, cache encoded sizes instead of formats and move readVIntBlock to the postings reader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1371184 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 12:52:24 +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
Uwe Schindler 148d99cbbc LUCENE-3312: Merged revision(s) 1366639-1371131 from lucene/dev/trunk:
SOLR-3259: default /get to json
........
minor tweaks to update script example
........
LUCENE-4268: Rename ResourceAsStreamReasourceLoader to ClasspathResourceLoader, provide FilesystemResourceLoader, bug fixing
........
LUCENE-4268: Fix test bug
........
SOLR-3648: Fix Velocity template loading in SolrCloud mode
........
fix confusing IW infoStream message
........
Fix rawtypes warning in java 7 and 8, make the SuppressWarnings more local
........
Nicer solution to generic array creation (still problematic in Java 6, but correct in Java 7 if done this way)
........
Disable test failing with Java 8
........
Allow detecting of Java 8
........
LUCENE-4109: BooleanQueries are not parsed correctly with the flexible queryparser
........
LUCENE-4269: remove BalancedSegmentMergePolicy (use TieredMergePolicy instead)
........
LUCENE-4269: deprecate BalancedSegmentMergePolicy (use TieredMergePolicy instead)
........
LUCENE-4190: restrict allowed filenames to reduce risk of deleting non-lucene file from the index directory
........
fix the monkey: connection loss and expiration cause NPE
........
upgrade checkJavaDocs.py to python3
........
LUCENE-3884: Move ElisionFilter out of .fr package
........
fix encoding in javadocs checker
........
LUCENE-2501: fix thread hazard when threads add same field with different IndexOptions at the same time
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1371142 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 10:20:53 +00:00
Adrien Grand 0be8bfb4fc LUCENE-3892: backporting r1371010 and r1371011 to BlockPacked.
I changed the comment on the value of BLOCK_SIZE. Indeed, since PackedInts
encoding/decoding is long-aligned, all numbers of bits per value that are
co-prime with 64 cannot encode/decode less than 64 values per iteration, so the
block size should be at least 64. Switching it to a lower value (eg. 32) should
work but will perform many unnecessary operations in the encoding/decoding step.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1371114 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 09:16:09 +00:00
Michael McCandless 98ae806ba6 add comment; use BLOCK_SIZE static import not blockSize
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1371011 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 23:02:58 +00:00
Michael McCandless 1ff9383a84 LUCENE-4283: further optimize scan-after-advance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1371010 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 23:02:05 +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
Adrien Grand 207c0c6d13 LUCENE-3892: Backport of Mike's last changes + removal of unnecessary casts.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370850 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 17:28:16 +00:00
Adrien Grand c8fb5b38d5 Fix test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370847 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 17:26:49 +00:00
Adrien Grand c06b36c762 LUCENE-3892: Use int[] arrays to buffer data instead of long[] arrays.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370819 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 16:12:29 +00:00
Adrien Grand 5e948be185 LUCENE-3892: Ability to decode to int[] arrays (in addition to long[] arrays).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370817 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 15:46:28 +00:00
Robert Muir 3979cc97f3 LUCENE-4297: BooleanScorer2 sometimes multiplies coord() twice into the score
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370805 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 15:17:28 +00:00
Adrien Grand 8eaed3c865 LUCENE-3892: Ability to select the right format based on an `acceptableOverheadRatio`.
The `acceptableOverheadRatio` is currenlty configurable through
BlockPackedPostingsWriter's constructor and defaults to PackedInts.DEFAULT.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370781 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 14:15:22 +00:00
Adrien Grand 482bd77c51 LUCENE-3892: add the all-values-same case back.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370710 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 09:08:16 +00:00
Steven Rowe a4c3b3577e fix doc bugs (thanks to Oren Bochman)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370591 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 23:21:56 +00:00
Adrien Grand 0db24114ec LUCENE-3892: byte[] decoding for PACKED_SINGLE_BLOCK format.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370582 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 22:54:28 +00:00
Michael McCandless eab777c3d3 LUCENE-4283: check next skip point to see if it's worth invoking skipper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370534 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 21:26:14 +00:00
Michael McCandless 9d7cb7de69 LUCENE-3892: remove nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370533 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 21:25:45 +00:00
Steven Rowe 148407b2d0 Mention ReusableAnalyzerBase -> Analyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370480 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 20:00:42 +00:00
Michael McCandless ae8787358a remove 32 bit case (all our int values are >= 0)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370330 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 16:01:27 +00:00
Michael McCandless 36e9b06bd6 carry back some code improvements from BlockPacked -> Block
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370328 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 15:57:58 +00:00
Robert Muir c40b037560 rename confusing variables: numDocs is really docFreq, docFreqs is really termFreqs, termDocFreq is termFreq
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370309 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 15:21:12 +00:00
Adrien Grand 378cbd4523 LUCENE-3892: performance improvements to the 'BlockPacked' codec.
- backport of Mike's changes to the 'Block' codec,
 - revert of oal.util.packed.BulkOperation in order not to use java.nio.*Buffer,
 - add direct byte[] decoding and encoding to PackedInts.Decoder and PackedInts.Encoder.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370267 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 13:56:30 +00:00
Robert Muir 1ff47b2c08 add test for when fixed dv is not really fixed length
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370241 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 13:17:37 +00:00
Michael McCandless 844ffc433f LUCENE-3892: add nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370207 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 12:36:08 +00:00
Michael McCandless a858470de1 LUCENE-3892: only store numBits in the block header; compute numBytes @ read time
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370204 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 12:25:07 +00:00
Michael McCandless 7a0cdacb6e LUCENE-3892: fix incorrect numBits computation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370194 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 11:45:54 +00:00
Michael McCandless 51987642c2 LUCENE-3892: up skipMultiplier to 8 (vs 4): it seems to help a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370180 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 11:16:01 +00:00
Michael McCandless b18e428f41 remove fixed nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370179 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 11:15:11 +00:00
Robert Muir 7ca42b800a add 4.0 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370107 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 03:34:00 +00:00
Michael McCandless 4de0089844 LUCENE-3892: decouple level 0 skipInterval from level 1+
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1370055 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 22:57:00 +00:00
Michael McCandless 92c90bf7cb LUCENE-4292: cannot assert numSearches > 0 in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369911 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 18:27:07 +00:00
Michael McCandless 7bf0d1f804 LUCENE-3892: inline nextDoc() for DocsAndPositionsEnum.advance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1369885 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 17:25:00 +00:00
Robert Muir 9898822e28 LUCENE-4291: reduce jflex buffer sizes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369883 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 17:16:47 +00:00
Michael McCandless 3930247e77 add missing IR.close() in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369876 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 16:36:58 +00:00
Robert Muir 462ff90d8e LUCENE-4289: fix highlighter idf inconsistencies/inefficiencies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369859 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 14:55:41 +00:00
Michael McCandless d4c27acb1a LUCENE-3892: inline scanning after DocsEnum.advance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1369703 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 23:33:00 +00:00
Michael McCandless de9586104c LUCENE-3892: some cleanup/refactoring
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1369697 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 22:39:32 +00:00
Robert Muir b4540d6369 LUCENE-4286: add unibigram option to CJKBigramFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369502 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 22:37:14 +00:00
Michael McCandless aed1b5d760 LUCENE-3982: trunk upgrade
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1369470 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 21:26:10 +00:00
Robert Muir 034207be25 clean up binary patterns for consolidated licenses/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369232 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 22:11:07 +00:00
Robert Muir 4e43511bad exclude tools as it contains a lib jar and a clover README and sneaks its way into binary packaging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369227 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 22:03:00 +00:00
Robert Muir 60deff559f remove dead code (same as superclass impl)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369205 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 20:53:53 +00:00
Robert Muir 8f726e254b LUCENE-3616: throw exception on some illegal field configurations (applying boost to omitNorms or unindexed field), fix TextField(Reader) ctor as it cannot Store
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369196 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 20:26:13 +00:00
Robert Muir 33fd61bb3a LUCENE-4089: add documentation for termsIndexInterval/Divisor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369022 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 15:20:38 +00:00
Robert Muir 91833f0bc8 LUCENE-4140: make this getter/setter pkg-private as it has pkg-private parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368991 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 14:44:13 +00:00
Robert Muir 7465266b20 add safety so we don't generate checksums for any stale jars when regenerating
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368977 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 14:18:17 +00:00
Robert Muir 2f63ddc1fb jar-checksums should only generate checksums for third party jars
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368969 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 14:11:53 +00:00
Robert Muir 16dbab69b2 fix jar-checksums task
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368966 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 14:05:26 +00:00
Robert Muir a8ebce8f73 LUCENE-4282: Automaton FuzzyQuery didnt always deliver all results
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368927 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 13:00:59 +00:00
Michael McCandless 21e7728e57 LUCENE-4203: add IndexWriter.tryDeleteDocument
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368745 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 22:46:27 +00:00
Michael McCandless ccb43109e2 LUCENE-4225: fix offset delta encoding to be startOffset - lastStartOffset, not startOffset - lastEndOffset
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1368678 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 19:58:22 +00:00
Michael McCandless 9130567fa6 LUCENE-4225: fix NPEs when index doesn't have payloads nor offsets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1368664 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 19:48:15 +00:00
Michael McCandless 3c112d15e7 LUCENE-4177: possible fix for thread-safety issue causing test to never stop
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368618 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 17:45:23 +00:00
Michael McCandless 7fd7610b7a remove dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368616 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 17:41:04 +00:00
Robert Muir 275eff26a6 prevent test from getting Direct postingsformat either
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368614 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 17:39:27 +00:00
Mark Harwood ad2cefee00 New addition: Lucene-4069 BloomFilterPostingsFormat for faster access to low-frequency terms such as primary keys.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368567 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 16:04:20 +00:00
Michael McCandless 08209761d3 LUCENE-2501: make test a bit more random
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368478 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 14:10:44 +00:00
Michael McCandless b75834bded fix TestShardSearching to make a new _TestUtil.getTempDir for each shard, so it does not reuse dirs across test runs when you fix the seed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368255 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 21:26:38 +00:00
Robert Muir f1ae7dad35 LUCENE-4279: regenerate snowball stemmers so they aren't so heavy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368188 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 18:41:45 +00:00
Simon Willnauer b26dd733f7 LUCENE-4277: fix IndexWriter deadlock during rollback
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368157 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 18:20:46 +00:00
Robert Muir ed0e33bb6d LUCENE-4278: ensure we fail test when directories arent closed (and add test-the-tester)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367834 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 00:31:29 +00:00
Michael McCandless b43fd8ab8a merge trunk changes over
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1367777 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 20:58:32 +00:00
Robert Muir 5244693ebf LUCENE-4273: fix DocsEnum freq flag consistent with DPEnum flags
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367623 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 15:51:24 +00:00
Michael McCandless 72525cb1df use less RAM in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367496 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 11:17:14 +00:00
Robert Muir c81d882c5b disable multiplier to prevent test from OOM'ing until its more ram efficient
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367392 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 02:15:44 +00:00
Michael McCandless ac55f762b0 LUCENE-3892: register new PF
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1367339 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 22:21:19 +00:00
Michael McCandless 94aecff6c3 LUCENE-3892: remove oal.codecs.pfor (it's slower than block); add new BlockPacked postings format (copy of Block postings format except it uses oal.util.packed for packed ints encode/decode)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1367338 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 22:15:06 +00:00
Michael McCandless 72f99b47b4 LUCENE-4230: allow consumer to specify that payloads are not require when pulling D&PEnum, so codec can optimize if possible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367186 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 17:31:34 +00:00
Chris M. Hostetter 8f20844ee9 SOLR-3674: better docs, example, test for PathHierarchyTokenizerFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367178 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 17:08:58 +00:00
Robert Muir bf73f1f28b LUCENE-3884: Move ElisionFilter out of .fr package
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367096 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 14:03:27 +00:00
Michael McCandless e101167585 upgrade checkJavaDocs.py to python3
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367071 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 12:49:40 +00:00
Michael McCandless 08baaf03e5 LUCENE-4190: restrict allowed filenames to reduce risk of deleting non-lucene file from the index directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366881 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 17:59:49 +00:00
Michael McCandless 85b13adcd4 LUCENE-4269: remove BalancedSegmentMergePolicy (use TieredMergePolicy instead)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366872 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 16:41:47 +00:00
Robert Muir 2b10f1617d LUCENE-4109: BooleanQueries are not parsed correctly with the flexible queryparser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366854 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 14:38:37 +00:00
Uwe Schindler 4a54cc8b16 Allow detecting of Java 8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366850 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 14:04:16 +00:00
Uwe Schindler c6455c6da2 Nicer solution to generic array creation (still problematic in Java 6, but correct in Java 7 if done this way)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366832 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 12:36:14 +00:00
Uwe Schindler 8318dff526 Fix rawtypes warning in java 7 and 8, make the SuppressWarnings more local
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366823 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 12:08:32 +00:00
Michael McCandless 9798ad2498 fix confusing IW infoStream message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366809 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 10:41:38 +00:00
Uwe Schindler 0ebfb6a2f7 LUCENE-4268: Fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366756 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 19:57:32 +00:00
Uwe Schindler 92af111ca3 LUCENE-4268: Rename ResourceAsStreamReasourceLoader to ClasspathResourceLoader, provide FilesystemResourceLoader, bug fixing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366748 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 19:23:44 +00:00
Uwe Schindler 81cf4938ca LUCENE-3312: Merge up to trunk r1366638
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1366643 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 11:27:51 +00:00
Uwe Schindler a536dbf6ed LUCENE-3312: Apply patch 8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1366638 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 10:56:46 +00:00
Uwe Schindler 7efa75e04a LUCENE-4259: Make AnalysisSPILoader pkg-private again. Minor improvements in ResourceAsStreamResourceLoader (we should rename this one to ClassPathReassourceLoader maybe)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366631 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 09:51:24 +00:00
Robert Muir 6d2a288be3 LUCENE-4262: add ivy sync=true, so when resolve runs, only jars that should be there are there
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366509 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 19:18:49 +00:00
David Wayne Smiley 6e91227797 LUCENE-3925 RecursivePrefixTree spatial strategy should not store doc freq or pos
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366477 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 18:25:49 +00:00
Uwe Schindler 46fe5cf9d9 Improve test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366392 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 14:24:55 +00:00
Robert Muir 78ca29ee09 LUCENE-4263: remove conflicting versions of the same jar dependencies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366381 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 13:36:13 +00:00
Robert Muir 467faeaae0 LUCENE-4260: factor subPackages out of the resourceloader interface
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366360 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 12:15:03 +00:00
Uwe Schindler 53dc0191b5 Fix license
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366335 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 10:59:21 +00:00
Steven Rowe f5b7153f47 LUCENE-3747: Update minimum JFlex revision to the first supporting Unicode 6.1.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366284 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 04:42:04 +00:00
Mark Robert Miller a5f1159a6f fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366236 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 23:53:33 +00:00
Steven Rowe dc3c5db794 LUCENE-3747: fixed .jflex-macro regeneration problems; regenerated affected JFlex scanners
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366231 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 23:15:25 +00:00
Uwe Schindler 10a3d8cfdd revert development shortcut in build.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366222 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 22:51:26 +00:00
Uwe Schindler 92e5c35bc3 Fix javadocs-linter: Windows support, support for file:-URLs (now needed), fix broken XML-comments in some files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366220 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 22:45:31 +00:00
Uwe Schindler af95ff1ca4 Simplier variant that also works with Java 5 for backport
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366164 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 19:28:43 +00:00
Uwe Schindler 69a6b5a562 LUCENE-4259: Allow reloading of codec/postings format list when classpath changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366115 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 17:59:49 +00:00
Robert Muir 3d1279c06c move test to same place as 4.x branch for easier backporting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366110 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 17:55:23 +00:00
Robert Muir 62312f08e8 cut test over to newFSDirectory to hopefully stop OOMs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366011 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 14:18:07 +00:00
Robert Muir ceb3c6889a LUCENE-3747: restore this file temporarily to unbreak the build. it was a 0-byte file... I think something went wrong
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366004 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 14:07:21 +00:00
Robert Muir 8bfa167a73 LUCENE-4257: factor the getLines in REsourceLoader in WordListLoader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365992 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 13:43:28 +00:00
Steven Rowe 5abc76ea42 LUCENE-3747: Support Unicode 6.1.0.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365971 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 12:56:35 +00:00
Robert Muir ca736cea8e LUCENE-4255: clean up analysis factory exception handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365865 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 01:41:06 +00:00
Robert Muir 436175cfaf LUCENE-4250: fix trap in PayloadFunction explain API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365837 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 23:23:02 +00:00
Uwe Schindler 142d3c788f LUCENE-2510, LUCENE-4044: Migrated Solr's Tokenizer-, TokenFilter-, and CharFilterFactories to the lucene-analysis module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365586 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 13:54:04 +00:00
Uwe Schindler 7c12d83a4c LUCENE-2510: Add a test that actually "tries" to create a instance from the factory, which currently does not work for all factories (like ResourceLoader required - we have no default Impl outside Solr, or required parameters missing). At least it tests that we get InitializationException. Unfortunatley if ResourceLoaderAware.inform() is not called, some factories NPE or similar. We should fix later and make it better useable outside Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365494 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 09:01:51 +00:00
Uwe Schindler 6751eefb8e Merged revision(s) 1364862-1365482 from lucene/dev/trunk:
........
LUCENE-4044: add spi support to Tokenizer/CharFilter/TokenFilter factory
........
LUCENE-2510: apply movefactories.sh
........
LUCENE-4044: few steps closer to fixing compile
........
LUCENE-4044: add the rest for common/
........
LUCENE-4044: add services for kuromoji
........
LUCENE-4044: more factories and tests
........
LUCENE-4044: fix more compil
........
LUCENE-4044: fix some more tests
........
LUCENE-4197 rename CachedDistanceValueSource
........
LUCENE-4044: get analysis/common tests passing
........
improve zk tests vs blackhole
........
LUCENE-4044: get all lucene tests passing
........
LUCENE-4044: register phonetic factories
........
LUCENE-4245: Make IndexWriter#close() and MergeScheduler#close() non-interruptible
........
LUCENE-4044: port over icu module
........
LUCENE-4044: port over morfologik
........
LUCENE-4044: port over smartcn
........
LUCENE-4245: Addon: handle failures during flushing by enforcing CMS to stop
........
LUCENE-4044: port over stempel/uima
........
LUCENE-4044: port over synfilter
........
LUCENE-4245: better record interruption
........
fix reuse bug
........
simplify + improve test infra
........
LUCENE-4245: use IOUtils to close everything in finally block
........
LUCENE-4044: get solr tests working
........
LUCENE-4044: dont use instances just class names
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365483 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 08:10:27 +00:00
Robert Muir bc5848f7dc LUCENE-4252: null these out for GC to close ram leak
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365450 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 05:26:37 +00:00
Robert Muir d58041803c LUCENE-2510: fix more factory arg bugs found by TestFactories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365426 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 03:33:29 +00:00
Robert Muir 862dd75357 LUCENE-2510: add note
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365416 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 02:59:34 +00:00
Robert Muir 07f84ee57f LUCENE-2510: add more tests, fix bugs found by test where misconfigured factories wouldnt error out until runtime
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365414 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 02:54:31 +00:00
Robert Muir ef25010554 LUCENE-2510: add tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365375 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 00:58:05 +00:00
Uwe Schindler 2fbd91eb5c LUCENE-2510: General improvement: Be more picky about service name in SPI, as loaded from untrusted source; simplify code; improvement in Solr's ResourceLoader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365345 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 23:28:07 +00:00
Uwe Schindler 2a7fd7f174 LUCENE-2510: Replace crazy Apache Harmony(tm) parser code by a faster and easier-to-understand one
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365317 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 21:52:51 +00:00
Uwe Schindler 95a8d0a01c LUCENE-2510: revert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365294 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 21:19:01 +00:00
Uwe Schindler f099b31b5a LUCENE-2510: Fix lookup issue in not-yet tested code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365283 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 21:07:56 +00:00
Robert Muir ab2a7e389f LUCENE-3892: null these massive static data structures out so they can be GC'ed and wont OOM tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365257 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 19:49:32 +00:00
Uwe Schindler ca69c47866 LUCENE-2510: Improve the Maven-like pattern detection for the named loader. TODO: We should create an ant task that creates the META-INF/services list from filesets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365239 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 19:24:46 +00:00
Robert Muir de67b889c6 LUCENE-2510: fix javadocs linter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365225 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 19:01:55 +00:00
Uwe Schindler d1ad745f53 LUCENE-2510: Make the SOLR backwards layer be implemented directly inside SolrResourceLoader (sorry for the generics and still needed suppress warnings... - maybe somebody has an idea for the map inside map)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365215 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 18:44:40 +00:00
Uwe Schindler b87e306e85 LUCENE-2510: minor change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365145 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 15:53:29 +00:00
Uwe Schindler baa71b943f LUCENE-2510: Some cleanup in the new service class iterator + better messages
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365143 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 15:49:46 +00:00
Uwe Schindler fe05af5e84 LUCENE-2510: Use a custom ServiceLoader in oal.util to replace java.util.ServiceLoader: It does not instantiate the classes, it only loads them without initializing them and it 100% respects classpath order, so the IBM J9/Harmony workaround is gone.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365122 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 15:22:48 +00:00
Robert Muir 5b1664349a LUCENE-4044: dont use instances just class names
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365106 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 15:01:12 +00:00
Uwe Schindler 75b3fe9c81 LUCENE-2510: remove unchecked cast :-) It's much easier!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365030 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 13:03:27 +00:00
Uwe Schindler 6e966079b1 LUCENE-2510: Fix generics and remove Häckidy-Hick-Hack (its not needed here, as names should be unique; we dont have the preflex codec special case)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365026 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 12:58:13 +00:00
Tommaso Teofili 22970d7325 no Jira - trivial javadoc change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364967 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 10:37:06 +00:00
Uwe Schindler 2b53e08898 LUCENE-4245: use IOUtils to close everything in finally block
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364931 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 08:09:27 +00:00
Robert Muir 18587e58c9 fix reuse bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364912 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 06:28:24 +00:00
Uwe Schindler 28ced818d3 LUCENE-4245: better record interruption
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364908 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 06:19:59 +00:00
Robert Muir 5249e46aee LUCENE-4044: port over synfilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364907 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 06:18:49 +00:00
Robert Muir dfe9a8444a LUCENE-4044: port over stempel/uima
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364905 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 06:08:49 +00:00
Uwe Schindler 6fa408286d LUCENE-4245: Addon: handle failures during flushing by enforcing CMS to stop
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364903 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 06:05:20 +00:00
Robert Muir d4eb7f40b0 LUCENE-4044: port over smartcn
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364900 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:45:59 +00:00
Robert Muir 274a48b0e0 LUCENE-4044: port over morfologik
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364899 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:41:25 +00:00
Robert Muir e7b30a7d8d LUCENE-4044: port over icu module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364897 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:27:52 +00:00
Uwe Schindler 22a8a7cde9 LUCENE-4245: Make IndexWriter#close() and MergeScheduler#close() non-interruptible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364896 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:26:03 +00:00
Robert Muir 78232bf295 LUCENE-4044: register phonetic factories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364893 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:14:55 +00:00
Robert Muir e7ff3048ce LUCENE-4044: get all lucene tests passing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364891 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:11:20 +00:00
Robert Muir 5cc38490d0 LUCENE-4044: get analysis/common tests passing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364887 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 04:58:28 +00:00
David Wayne Smiley 035c057cbf LUCENE-4197 rename CachedDistanceValueSource
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364882 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 04:45:32 +00:00
Robert Muir 134a4a400a LUCENE-4044: fix some more tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364881 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 04:36:52 +00:00
Robert Muir ca658fd75d LUCENE-4044: fix more compil
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364879 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 04:05:36 +00:00
Robert Muir 73d4b55f7e LUCENE-4044: more factories and tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364878 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 03:59:34 +00:00
Robert Muir f0cf51b02f LUCENE-4044: add services for kuromoji
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364877 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 03:34:26 +00:00
Robert Muir 55e5e56604 LUCENE-4044: add the rest for common/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364876 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 03:31:00 +00:00
Robert Muir 44fda553d6 LUCENE-4044: few steps closer to fixing compile
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364875 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 03:12:43 +00:00
Robert Muir fe2d1194fb LUCENE-2510: apply movefactories.sh
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364867 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 01:56:39 +00:00
Robert Muir 2365f14f7f LUCENE-4044: add spi support to Tokenizer/CharFilter/TokenFilter factory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364863 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 01:48:56 +00:00
Robert Muir 2ba546ef2e LUCENE-4249: fix PayloadTermQuery to defer to the PayloadFunction in explain
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364812 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 21:48:57 +00:00
Robert Muir 33f6da286e merge trunk (1364720-1364799)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1364800 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 20:57:31 +00:00
Robert Muir 29c15ddb20 fix test to use TEST_VERSION_CURRENT (to unbreak branch_4x)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364797 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 20:51:56 +00:00
Robert Muir e0d137f8e2 LUCENE-4828: add AssertingPostingsConsumer, fix minor inconsistencies in producers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364792 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 20:46:08 +00:00
David Wayne Smiley 618c38fd98 LUCENE-4223 spatial docs: overview.html, SpatialStrategy, and added SpatialExample.java sample
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364782 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 20:19:02 +00:00
Robert Muir c0f8cd69a8 LUCENE-4248: add producer assertions to Codec API / fix producer inconsistencies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364763 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 19:26:00 +00:00
Robert Muir 3a0464f165 LUCENE-3892: merge trunk (1364688-1364719)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1364720 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 17:13:49 +00:00
Robert Muir ed85646812 LUCENE-3892: fix SimpleText reuse bug w/ start/endOffset
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364714 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 17:10:59 +00:00
Robert Muir 02bf38865a LUCENE-3892: merge trunk (1363348-1364687)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1364696 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 16:06:25 +00:00
Robert Muir 163a5a1c0e LUCENE-3892: fix producer in this test to pass -1 if we arent indexing offsets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364693 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 15:58:24 +00:00
Robert Muir ec0eff6dcf LUCENE-3892: add TestPostingsFormat from pforcodec_3892 branch to get it in jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364688 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 15:52:39 +00:00
Shai Erera 7022593713 simplify DirTaxoWriter.addCategory synchronization in an attempt to make concurrency more safer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364618 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 13:04:44 +00:00
Shai Erera aa28aff77e LUCENE-4234: Exception when FacetsCollector is used with ScoreFacetRequest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364576 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 10:58:56 +00:00
Uwe Schindler c945fb98fb Copy over changes from 3.6 branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364568 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 10:26:46 +00:00
Adrien Grand d0ac05dcfd LUCENE-4239: Provide access to PackedInts' blocks <-> values conversion methods (first iteration).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1364157 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 19:26:45 +00:00
Michael McCandless 832800b537 explain that app should not change returned BytesRef payload
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364107 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 14:39:36 +00:00
Michael McCandless 91150e2477 also test extremes (1, MAX_VALUE) for DirectPF's configs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364106 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 14:36:57 +00:00
Michael McCandless cd2bf59fdf LUCENE-3892: turn on all options testing in TestPostingsFormat; fix it to skip offsets if the PF can't index them
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1364085 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 13:31:16 +00:00
Michael McCandless 5d36bf73e1 LUCENE-3892: fix SimpleText reuse bug w/ start/endOffset
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1364083 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 13:30:42 +00:00
Robert Muir f55c8d1247 fix bugs in DirectPF's lowFreq d-and-p-enum, set payload.bytes/offset/length in getPayload, also skip payload pointer correctly when scanning over deleted docs in nextDoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364070 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 12:13:19 +00:00
Robert Muir 24092aab4c add toString for debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364064 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 10:43:20 +00:00
Robert Muir 0d0ad900cb TestNRTThreads wants a MockDirectoryWrapper always
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364031 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 01:21:13 +00:00
Robert Muir b9c088dc06 test really needs MockDirectoryWrapper always
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364026 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 00:28:26 +00:00
Robert Muir 62ae7219b8 LUCENE-4238: add Mark's test... occasionally slow so its @Nightly for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364006 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 22:49:05 +00:00
Robert Muir 22b5c84800 LUCENE-4243: MockDirectoryWrapper synchronizes too much
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363971 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 22:09:26 +00:00
Michael McCandless 6ccd856bae LUCENE-3892: move readBlock/skipBlock up as static methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1363886 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 18:18:16 +00:00
Robert Muir 0ac72088e8 turn assertingDirectoryReader back on
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363877 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 17:15:24 +00:00
Robert Muir 359850aec5 LUCENE-4237: add build option to build the javadocs index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363871 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 16:48:02 +00:00
Robert Muir 6a4cdbeb05 LUCENE-4240: don't invoke the Analyzer for not-analyzed fields, fix offsetGap to just take fieldName
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363821 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 15:05:58 +00:00
Michael McCandless 2587cb1577 LUCENE-4227: add changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363811 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 14:46:26 +00:00
Michael McCandless b85dc82b4f LUCENE-4227: add DirectPostingsFormat, to hold all postings in simple uncompressed arrays
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363803 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 14:33:43 +00:00
Michael McCandless 1e49670a55 LUCENE-4225: BlockPostingsFormat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1363421 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 16:53:58 +00:00
Michael McCandless cf36fb9a58 LUCENE-3892: merge in trunk changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1363400 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 15:58:54 +00:00
Robert Muir d408b72f81 don't divide by 0 in the checkindex status: it totally confuses people to see the \uFFFD for the NaN
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363379 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 15:21:12 +00:00
Martijn van Groningen a965d6fdf7 Fix of rare FC insanity during tests that have occurred in grouping & joining tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363272 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 09:48:04 +00:00
Robert Muir 5a2d0bc654 LUCENE-2686, LUCENE-3505: Fix various bugs in BooleanQuery, clean up scorer navigation API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363115 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 21:04:18 +00:00
Uwe Schindler cee33695d3 LUCENE-4235: Remove enforcing of Filter rewrite for NRQ queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363049 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 19:08:24 +00:00