Skip to content

Apache Lucene open-source search software

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

Uwe Schindlerac3863085515
diff --cc lucene/core/src/java/org/apache/lucene/document/FieldType.java
index 61e2c7347bb,4da9f392056..cb2400dc8dd
--- a/lucene/core/src/java/org/apache/lucene/document/FieldType.java
+++ b/lucene/core/src/java/org/apache/lucene/document/FieldType.java
@@@ -39,8 -39,10 +39,9 @@@ public class FieldType implements Index
private boolean storeTermVectors;
private boolean storeTermVectorOffsets;
private boolean storeTermVectorPositions;
+ private boolean storeTermVectorPayloads;
private boolean omitNorms;
private IndexOptions indexOptions = IndexOptions.DOCS_AND_FREQS_AND_POSITIONS;
- private DocValues.Type docValueType;
private NumericType numericType;
private boolean frozen;
private int numericPrecisionStep = NumericUtils.PRECISION_STEP_DEFAULT;
diff --cc lucene/core/src/test/org/apache/lucene/search/TestBooleanMinShouldMatch.java
index 7d8a5edf6aa,05b9c1b7f86..dd93da592eb
--- a/lucene/core/src/test/org/apache/lucene/search/TestBooleanMinShouldMatch.java
+++ b/lucene/core/src/test/org/apache/lucene/search/TestBooleanMinShouldMatch.java
@@@ -22,8 -22,9 +22,10 @@@ import org.apache.lucene.util.LuceneTes
import org.apache.lucene.document.Document;
import org.apache.lucene.index.IndexReader;
import org.apache.lucene.index.RandomIndexWriter;
+import org.apache.lucene.index.StoredDocument;
import org.apache.lucene.index.Term;
+ import org.apache.lucene.search.similarities.DefaultSimilarity;
+ import org.apache.lucene.search.similarities.Similarity;
import org.apache.lucene.store.Directory;
import org.junit.AfterClass;
import org.junit.BeforeClass;