Commit Graph

5066 Commits

Author SHA1 Message Date
Shalin Shekhar Mangar de522052c8 SOLR-13674: NodeAddedTrigger does not support configuration of replica type hint.
A new replicaType property has been added to NodeAddTrigger so that new replicas of the given type are added when the preferredOp is addreplica. The default value of replicaType is `NRT`.

This closes #821.

(cherry picked from commit ed137dbe28)
2019-08-08 15:19:53 +05:30
Jan Høydahl f853198f72 SOLR-13672: Cloud -> Zk Status page now parses response from Zookeeper 3.5.5 correctly
(Back ported from 8 commits on master branch)
2019-08-07 10:02:38 +02:00
yonik d8f99a9986 SOLR-13399: ability to use id field for compositeId histogram 2019-08-06 14:11:12 -04:00
Bruno Roustant 445f4bf5c2 SOLR-11866: QueryElevationComponent match="subset" feature
Closes #780

(cherry picked from commit d97912529d)
2019-08-05 11:51:40 +02:00
Munendra S N b4e49206ed SOLR-13679:Fix default style of [explain] registered in solrconfig.xml 2019-08-05 10:36:47 +05:30
Boris Pasko 858b97a144
SOLR-6305: Replication from filesysem defaults, not from server defaults
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-08-02 18:44:25 -04:00
Chris Hostetter 89af2ec304 SOLR-13664: Fixed SolrTestCaseJ4.deleteCore() to properly reset the dataDir used by initCore()
(cherry picked from commit ab470a6564)
2019-08-01 09:16:02 -07:00
noble e92dba45c5 SOLR-13659: Refactor CacheConfig to lazily load the the implementation class 2019-07-31 19:12:51 +10:00
Chris Hostetter 3933047cd7 SOLR-13660: Fixed AbstractFullDistribZkTestBase.waitForActiveReplicaCount() to ensure replicas are active.
(cherry picked from commit 6dea203d11)
2019-07-30 10:15:07 -07:00
Munendra S N 64357bc913 SOLR-13643:add Getter/Setter in ResponseBuilder to handle analytic res 2019-07-29 09:58:23 +05:30
Jason Gerlowski ca4cd3c7d3 SOLR-13629: Cleanup whitespace in analytics contrib 2019-07-28 15:37:59 -04:00
Jason Gerlowski fa9473df8f SOLR-13622: Add fileStream stream-source 2019-07-25 09:14:01 -04:00
Andrzej Bialecki 82a4614856 SOLR-13558: Allow dynamic resizing of SolrCache-s. 2019-07-23 12:54:58 +02:00
Mikhail Khludnev 4e6a6ab46b SOLR-11556: fixing multiple backup repository support. 2019-07-21 13:07:25 +03:00
Munendra S N 9d223b00b3 SOLR-10377: add debug.explain.structured to Admin UI
* This param would be displayed only if debugQuery is selected
2019-07-20 10:52:04 +05:30
Munendra S N 37955f789e SOLR-12870: use StandardCharsets instead of String values
Fixes #469
2019-07-20 10:22:29 +05:30
noble 5c1b3d03f4 SOLR-13565: Node level runtime libs loaded from remote urls
SOLR-13553: Node level custom RequestHandlers
2019-07-20 14:35:40 +10:00
yonik cab2db84b2 SOLR-13399: SPLITSHARD splitByPrefix for compositeId 2019-07-19 11:37:43 -04:00
Gus Heck fb7a34cd5c SOLR-13375 - CHANGES.txt - Probably should be in a new features section
(cherry picked from commit b619bcd1fa)
2019-07-19 11:07:27 -04:00
Gus Heck 8ab29d7ac3 SOLR-13375 - CHANGES.txt entry 2019-07-19 10:09:17 -04:00
Christine Poerschke eb75a60857 SOLR-13585: Factor out SearchGroupsResultTransformer.[de]serializeOneSearchGroup methods. (Christine Poerschke, Diego Ceccarelli) 2019-07-18 14:37:10 +01:00
Munendra S N 241c44a82d 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:10:08 +05:30
Munendra S N 4c11633c03 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:48:11 +05:30
Ishan Chattopadhyaya ee4495f33b SOLR-13619: Kerberos plugin to forward original user principal 2019-07-15 15:13:13 +05:30
Ishan Chattopadhyaya a7a3fab8c8 SOLR-13472: Forwarded requests should skip authorization on receiving nodes 2019-07-15 15:13:04 +05:30
Tomoko Uchida 6504babebd Update solr/CHANGES.txt for SOLR-13588 and SOLR-13602. 2019-07-14 14:52:42 +09:00
Chris Hostetter 4f2d7c2ecd SOLR-13532: Fix http timeout and error logging bugs in RecoveryStrategy
(cherry picked from commit f85a78c441)
2019-07-11 14:05:16 -07:00
iverase 51f4340796 Add next minor version 8.3.0 2019-07-11 12:47:34 +02:00
David Smiley fb2c513a4c CHANGES.txt: separate improvements to dedicated section 2019-07-10 22:47:57 -04:00
Anshum Gupta 5d3a84fcd0
SOLR-13507: Remove support for addr parameter from the /solr/admin/zookeeper endpoint. (#759) (#766) 2019-07-05 10:15:13 -07:00
Noble Paul cb1b86b80a SOLR-13538: toNativeType () TrieDate & EnumField do not handle CharSequence properly 2019-07-05 14:50:13 +10:00
Andrzej Bialecki 9d52e5be3b SOLR-13003: Query Result Cache does not honour maxRamBytes parameter. 2019-07-03 18:27:21 +02:00
Munendra S N fd93b43cf9 SOLR-13603: remove deprecated groupSpec methods usage
This is precursor to removing deprecated methods
2019-07-03 19:34:11 +05:30
Tomoko Uchida d586c44a33 SOLR-13588: Document Estonian analyzer in Solr Ref Guide 2019-07-03 22:04:47 +09:00
Tomoko Uchida bb074f6a8a SOLR-13602: Add a field type for Estonian language to default managed_schema 2019-07-03 21:00:43 +09:00
Andrzej Bialecki 30a5b2cd87 SOLR-13583: Impossible to delete a collection with the same name as an existing alias. 2019-07-03 13:36:01 +02:00
David Smiley 1c1d77a791 SOLR-13158: DIH: Add System property toggle for use of dataConfig param
(cherry picked from commit 325824cd39)
2019-07-03 00:03:29 -04:00
Joel Bernstein 240a94a3e3 SOLR-13589: Update CHANGES.txt 2019-07-02 08:56:55 -04:00
Munendra S N d811f86342 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:24:00 +05:30
Munendra S N fc15cd79f7 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 23:47:26 +05:30
Jason Gerlowski 5abafaa4a3 SOLR-13539: Fix mv update of UUID, enum, bool and binary fields
Co-Authored-By: Thomas Wockinger
2019-07-01 08:54:45 -04:00
Munendra S N 9e40748486 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:34:03 +05:30
Munendra S N 6c83e39dcc SOLR-9409: improve error message on unsupported types in collapsing
* Improve error message when collapsing is not supported on given
  fieldtype
* Return 400 error code when unsupported value are passed for max,min
  or in case of syntax error
2019-06-29 21:53:43 +05:30
Christine Poerschke 328db38d71 SOLR-13576: Factor out a TopGroupsShardResponseProcessor.fillResultIds method. (Christine Poerschke, Diego Ceccarelli) 2019-06-28 19:00:08 +01:00
Christine Poerschke 07cf48816f SOLR-13280: Strengthen ScheduledTrigger's preferredOperation parameter validation. 2019-06-28 19:00:08 +01:00
Christine Poerschke 785937d987 SOLR-13279: Clarify ScheduledTrigger's "every parameter missing" error response. 2019-06-28 19:00:08 +01:00
Chris Hostetter 01b303c2e5 SOLR-12988: SSLTestConfig has been changed to throw AssumptionViolatedException when tests/seeds request SSL but the JVM appears to be an OpenJDK version known to have SSL bugs
SOLR-13574: Add CHANGES entry that was overlooked
(cherry picked from commit aaf20aefa4)
2019-06-27 15:52:22 -07:00
Jan Høydahl 2ef43ce78a SOLR-13569: AdminUI visual indication of prod/test/dev environment
(cherry picked from commit b54126169b)
2019-06-26 12:10:39 +02:00
Andrzej Bialecki da6e6fd559 SOLR-13566: REINDEXCOLLECTION does not work with (basic) authentication. 2019-06-25 16:54:56 +02:00
Munendra S N 438364ab94 SOLR-12979: fail fast when collapse field is non-docValued & non-uninvertible
* Improve error message when collapse field is non-docValued & non-uninvertible.
  Return error code 400 instead of 500 in the above case
2019-06-25 10:04:11 +05:30