Commit Graph

32324 Commits

Author SHA1 Message Date
Munendra S N 84a62a5d87 SOLR-13679:Fix default style of [explain] registered in solrconfig.xml 2019-08-05 10:04:15 +05:30
Diego 751e64651c SOLR-13676: Reduce log verbosity in TestDistributedGrouping (#819)
* SOLR-13676: Reduce log verbosity in TestDistributedGrouping using ignoreException

* Code review

* Remove Assert
2019-08-05 09:27:44 +05:30
Tomoko Uchida 09993c6cf0 LUCENE-8778: Add a migration note to MIGRATE.txt 2019-08-04 23:52:45 +09:00
yonik b6c26f6c16 SOLR-13399: fix splitByPrefix test 2019-08-03 12:52:35 -04:00
Leonardo Menezes ff7b0c9de5 LUCENE-8764: Add "export all terms" feature to Luke
Co-authored-by: Tomoko Uchida <tomoko@apache.org>
2019-08-03 18:20:26 +09:00
Munendra S N 8c4fde94fe SOLR-12555: use expectThrows() to verify the ex thrown in tests 2019-08-03 13:00:49 +05:30
Chris Hostetter e8418adedb Harden CollectionPropsTest:
These fixes all relate to testWatcher + testMultipleWatchers:
* add additional asserts to the test methods to assert the expected property values are found
* mark Watcher.props volatile to prevent stale read by test thread
* add some randomization to Watcher.props to either come from the onStateChanged() input or
  from an explicit call to ZkStateReader.getCollectionProperties
  - previuosly, for reasons i don't understand, the test only consulted
    ZkStateReader.getCollectionProperties inside the Watcher, and ignored the onStateChanged()
    input
  - now the test validates both
* move all Watcher.triggered access into the existing synchronization blocks to prevent
  waitForTrigger() from returning prematurely due to gaining synch lock _after_
  Watcher.triggered was incremented in onStateChanged(), but _before_ onStateChanged() updated
  Watcher.props
* add detailed logging to provide additional info to help debug any additional jenkins failures
  that might pop up in the future if these fixes aren't sufficient
2019-08-02 17:02:17 -07:00
Boris Pasko 901f381c61
SOLR-6305: Replication from filesysem defaults, not from server defaults
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-08-02 18:43:26 -04:00
Joel Bernstein ee0fd49244 SOLR-13667: Fix precommit 2019-08-02 15:48:55 -04:00
Joel Bernstein 03a39666c0 SOLR-13667: Add upper, lower, trim and split Stream Evaluators 2019-08-02 15:38:26 -04:00
Christine Poerschke e2440d06d8 SOLR-13666: pull request template now sign-posts to Solr Reference Guide source
(Closes #814 PR.)
2019-08-02 17:30:55 +01:00
Jan Høydahl be7e9df57d Unused import 2019-08-02 15:42:05 +02:00
Jan Høydahl 9548481c8c Fix precommit
Remove errors from each host detail map
Display secureClientPort and server.1, server.2, server.3...
Added test for various failure responses and expected result from multiple nodes
2019-08-02 15:03:40 +02:00
Jan Høydahl 1123afae94 SOLR-13672: Cloud -> Zk Status page now parses response from Zookeeper 3.5.5 correctly 2019-08-02 13:01:20 +02:00
Bruno Roustant 52b5ec8068 LUCENE-8906: Lucene50PostingsFormat.IntBlockTermState becomes public 2019-08-02 00:21:26 +02:00
Chris Hostetter ab470a6564 SOLR-13664: Fixed SolrTestCaseJ4.deleteCore() to properly reset the dataDir used by initCore() 2019-08-01 09:15:18 -07:00
noble 15c2fd673a SOLR-13659: Refactor Cache config to lazily load the the class 2019-07-31 19:14:17 +10:00
noble daab5b11b2 SOLR-13659: Refactor CacheConfig to lazily load the the implementation class 2019-07-31 18:46:22 +10:00
noble a929ac5dac LUCENE-8920: precommit errors 2019-07-31 18:36:40 +10:00
Noble Paul 4cf6bbefcc
SOLR-13659: Refactor Cache config to lazily load the the class (#813) 2019-07-31 03:50:17 -04:00
Chris Hostetter 6dea203d11 SOLR-13660: Fixed AbstractFullDistribZkTestBase.waitForActiveReplicaCount() to ensure replicas are active. 2019-07-30 10:14:38 -07:00
Namgyu Kim 2c0d8996cf
LUCENE-8934: promote nori tools to main jar 2019-07-31 01:14:04 +09:00
Joel Bernstein 254a17b3b0 SOLR-13625: Fix precommit 2019-07-30 10:42:06 -04:00
Joel Bernstein 62955b1a4e SOLR-13625: Fix broken test cases 2019-07-30 10:42:06 -04:00
Joel Bernstein d0674866ed SOLR-13625: Add CsvStream, TsvStream Streaming Expressions and supporting Stream Evaluators 2019-07-30 10:42:06 -04:00
Michael Sokolov d1706b36ba LUCENE-8920: Fix bug preventing FST duplicate tails from being shared when encoded as array-with-gaps 2019-07-30 08:56:16 -04:00
Adrien Gallou d9d16eec95 LUCENE-8937: Avoid agressive stemming on numbers in the FrenchMinimalStemmer 2019-07-30 21:38:05 +09:00
Munendra S N cb94eeb491 SOLR-11266: remove content-type override from _default configSet 2019-07-30 10:06:56 +05:30
Munendra S N 70a8deb0ab LUCENE-8938: use expectThrows() to verify the ex thrown in tests 2019-07-29 22:21:18 +05:30
Munendra S N 1d303cee7f SOLR-13657: fix unsupported xpath test in TestXPathRecordReader
* use expectThrows to verify the exception and the message
* fix NPE in the test
2019-07-29 22:17:40 +05:30
jimczi b8289abeeb LUCENE-8935: BooleanQuery with no scoring clause can now early terminate the query when the total hits is not requested. 2019-07-29 10:04:49 +02:00
Munendra S N 9f74cb10d3 SOLR-13643:add Getter/Setter in ResponseBuilder to handle analytic res 2019-07-29 09:48:31 +05:30
Munendra S N 501a91763b SOLR-13656: fix bad mergePolicyFactory test in SolrIndexConfigTest
* use expectThrows to verify the exception and ex message
* remove unused DummyMergePolicy
2019-07-29 09:30:25 +05:30
Munendra S N 8566bcd25e SOLR-13633: fix typos in analytics documentation 2019-07-29 09:28:28 +05:30
Jason Gerlowski cab83772c9 SOLR-13629: Cleanup whitespace in analytics contrib 2019-07-28 15:36:21 -04:00
vinod kumar 8c8d8abddc LUCENE-8936: Add SpanishMinimalStemFilter
Signed-off-by: Tomoko Uchida <tomoko@apache.org>
2019-07-28 23:36:56 +09:00
Chris Hostetter 4050ddc59b Harden RulesTest
* ensure all collections/replicas are active

* use waitForState or waitForActiveCollection before checking rules/snitch to prevent false failures on stale state

* ensure cluster policy is cleared after each test method

Some of these changes should also help ensure we don't get (more) spurious failures due to SOLR-13616
2019-07-26 18:41:06 -07:00
Michael Sokolov 92d4e712d5 LUCENE-8920: refactor FST binary search 2019-07-26 15:49:16 -04:00
Michael Sokolov fe0c042470 LUCENE-8920: remove Arc setters, moving implementations into Arc, or copying data into consumers 2019-07-26 15:46:35 -04:00
Michael Sokolov 760f2dbdcb LUCENE-8920: encapsulate FST.Arc data 2019-07-26 15:46:35 -04:00
Atri Sharma 95d9950a57 Add CHANGES entry 2019-07-26 19:25:08 +05:30
Atri Sharma 3fb6a4d613 Update TODO comments 2019-07-26 19:24:03 +05:30
Atri Sharma 94c76c790c LUCENE-8769: Introduce Range Query Type With Multiple Ranges
Currently, multiple ranges need to be specified in different
PointRangeQueries, thus leading to performance implications when
the BKD tree is deep, since each range query will need a traversal.

This commit introduces a new range query type which has multiple
ranges logically connected. All ranges are logically connected
by OR operators.
2019-07-26 19:24:03 +05:30
iverase 16ec64f7b2 Add next minor version 8.3.0 2019-07-26 13:31:33 +02:00
iverase 1c0f4b54fd Add end tag for version 2019-07-26 12:39:03 +02:00
Atri Sharma 42fadbff79 LUCENE-8915 : Improve Javadocs for RateLimiter and SimpleRateLimiter (#789) 2019-07-26 11:29:21 +02:00
iverase 846d18814a Add back-compat indices for 8.2.0 2019-07-26 10:23:21 +02:00
iverase 6a6c493b44 DOAP changes for release 8.2.0 2019-07-26 09:24:47 +02:00
Ishan Chattopadhyaya c20988907f SOLR-13637: Using google common's ImmutableMap instead of carrot's 2019-07-25 19:09:37 -04:00
Ishan Chattopadhyaya 90dd3f768f LUCENE-8927: Fixing precommit / removing unused import 2019-07-25 19:02:03 -04:00