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
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
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
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
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
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
Uwe Schindler
e7811cfa6c
LUCENE-3312: Apply patch lucene-3312-patch-09.patch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1371131 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 10:01:56 +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
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
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
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
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
Robert Muir
661f5e4aa9
harden test against internet problems
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370605 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 00:11:15 +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