Commit Graph

13331 Commits

Author SHA1 Message Date
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
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 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
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
Munendra S N cb94eeb491 SOLR-11266: remove content-type override from _default configSet 2019-07-30 10:06:56 +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
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
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
Ishan Chattopadhyaya c20988907f SOLR-13637: Using google common's ImmutableMap instead of carrot's 2019-07-25 19:09:37 -04:00
Jason Gerlowski dc8e9afff9 SOLR-13622: Add fileStream stream-source 2019-07-25 09:13:00 -04:00
noble 100c160017 SOLR-13637: BasicAuthIntegrationTest failures fixed 2019-07-25 04:30:48 -04:00
yonik c0da27173c SOLR-13399: annotate flaky test 2019-07-24 21:58:50 -04:00
noble 85814e262c SOLR-13637: addressing test failures take 2 2019-07-23 12:17:49 -04:00
Munendra S N eae7a46be9 SOLR-13191: correct the zookeeper link in ref-guide 2019-07-23 21:07:57 +05:30
Andrzej Bialecki d92159b896 SOLR-13558: Allow dynamic resizing of SolrCache-s. 2019-07-23 12:21:21 +02:00
noble 7f04604d56 SOLR-13637: reject duplicate jar updates 2019-07-22 16:23:44 -04:00
noble 2ef0ba3dce SOLR-13637: addressing test failures 2019-07-22 08:33:02 -07:00
Jan Høydahl 369a5dc796 SOLR-6520: Replace old wiki link with versioned RefGuide link in version specific release docs 2019-07-22 14:24:43 +02:00
noble afa64c892b SOLR-13637: removed ununsed code 2019-07-21 12:29:02 -07:00
Noble Paul 631edee1cb
SOLR-13637 Enable loading of plugins from the corecontainer memclassloader 2019-07-21 12:21:56 -07:00
noble 7d716f1107 SOLR-13565: Precommit errors 2019-07-22 03:31:39 +10:00
Mikhail Khludnev c173c2e863 SOLR-11556: fixing multiple backup repository support. 2019-07-21 13:04:48 +03:00
Munendra S N b5a190b576 SOLR-10377: add debug.explain.structured to Admin UI
* This param would be displayed only if debugQuery is selected
2019-07-20 10:41:57 +05:30
Munendra S N 96d400f511 SOLR-12870: use StandardCharsets instead of String values
Fixes #469
2019-07-20 10:10:32 +05:30
noble 69779d0a63 SOLR-13565: Node level runtime libs loaded from remote urls
SOLR-13553: Node level custom RequestHandlers
2019-07-20 14:33:31 +10:00
Noble Paul bd30c3701e
SOLR-13565, SOLR-13553 (#774)
* SOLR-13565: initial commit

* SOLR-13565: updated with testcase

* SOLR-13565: removed unused methods

* SOLR-13565: better logging

* SOLR-13565: disable SSL

* SOLR-13565: more tests

* SOLR-13565: syncing with master

* SOLR-13565: fixing tests

* SOLR-13565: fixing tests

* SOLR-13534: Fix test

Remove buggy 'port roulette' code that can easily fail if OS gives the selected port to a different process just before creating the server

Use jetty's built in support for listining on an OS selected port instead

Also increase timeouts to better account for slow/heavily loaded (ie:jenkins) VMs where SolrCore reloading may take longer then 10 seconds

* SOLR-13565: set proper permission name

* SOLR-13565: syncing with master

* SOLR-13565: syncing with master

* SOLR-13565: removed accidental change

* SOLR-13565: removed accidental change

* SOLR-13565: removed accidental change

* SOLR-13565: more tests

* SOLR-13565: Tests with key signing tests

* SOLR-13565: fixing concurrency issues in tests

* SOLR-13565: add tests with 512 bit RSA

* SOLR-13565: fixing concurrency issues

* SOLR-13565: remove unused code
2019-07-20 14:20:32 +10:00
yonik c5cabf1e03 SOLR-13399: SPLITSHARD splitByPrefix for compositeId 2019-07-19 11:35:01 -04:00
Gus Heck b619bcd1fa SOLR-13375 - CHANGES.txt - Probably should be in a new features section 2019-07-19 11:06:01 -04:00
Gus Heck 785b658427 SOLR-13375 - CHANGES.txt entry 2019-07-19 10:11:22 -04:00
Gus Heck a7435d9e6e SOLR-13375 - fix test. Can't shuffle the to random collections at
this point in the test since the collections available are changing due
to deletions and we might try to communicate with a collection
that was (correctly) deleted.
2019-07-19 10:00:53 -04:00
Chris Hostetter 24b94b8dac Harden StreamDecoratorTest
remove flakey dependency on sleep (to wait for cache expiration) w/explicit instruction to ignore cache

sleep is not garunteed to sleep the exact amount (based on limitations of the system clock)
2019-07-18 19:40:24 -07:00
Christine Poerschke 5e3947091a SOLR-13585: Factor out SearchGroupsResultTransformer.[de]serializeOneSearchGroup methods. (Christine Poerschke, Diego Ceccarelli) 2019-07-18 14:23:32 +01:00
Munendra S N 1fc416404c SOLR-13206: Fix AIOOBE when group.facet is specified with group.query
group.facet is supported only for group.field. When group.facet is
used with group.query, then return proper error code
2019-07-18 11:08:17 +05:30
Munendra S N 4b75776f5a SOLR-13634:move ResponseBuilderTest to same package as ResponseBuilder 2019-07-17 22:38:35 +05:30
Munendra S N 1ecd02deb5 SOLR-12368: inplace update for field that doesn't yet exist in any doc
If the field is non-stored, non-indexed and docvalue enabled numeric field
then inplace update can be done. previously, lucene didn't support
docvalue update for field that is not yet present in indexWriter but
LUCENE-8316 added support for this.
This adds support to update field which satisfies inplace conditions
but which doesn't yet exist in any docs
2019-07-17 21:45:15 +05:30
Erik Hatcher 96dc45b649 Add changes blurb 2019-07-17 12:03:16 -04:00
marcussorealheis e94fe382e9 fix another ant build change. 2019-07-17 11:38:35 -04:00
marcussorealheis d351cd87a1 revert another build change. 2019-07-17 11:38:35 -04:00
marcussorealheis 4d0a8ccaf1 revert any changes to chosen. 2019-07-17 11:38:35 -04:00
marcussorealheis 3086040feb change only the build file rather than the names. 2019-07-17 11:38:35 -04:00
marcussorealheis e4da5a3589 removing accidental file and updating index.html. 2019-07-17 11:38:35 -04:00
marcussorealheis 7868ee159c adding a file I accidentally deleted. 2019-07-17 11:38:35 -04:00
marcussorealheis a4e76c81cd re-add deleted file modify index. 2019-07-17 11:38:35 -04:00
marcussorealheis 02a0541000 fixed the ant build file 2019-07-17 11:38:35 -04:00
marcussorealheis c0af188347 modify the build.xml to exclude full JS files. 2019-07-17 11:38:35 -04:00
marcussorealheis 78b278993d moved to minified files in index. 2019-07-17 11:38:35 -04:00
marcussorealheis 1ff157abbb update the build.xml file to exclude full js files where minified ones exist. 2019-07-17 11:38:35 -04:00
marcussorealheis cd04f002cd rename the files for which minified versions are present so that they are not inlcuded in running WAR files. 2019-07-17 11:38:35 -04:00
iverase 41ae03a9a0 LUCENE-8923: Add Lucene-8.3 entry in CHANGES.txt 2019-07-17 13:53:21 +02:00
Chris Hostetter 19c78ddf98 SOLR-13534: Fix test
Remove buggy 'port roulette' code that can easily fail if OS gives the selected port to a different process just before creating the server

Use jetty's built in support for listining on an OS selected port instead

Also increase timeouts to better account for slow/heavily loaded (ie:jenkins) VMs where SolrCore reloading may take longer then 10 seconds
2019-07-16 14:34:23 -07:00
noble 2d357c960c SOLR-13534: Make the test more robust 2019-07-16 11:53:13 +10:00
Gus Heck c97551cc36 SOLR-13375 - 2 dimensional routed aliases 2019-07-15 09:57:13 -04:00
Ishan Chattopadhyaya 26ede632e6 SOLR-13619: Kerberos plugin to forward original user principal 2019-07-15 15:10:07 +05:30
Ishan Chattopadhyaya 7e0af71c1e SOLR-13472: Forwarded requests should skip authorization on receiving nodes 2019-07-15 14:43:41 +05:30
Tomoko Uchida 1a53d86882 Update solr/CHANGES.txt for SOLR-13588 and SOLR-13602. 2019-07-14 14:50:04 +09:00
Chris Hostetter 7ddba3b712 Harden DeleteReplicaTest
* tighten assertions related to type of watcher that should be removed

* use waitForActiveCollection before deleting collections to work around SOLR-13616 and/or SOLR-13627
2019-07-13 08:02:49 -07:00
David Smiley aab166d830 CHANGES.txt: separate improvements to dedicated section 2019-07-11 23:11:20 -04:00
Chris Hostetter f85a78c441 SOLR-13532: Fix http timeout and error logging bugs in RecoveryStrategy 2019-07-11 14:04:46 -07:00
Christine Poerschke 7eb730f6e0 Fix couple of solr-ref-guide typos. 2019-07-11 10:18:41 +01:00
David Smiley b17740b4b5 CHANGES.txt: separate improvements to dedicated section 2019-07-10 22:37:37 -04:00
David Smiley 9c684bbdfa CHANGES.txt: separate improvements to dedicated section 2019-07-10 22:35:08 -04:00
Chris Hostetter 8a277cab7d Harden TestPolicyCloud
- ensure all collections/replicas are active

- tighten assertions around expected replica locations

- eliminate some redundent code

These changes should also help ensure we don't get (more) spurious failures due to SOLR-13616
2019-07-10 17:16:59 -07:00
Munendra S N 8322ea55f4 SOLR-11263: add test for payload func with undefined field
Payload func with undefined used to throw NPE. In SOLR-11610, this
was fixed to return proper error but there are no tests to verify
changed the behavior.
This add simple test to verify error code and error message
2019-07-10 10:17:55 +05:30
Christine Poerschke bf9a7e2626 Fix two 'against' typos. 2019-07-09 10:56:49 +01:00
Andrzej Bialecki dd4813d5b8 SOLR-13583: Return 400 Bad Request instead of 500 Server Error when a complex
alias is found but a simple alias was expected.
2019-07-05 09:19:32 +02:00
Noble Paul 404cf4947d
SOLR-13538: toNativeType () TrieDate & EnumField do not handle CharSequence properly 2019-07-05 14:47:31 +10:00
S N Munendra 5f1d342a96 SOLR-13538: Fix classcastEx in TrieDateField for atomic updates (#764)
SOLR-13538: toNativeType () TrieDate & EnumField do not handle CharSequence properly
2019-07-05 14:43:12 +10:00
Andrzej Bialecki 66812b2a67 SOLR-13003: Fix WrapperModel method delegation. 2019-07-03 20:17:46 +02:00
Anshum Gupta b7090d9c25
SOLR-13507: Remove support for addr parameter from the /solr/admin/zookeeper endpoint. (#759) 2019-07-03 10:50:01 -07:00
Munendra S N 96860eb181 SOLR-13596: remove deprecated groupSpec methods 2019-07-03 20:55:56 +05:30
Tomoko Uchida 2e3e6c5944 SOLR-13602: Update _default schema for unittests. 2019-07-04 00:08:13 +09:00
Andrzej Bialecki 5897787291 SOLR-13003: Query Result Cache does not honour maxRamBytes parameter. 2019-07-03 17:03:43 +02:00
Munendra S N e3d247f288 SOLR-13603: remove deprecated groupSpec methods usage
This is precursor to removing deprecated methods
2019-07-03 19:33:08 +05:30
Andrzej Bialecki 717afb11fc SOLR-13583: Impossible to delete a collection with the same name as an existing alias. 2019-07-03 15:52:36 +02:00
Tomoko Uchida 9d2f516357 SOLR-13588: Document Estonian analyzer in Solr Ref Guide 2019-07-03 22:02:47 +09:00
Tomoko Uchida 45ea46a425 SOLR-13602: Add a field type for Estonian language to default managed_schema 2019-07-03 20:57:38 +09:00
David Smiley 325824cd39 SOLR-13158: DIH: Add System property toggle for use of dataConfig param 2019-07-02 23:59:39 -04:00
Chris Hostetter b4a602f6b2 SOLR-13599: additional 'checkpoint' logging to try and help diagnose strange failures 2019-07-02 14:52:13 -07:00
Atri Sharma f686167e71 LUCENE-8857: Introduce Custom Tiebreakers in TopDocs#merge (#757)
This commit introduces custom tiebreakers which allows users to
specify custom tiebreakers when ordering hits to return. A
default tiebreaker is introduced for tie breaking on shard index
first and then docID.
2019-07-02 20:35:18 +02:00
Joel Bernstein c478193004 SOLR-13589: Update CHANGES.txt 2019-07-02 08:55:48 -04:00
Munendra S N 48b026d5ee SOLR-13404: Fix NPE when group=true and no group.field is present
* This was introduced in SOLR-12249
2019-07-02 10:27:54 +05:30
Munendra S N cfd22cd493 SOLR-13404: support group.query in multishard env with group.main=true
group.query after execution forms QueryCommandResult. In case of
group.main=true or group.format=simple, QueryCommandResult was not
consumed in EndResultTransformer. Also, MainEndResultTransformer assumed
that always group.field would be specified. When group.field not specified
it failed with AIOOBE. After adding suppport for QueryCommandResult in
EndResultTransformers and handling AIOOBE, group.query started giving results

Working on tests exposed few other issues. Results differed b/w standalone
& distributed mode.
* One of the reason is that TopGroupShardResponseProcessor doesn't consider correct
  limit and offset when group format is simple. In case of simple, start and rows should be used
  as limit and offset instead of group.limit and group.offset.
* Secondly, In distributed second phase grouping, computing docsToCollect didn't consider
  group response format. This issue is again similar to above issue
* offset(group.offset or start) not being considered during TopDocs#merge caused
  different results. The fix was to use to offset in merge process
* group.offset doesn't support negative values but there is no checks on the value.
  In case of negative values AIOOBE. Now, checks are added for negative values and
  returns proper error message(this change is for both standalone and distrbuted).
  Validation is done only in case of group.format=grouped as that is only case when
  group.offset is consumed.

Fixing above issues resolved the differences b/w standalone and distributed mode.
2019-07-02 08:11:13 +05:30
Joel Bernstein 96d11063a7 SOLR-13589: Fix precommit 2019-07-01 21:54:25 -04:00
Joel Bernstein 6a99151eae SOLR-13589: Add zplot cluster test case 2019-07-01 21:39:45 -04:00
Joel Bernstein 2f6a681b39 SOLR-13589: Allow zplot to visualize clusters and convex hulls 2019-07-01 21:39:45 -04:00
Munendra S N 0e877aac34 SOLR-12554: Expose IndexWriterConfig's ramPerThreadHardLimitMB
* When ramPerThreadHardLimitMB is not specified, then Lucene's
  default value 1945 is used. The specified value should be
  greater than 0 and less than 2048MB
2019-07-01 22:42:19 +05:30
Jason Gerlowski 8242e6ce1d SOLR-13539: Fix mv update of UUID, enum, bool and binary fields
Co-Authored-By: Thomas Wockinger
2019-07-01 08:53:54 -04:00
Jason Gerlowski d6345439dc Add missing predefined RBAP perms to ref-guide 2019-06-30 06:36:43 -04:00
Mikhail Khludnev 2fdb4dd7d4 SOLR-13577: wait jetty to stop as @hossman advised. 2019-06-30 09:45:35 +03:00
Munendra S N cfd6e1adfa SOLR-12364: add test cases for edismax boost
* This adds tests for bf and boosts
* Use expectThrows in edismax tests to verify exception
2019-06-29 22:18:02 +05:30