Robert Muir
1051db4038
LUCENE-9163: test speedup for slowest/pathological tests
...
Calming down individual test methods with double-digit execution times
after running tests many times.
There are a few more issues remaining, but this solves the majority of them.
2020-01-22 17:49:33 -05:00
Chris Hostetter
6b3e7feba1
SOLR-14159: Eliminate some 'spin loops' in tests that may be contributing factors to odd test failures
2020-01-22 14:44:56 -07:00
David Smiley
49300bea73
dev-tools/idea/ small .iml cleanup
2020-01-22 16:25:34 -05:00
Jan Høydahl
75c64089a1
SOLR-14198: Nullpointer exception in AuditEvent with AuthorizationContext ( #1192 )
2020-01-22 21:39:43 +01:00
David Smiley
f1db918e20
SOLR-14040: restore legacy Collection auto-creation
2020-01-22 15:26:37 -05:00
Chris Hostetter
95dfddc7d4
SOLR-12859: Fixed DocExpirationUpdateProcessorFactory to work with BasicAuth and other auth plugins that delegate to PKI for server initiated node-to-node communication.
2020-01-22 09:32:25 -07:00
Robert Muir
8fd3fbd93c
TestPointValues only index 300k docs in NIGHTLY configuration, that is too much locally
2020-01-22 10:27:15 -05:00
Robert Muir
b7694535eb
mark StressRamUsageEstimator tests nightly.
...
This is consistently the slowest test for me in all of lucene core by
far. Takes around an entire minute. Mark it nightly: should catch any
issues with RAM estimation but keep local builds fast.
2020-01-22 10:19:44 -05:00
Robert Muir
9dae566ee7
LUCENE-9160: add params/docs to override jvm params in gradle build, default C2 off in tests.
...
Adds some build parameters to tune how tests run. There is an example
shown by "gradle helpLocalSettings"
Default C2 off in tests as it is wasteful locally and causes slowdown of
tests runs. You can override this by setting tests.jvmargs for gradle,
or args for ant.
Some crazy lucene stress tests may need to be toned down after the
change, as they may have been doing too many iterations by default...
but this is not a new problem.
2020-01-22 09:58:30 -05:00
Joel Bernstein
25ba52d1a0
SOLR-14130: Update CHANGES.txt
2020-01-22 09:52:20 -05:00
Ishan Chattopadhyaya
cc9c494a34
Synchronizing 8.4.1 changes
2020-01-22 11:31:12 +05:30
Ishan Chattopadhyaya
f6ca662f33
Synchronizing 8.4.1 changes
2020-01-22 11:21:53 +05:30
Robert Muir
3ecd7a03aa
LUCENE-9159: merge gradle/ant test security policies (main file)
2020-01-21 23:43:31 -05:00
Robert Muir
7e0534d87c
LUCENE-9159: merge gradle/ant test security policies
2020-01-21 21:26:37 -05:00
Robert Muir
c754a764d4
LUCENE-9157: test speedup for slowest tests
2020-01-21 19:27:19 -05:00
Christine Poerschke
1af171e47f
SOLR-13965: Factor out public static StreamHandler.addExpressiblePlugins method.
2020-01-21 18:33:26 +00:00
David Smiley
ab924fd4ea
SOLR-14040: shareSchema support for SolrCloud
...
* Use Caffeine impl and weak values (to the schema). Previously the cache never evicted!
* now populating the configSet name from ZK into CloudDescriptor when CloudDescriptor is loaded
* actual schema name needs to be deterministic now; fallback from non-existent managed-schema to schema.xml will thwart this cache
* a test conf/core.properties wasn't actually used and became a problem in it's weird location after I refactored some logic
2020-01-21 13:18:37 -05:00
Mike
ec6a9aab09
LUCENE-9098 Use multibyte code-points for complex fuzzy query ( #1194 )
2020-01-21 12:16:42 -06:00
Bruno Roustant
8894babd4a
LUCENE-9135: Make UniformSplit FieldMetadata counters long.
...
Closes #1168
2020-01-21 11:24:26 +01:00
Andrzej Bialecki
6244b7150e
SOLR-14192: Race condition between SchemaManager and ZkIndexSchemaReader.
2020-01-20 17:11:47 +01:00
Adrien Grand
bddb06b650
CompetitiveImpactAccumulator should protect its costly invariant checks behind an `assert`.
2020-01-20 11:16:09 +01:00
Dawid Weiss
351b30489c
LUCENE-9077: Enable javac linting as in ant. TONS of warnings are currently printed.
2020-01-20 10:10:48 +01:00
Dawid Weiss
1ad6bc9361
LUCENE-9077: Allow locally staged files in git status precommit check.
2020-01-20 09:36:14 +01:00
Nicholas Knize
aad849bf87
LUCENE-8621: Refactor LatLonShape, XYShape, and all query and utility classes from sandbox to core
2020-01-17 14:34:40 -06:00
Mike
338d386ae0
LUCENE-9145 First pass addressing static analysis ( #1181 )
...
Fixed a bunch of the smaller warnings found by error-prone compiler
plugin, while ignoring a lot of the bigger ones.
2020-01-17 13:30:39 -06:00
Mike McCandless
8147e491ce
LUCENE-9053: improve FST's package-info.java comment to clarify required (Unicode code point) sort order for FST.Builder
2020-01-17 13:35:05 -05:00
Adrien Grand
fb3ca8d000
LUCENE-9116: Remove long[] from `PostingsWriterBase#encodeTerm`. ( #1149 ) ( #1158 )
...
All the metadata can be directly encoded in the `DataOutput`.
2020-01-17 13:39:45 +01:00
Chris Hostetter
5f2d7c4855
SOLR-14184: Internal 'test' variable DirectUpdateHandler2.commitOnClose has been removed and replaced with TestInjection.skipIndexWriterCommitOnClose
2020-01-16 11:47:06 -07:00
Christine Poerschke
94ee211366
Fix 'Restar[t]ing' typo in RecoveryStrategy INFO log message.
2020-01-16 18:13:47 +00:00
Christine Poerschke
f04a5177e6
Update copyright year(s) in lucene/NOTICE.txt and solr/NOTICE.txt files.
2020-01-16 18:13:47 +00:00
Dawid Weiss
1e4565ce26
Don't delete jetty-start when regenerating sha checksums from ant.
2020-01-16 18:58:55 +01:00
Nicholas Knize
78655239c5
LUCENE-8369: Remove obsolete spatial module
2020-01-16 11:22:05 -06:00
Joel Bernstein
35d8e3de6d
SOLR-14130: Continue to improve log parsing logic
2020-01-16 11:36:11 -05:00
Cassandra Targett
2adecb1d6d
Ref Guide: make single shard requirement for TaggerRequestHandler slightly more prominent and descriptive
2020-01-16 09:18:31 -06:00
Ignacio Vera
eb13d5bc8b
LUCENE-9144: Fix error message on OneDimensionBKDWriter when too many points are added to the writer. ( #1178 )
2020-01-16 16:11:46 +01:00
Jason Gerlowski
424ace6f5d
SOLR-14186: Enforce CRLF in Windows files with .gitattributes ( #1163 )
2020-01-16 08:30:39 -05:00
Alan Woodward
7ea7ed72ac
LUCENE-9068: Solr query handling code catches FuzzyTermsException
2020-01-16 09:52:18 +00:00
Andrzej Bialecki
543505470c
SOLR-14128: Tentative fix: put replicas on other nodes than overseer, wait for
...
all replicas to complete the reload.
2020-01-16 10:42:26 +01:00
Joel Bernstein
4c473db99d
SOLR-14130: Add parsing instructions for different types of query records
2020-01-15 15:01:28 -05:00
Alan Woodward
9d72bfc1af
LUCENE-9068: Build FuzzyQuery automata up-front ( #1042 )
...
FuzzyTermsEnum can now either take an array of compiled automata, and
an AttributeSource, to be used across multiple segments (eg during
FuzzyQuery rewrite); or it can take a term, edit distance, prefix and transition
boolean and build the automata itself if only being used once (eg for fuzzy
nearest neighbour calculations).
Rather than interact via attribute sources and specialized attributes, users of
FuzzyTermsEnum can get the boost and set minimum competitive boosts
directly on the enum.
2020-01-15 14:58:11 +00:00
Dawid Weiss
087b2e1c0d
LUCENE-9077: Emit the location of test output on failure.
2020-01-15 14:01:20 +01:00
Dawid Weiss
fee8ba6e42
LUCENE-9077: gradle build support.
...
Merge branch 'gradle-master'
2020-01-15 13:10:33 +01:00
Dawid Weiss
c51a4a030b
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-15 13:00:02 +01:00
Dawid Weiss
0231b93731
Revert "SOLR-12490: corrected link."
...
This reverts commit 5cb5151421
.
2020-01-15 12:59:35 +01:00
Dawid Weiss
5cb5151421
SOLR-12490: corrected link.
2020-01-15 12:57:18 +01:00
Ignacio Vera
ff365a0abf
LUCENE-8903: Add LatLonShape point query ( #762 )
2020-01-15 11:57:53 +01:00
Dawid Weiss
44c203d72f
Add workaround for https://github.com/palantir/gradle-consistent-versions/issues/383
2020-01-15 11:44:21 +01:00
Mikhail Khludnev
0e4abf7179
SOLR-12490: reverting ref-guide-fix.
2020-01-15 13:08:05 +03:00
Dawid Weiss
ae2e4f3ae9
Add git help to help/
2020-01-15 10:40:41 +01:00
Dawid Weiss
e6d85cd4bc
Cleaning up minor things in rat task.
2020-01-15 10:07:24 +01:00