30654 Commits

Author SHA1 Message Date
Joel Bernstein
1cfc735fff SOLR-12634: Add gaussfit to the Math Expressions user guide 2018-08-28 17:01:15 -04:00
Steve Rowe
6430749d46 SOLR-12662: Reproducing TestPolicy failures: NPE and NoClassDefFoundError 2018-08-28 12:42:59 -04:00
Dawid Weiss
ca54137c8e LUCENE-8468: use NoSuchFileException instead of FileNotFoundException. 2018-08-28 15:12:41 +02:00
Andrzej Bialecki
8d1dce933f SOLR-12392: Fix several bugs in tests and in trigger event serialization.
Add better support for converting MapWriter instances to JSON.
2018-08-28 15:11:18 +02:00
Dawid Weiss
f762953aab LUCENE-8468: A ByteBuffer based Directory implementation (and associated classes). 2018-08-28 15:02:53 +02:00
Dawid Weiss
a452dd9ce3 LUCENE-8467: RAMDirectory, RAMFile, RAMInputStream, RAMOutputStream are deprecated. 2018-08-28 08:51:31 +02:00
Joel Bernstein
04a50b6a2e SOLR-12701: Improve Monte Carlo example 2018-08-27 20:46:26 -04:00
Tomas Fernandez Lobbe
d833b4c9d3 SOLR-10028: Fix and improvements to SegmentsInfoRequestHandlerTest 2018-08-27 14:05:50 -07:00
Joel Bernstein
659aed2de1 SOLR-12702: Add math expression userguid documentation 2018-08-27 16:10:15 -04:00
Joel Bernstein
f4212a1df0 SOLR-12687: Add to math expressions user guide 2018-08-27 14:15:22 -04:00
Tomas Fernandez Lobbe
55af898b4b LUCENE-8466: Added Vish to CHANGES.txt 2018-08-27 10:42:23 -07:00
Jim Ferenczi
5ef67e9f17 LUCENE-8466: IndexWriter.deleteDocs(Query... query) incorrectly applies deletes on flush if the index is sorted 2018-08-27 19:18:47 +02:00
Joel Bernstein
94503719ec SOLR-12702: Add zscores Stream Evaluator 2018-08-27 10:54:36 -04:00
Joel Bernstein
08a6d13c92 SOLR-12701: Remove statistical-programming page which is superceded by the new math-expressions paged 2018-08-27 10:30:48 -04:00
Andrzej Bialecki
7a3f837a32 SOLR-12669: Rename tests that use the autoscaling simulation framework. 2018-08-27 15:14:03 +02:00
Joel Bernstein
b72ff3babb SOLR-12687: Add functions to cache data structures and mathematical models 2018-08-26 19:48:56 -04:00
Nhat Nguyen
f26dd13b34 LUCENE-8458: Ensure init PendingSoftDeletes when carry-over deletes
Today when carrying over hard-deletes after merging segments, we might
not adjust soft-deletes count accordingly because we do not always
ensure that the PendingSoftDeletes of the new segment is initialized.

This change fixes the initialization condition in PendingSoftDeletes and
makes sure it is initialized before accepting deletes.

