Chris Hostetter
868e005760
SOLR-13032: harden MaxSizeAutoCommitTest to eliminate race conditions and eliminate use of arbitrary sleep
2018-12-04 10:44:05 -07:00
Gus Heck
59919b4ac0
SOLR-13036 Fix retry logic in JettySolrRunner
2018-12-03 21:54:34 -05:00
markrmiller
e14432efd8
SOLR-12801: Wait for thread on close and add AwaitsFix annotation - most of these sim tests can fail to elect shard leaders.
2018-12-03 17:40:51 -06:00
markrmiller
e3cbdd0505
SOLR-13032: Add @AwaitsFix annotation to test.
2018-12-03 11:07:40 -06:00
markrmiller
1408f5255f
SOLR-12801: Disable TimeRoutedAliasUpdateProcessorTest because the feature leaks threads.
2018-12-03 09:07:27 -06:00
Gus Heck
b6b9f9554e
SOLR-12801 fix cut/paste oops in comment
2018-12-02 16:41:55 -05:00
Gus Heck
cf4d749410
SOLR-12801 Revert breaking commit a3ec5b5fdf
and improve test
...
to be more complete. Also, add comments to make it easier for
others to understand TimeRoutedAliasUpdateProcessorTest
2018-12-02 16:34:40 -05:00
Jason Gerlowski
c951578fca
SOLR-6117: Unify ReplicationHandler error handling
...
Prior to this commit, ReplicationHandler had a few inconsistencies
in how it reported errors:
- Sometimes the 'status' field was used as an enum (e.g. 'success'
v. 'failure'. Elsewhere it is used to hold error messages.
- Sometimes an explicit 'message' field was used, but often not.
- Sometimes a stack trace was provided in place of an error message.
This commit tweaks the various error cases in ReplicationHandler to
report errors consistently. 'status' is always an enum-type value. A
'message' field is provided for all errors, with an optional 'exception'
field.
2018-12-02 16:23:04 -05:00
Jason Gerlowski
6e4c9b3b58
SOLR-12555: Use `expectThrows` for expected exceptions
...
This commit replaces the `try { doX(); fail(); }` pattern with the
`expectThrows` test helper, which was created for this purpose.
This commit makes these changes in the core package:
`o.a.solr.core`.
2018-12-01 17:19:34 -05:00
markrmiller
e5281ef3d5
SOLR-12801: Don't possibly block forever in this test in remaining spots.
2018-12-01 13:02:58 -06:00
markrmiller
b294d8460f
SOLR-12801: Don't possibly block forever in this test in another spot.
2018-12-01 12:55:05 -06:00
markrmiller
b5a9cca168
SOLR-12801: Raise THREAD_POOL_MAX_IDLE_TIME_MS.
2018-12-01 12:42:28 -06:00
markrmiller
cbe9f82202
SOLR-12801: Don't possibly block forever in this test.
2018-12-01 08:58:13 -06:00
markrmiller
755044b58f
SOLR-12801: Wait for collection creation in test.
2018-12-01 08:09:03 -06:00
markrmiller
9b0b9032e2
SOLR-12801: Fix thread leak in test.
2018-12-01 00:53:12 -06:00
markrmiller
7f88bfa112
SOLR-12801: Wait for collections properly.
2018-12-01 00:26:03 -06:00
markrmiller
a3ec5b5fdf
SOLR-12801: Wait for executor to finish shutdown.
2018-12-01 00:26:03 -06:00
markrmiller
d8f482f5fb
SOLR-13030: Update executor usage to work correctly with Java 11 and update Mockito & HttpComponents to work with Java 11 and fix get remote info retry to work across jvms better.
2018-12-01 00:26:02 -06:00
markrmiller
a01d0d9ef9
SOLR-13030: Close MetricsHistoryHandler inline.
2018-11-30 18:13:26 -06:00
Chris Hostetter
5dc988f5ee
SOLR-12839: JSON 'terms' Faceting now supports a 'prelim_sort' option to use when initially selecting the top ranking buckets, prior to the final 'sort' option used after refinement.
2018-11-30 15:49:06 -07:00
javanna
cf016f8987
LUCENE-8563: Remove k1+1 constant factor from BM25 formula numerator.
...
Signed-off-by: Adrien Grand <jpountz@gmail.com>
2018-11-30 09:42:49 +01:00
markrmiller
75b1831967
SOLR-12801: Make massive improvements to the tests.
...
SOLR-12804: Remove static modifier from Overseer queue access.
SOLR-12896: Introduce more checks for shutdown and closed to improve clean close and shutdown. (Partial)
SOLR-12897: Introduce AlreadyClosedException to clean up silly close / shutdown logging. (Partial)
SOLR-12898: Replace cluster state polling with ZkStateReader#waitFor. (Partial)
SOLR-12923: The new AutoScaling tests are way too flaky and need special attention. (Partial)
SOLR-12932: ant test (without badapples=false) should pass easily for developers. (Partial)
SOLR-12933: Fix SolrCloud distributed commit.
2018-11-29 11:58:51 -06:00
David Smiley
1534bbe4ae
SOLR-5211: fix test
2018-11-27 07:50:01 -08:00
David Smiley
dc134be449
SOLR-5211: ignore temporarily pending moshe fixing
2018-11-26 10:11:21 -05:00
Moshe
a346ba0d3c
SOLR-5211: Always populate _root_ (if defined).
...
And, small refactor: Clarified how _version_ is transferred from root to children.
2018-11-25 21:47:49 -05:00
Mikhail Khludnev
d7b878e90c
SOLR-12546: Let csv response writer to handle docValues fields by default.
2018-11-25 11:26:39 +03:00
Alan Woodward
2459072286
SOLR-12775: Add deprecated versions of LowerCaseTokenizer and LowerCaseTokenizerFactory
2018-11-22 13:54:39 +00:00
Noble Paul
492c3440de
SOLR-13006: ZkNodeProps to be able to load from both javabin and JSON
2018-11-21 18:20:03 +11:00
Cao Manh Dat
05167ed01d
SOLR-12986: HttpPartitionTest reliably failing seed
2018-11-20 15:01:19 +00:00
Noble Paul
25bca6f165
SOLR-12992: When using binary format, ExportWriter to directly copy BytesRef instead of creating new String
2018-11-20 14:58:32 +11:00
Christine Poerschke
eb8010405d
SOLR-12972: remove deprecated, unused SolrIndexConfig.luceneVersion
2018-11-19 14:51:13 +00:00
Christine Poerschke
7abb25eff5
SOLR-12972: deprecate unused SolrIndexConfig.luceneVersion
2018-11-19 14:06:09 +00:00
Alan Woodward
65486442c4
LUCENE-8497: Replace MultiTermAwareComponent with normalize() method
2018-11-19 10:09:37 +00:00
Jim Ferenczi
759af0127c
LUCENE-8464: Fix legacy.TestMultiValuedNumericRangeQuery to count the number of hits accurately
2018-11-19 09:42:48 +01:00
Jim Ferenczi
dc2c7784e6
Fix legacy.TestNumericRangeQuery to count the number of hits accurately
2018-11-17 21:20:27 +01:00
Christophe Bismuth
b4449c73e4
LUCENE-8464: ConstantScoreScorer now implements setMinCompetitveScore in order to early terminate the iterator if the minimum score is greater than the constant score.
...
Signed-off-by: Jim Ferenczi <jimczi@apache.org>
2018-11-16 15:14:11 +01:00
Adrien Grand
3302ed2ac6
LUCENE-8470: Remove legacy doc values APIs from lucene/core.
2018-11-16 14:24:34 +01:00
Erick Erickson
763e64260f
SOLR-12881: Remove unneeded import statements
2018-11-14 17:48:15 -08:00
Cao Manh Dat
f357c06276
SOLR-12969: Inconsistency with leader when PeerSync return ALREADY_IN_SYNC
2018-11-12 10:10:22 +00:00
Cao Manh Dat
397b88aefa
SOLR-12313: No need to wait for in-sync with leader in RecoveryAfterSoftCommitTest since we only care about recovery
2018-11-10 06:01:19 +00:00
Chris Hostetter
77a4bfaa90
SOLR-12962: Added a new 'uninvertible' option for fields and fieldtypes. This defaults to 'true' for backcompat allowing a FieldCache to be built for indexed fields as needed, but users are encouraged to set this to false (using docValues as needed) to reduce the risk of large fluxuations in heap size due to unexpected attempts to sort/facet/function on non-docValue fields.
2018-11-09 08:30:04 -07:00
Tim Underwood
fbb987282e
SOLR-12880: Show the FacetProcessor class name instead of the
...
FacetRequest in the JSON Facets debug-trace output
2018-11-08 23:32:26 -05:00
Tim Underwood
243a8a668a
SOLR-12964: Use DocValuesIterator.advanceExact() instead of the advance()/docID() pattern
2018-11-08 14:34:17 -05:00
Gus Heck
53482e510c
SOLR-12938 - fix test case for handling of bogus collection names
...
that was failing when HttpClusterStateProvider is used instead of
ZkClusterStateProvider
2018-11-07 20:05:32 -05:00
David Smiley
d0cd4245bd
LUCENE-8557: LeafReader.getFieldInfos should always return the same instance
...
MemoryIndex: compute/cache up-front
Solr Collapse/Expand with top_fc: compute/cache up-front
Json Facets numerics / hash DV: use the cached fieldInfos on SolrIndexSearcher
SolrIndexSearcher: move the cached FieldInfos to SlowCompositeReaderWrapper
2018-11-06 14:45:32 -05:00
Alexandre Rafalovitch
0ddbc4bf95
SOLR-12966: Add Javadoc @since tag to URP classes
2018-11-06 08:05:07 -05:00
Alexandre Rafalovitch
c07df19666
SOLR-12956: Add Javadoc @since tag to Analyzer component classes
2018-11-06 07:38:20 -05:00
Cao Manh Dat
13a83564bb
SOLR-12313: Make the test finish quicker by lower down intervals
2018-11-06 11:19:13 +00:00
Steve Rowe
01808eee93
SOLR-12243: Edismax missing phrase queries when phrases contain multiterm synonyms
2018-11-05 10:32:49 -05:00
Gus Heck
45b772f4a9
SOLR-12938 - Cluster status now returns results for aliases instead of
...
throwing an exception
2018-11-04 12:01:51 -05:00