Co-authored-by: Simon Willnauer <simonw@apache.org>
2018-08-24 08:33:18 -04:00
Varun Thacker
fc9aac11f7 SOLR-12684: Document speed gotchas and partitionKeys usage for ParallelStream. Standardize search streams to specify the export handler in the examples for expressions that operate on all the tuples 2018-08-24 01:20:06 -07:00
Varun Thacker
cee309a6f7 SOLR-12572: revert numDocs to be indexed to 1k 2018-08-24 01:02:35 -07:00
Varun Thacker
9e78be40c3 SOLR-11598: Fix bug while setting and resetting string doc-values while exporting documents 2018-08-23 23:57:48 -07:00
Erick Erickson
aa10cb7802 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-08-23 16:59:58 -07:00
Adrien Grand
4368ad72d2 LUCENE-8461: Fix test failure. 2018-08-23 23:04:19 +02:00
Steve Rowe
95cb7aa491 SOLR-12590: Improve Solr resource loader coverage in the ref guide 2018-08-23 14:36:05 -04:00
Varun Thacker
dfd2801cd2 SOLR-12572: While exporting documents using the export writer, if a field is specified as a sort parameter and also in the fl (field list) parameter, we save on one doc-value lookup. This can bring performance improvements of 15% and upwards depending on how many fields are in common 2018-08-23 10:48:10 -07:00
Adrien Grand
025350ea12 LUCENE-8461: Add Lucene80Codec. 2018-08-23 10:51:45 +02:00
Erick Erickson
8cde1277ec SOLR-12690: Regularize LoggerFactory declarations 2018-08-22 15:26:37 -07:00
Varun Thacker
5eab1c3c68 SOLR-12683: HashQuery will throw an exception if more than 4 partitionKeys is specified. Earlier after the 4th partitionKey the keys would be silently ignored. 2018-08-20 15:21:19 -07:00
Erick Erickson
66d500b5a5 SOLR-12625: Combine SolrDocumentFetcher and RetrieveFieldsOptimizer 2018-08-20 10:37:32 -07:00
Shalin Shekhar Mangar
1c0f95ee04 SOLR-12130: CdcrReplicationDistributedZkTest is broken into two test classes, CdcrOpsAndBoundariesTest which does not require node restarts and CdcrWithNodesRestartsTest which does. The tests themselves are made faster and more resilient to spurious failures 2018-08-20 14:49:13 +05:30
Shalin Shekhar Mangar
079a81f14f SOLR-12675: Make LeaderVoteWaitTimeoutTest more resilient against side effects of test methods.
Extracted a new method to ensure a given number of jettys are always running in the test setup. Also, delete all collections created by other test methods.
2018-08-20 14:45:50 +05:30
Shalin Shekhar Mangar
3c9050c3dd SOLR-12679: MiniSolrCloudCluster.startJettySolrRunner method should not add a duplicate jetty instance to the list 2018-08-20 14:24:31 +05:30
Shalin Shekhar Mangar
20d0f67edd SOLR-12680: Fix ClassCastException and AIOOBE in TestSolrConfigHandlerConcurrent 2018-08-20 13:25:56 +05:30
Shalin Shekhar Mangar
ee498f5a38 SOLR-12679: MiniSolrCloudCluster.stopJettySolrRunner should remove jetty from the internal list
While the startJettySolrRunner adds the given jetty instance to the internal list of jetty instances, the stopJettySolrRunner method does not remove the given instance from the list. This leads to inconsistencies such as stopped jettys retained in the internal list and duplicate (stopped) jettys. This commit also fixes TestCollectionsAPIViaSolrCloudCluster to deal with this change.
2018-08-20 13:17:05 +05:30
Varun Thacker
3e4545219e SOLR-12674: RollupStream should not use the HashQueryParser for 1 worker 2018-08-19 11:59:38 -07:00
iverase
d6e1d4a4ba LUCENE-8457: turn off more debugging output for test 2018-08-18 18:33:26 +02:00
Karl Wright
d8ba1b1661 LUCENE-8457: turn off debugging output for test 2018-08-18 10:53:30 -04:00
Karl Wright
30f64d778a LUCENE-8457: Use backing planes for all potentially narrow GeoBBox shapes. 2018-08-18 10:44:59 -04:00
Erick Erickson
9f615fbae7 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-08-17 14:40:16 -07:00
Joel Bernstein
52f9cee97b SOLR-12671: Add robust flag to knnRegress Stream Evaluator 2018-08-17 14:26:17 -04:00
Noble Paul
124be4e202 SOLR-12014: Cryptic error message when creating a collection with sharding that violates autoscaling policies 2018-08-18 00:37:50 +10:00
Shalin Shekhar Mangar
6e21cb3aa9 SOLR-11990: Create Collection API now waits for the updated state of the withCollection to be visible after setting the COLOCATED_WITH value
Sometimes deletion of the withCollection succeeds even though the linked collection exists, if the delete request is sent immediately after the creation of the linked collection. This is because of a race between the delete request and the zookeeper update made by create collection such that the COLOCATED_WITH property is not visible to the overseer collection processor during the delete request. Therefore, we now wait until the property is visible before returning a success to the user. The test also adds more asserts so that a similar race will fail the test immediately with a proper assert message.
2018-08-17 14:26:30 +05:30
Shalin Shekhar Mangar
055105ba0b SOLR-12655: Adding nori to the list of dependencies of solr core's Intellij IDEA module 2018-08-17 14:17:05 +05:30
Karl Wright
9e54e3e9b4 LUCENE-8457: Add disabled unit test demonstrating the problem. 2018-08-17 03:44:20 -04:00
Anshum Gupta
4309ae6f9f SOLR-12475: Fix failing MaxSizeAutoCommitTest 2018-08-16 23:05:21 -07:00
Andrzej Bialecki
585ba164a8 SOLR-12392: Improve reliability of IndexSizeTriggerTest. 2018-08-16 22:05:27 +02:00
Andrzej Bialecki
9572e129f8 SOLR-12668: Autoscaling trigger listeners should be executed in the order of their creation. 2018-08-16 21:44:10 +02:00
David Smiley
a661ebc6df SOLR-12591: Avoid JDK 9 bug with certain timezones like AKDT; test with EDT.
Also standardized on single 'z' in the test patterns, which is equivalent to triple.
2018-08-16 15:16:26 -04:00
Steve Rowe
711a72ed84 LUCENE-8456: Upgrade Apache Commons Compress to v1.18 2018-08-16 12:06:33 -04:00
Shalin Shekhar Mangar
57b33c19a4 SOLR-12607: Minor refactorings
Replaced a few private instances with lambdas and extracted common code for retrying splits into a new method
2018-08-16 16:07:05 +05:30
Shalin Shekhar Mangar
94ecb0616a SOLR-12607: Extract common code from testSplitAfterSplit and testSplitAfterSplit2 methods
The testSplitAfterSplit and testSplitAfterSplit2 tests only differ in the kind of fault injection being used. The rest of the test code is exactly the same so the common code is extracted into a new method called splitAfterSplit.
2018-08-16 15:19:56 +05:30