5053 Commits

Author SHA1 Message Date
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 b619bcd1fae1e8d52c307f4e6f2743f48c0f3712)
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 f85a78c44185c6cb620866a1ab37510757392ed0)
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 325824cd391c8e71f36f17d687f52344e50e9715)
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 aaf20aefa4b29971dbbb16c9fe39e6272c7c9dd5)
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 b54126169b2c2f116b5217c3566f5df2ba206a39)
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
David Smiley
5259e964b5 SOLR-13367: Range queries will now highlight in hl.method=unified mode.
Lucene MatchesUtils.disjunction method for disjunction over
 BytesRefIterator terms.
2019-06-25 00:11:12 -04:00
Munendra S N
3ef5c0ee74 SOLR-13187: Fix NPE when invalid qParser is specified
* When non-existent qParser is specified return 400 error code
* SOLR-13197: Fix NPE when createQParser is called in StatsField
2019-06-24 22:58:58 +05:30
Munendra S N
cf6c81c26b SOLR-12127: set op with null or empty list val should be atomic update
* Inplace update supports set and inc operation but when null or
  empty list is specified with set op, then it should always be treated
  as atomic update since this case is equivalent to removing field
  from the document
2019-06-24 14:54:48 +05:30
Mikhail Khludnev
fbb64cf16a SOLR-13545: ContentStreamUpdateRequest to close file. 2019-06-21 23:40:26 +03:00
Gus Heck
45b000e7ae SOLR-13419 - Better infix for TRA collection names 2019-06-20 14:32:14 -04:00
David Smiley
0d51dd06ee SOLR-13523: Fix Atomic Updates when _nest_path_ is declared.
Change the most common test schema to include this field so we better
test our code paths.
2019-06-20 12:00:55 -04:00
Joel Bernstein
1c27c47355 SOLR-10291: Updates CHANGES.txt 2019-06-19 20:58:45 -04:00
Joel Bernstein
cf8ac4dbcf SOLR-13560: Update CHANGES.txt 2019-06-19 09:58:39 -04:00
Cao Manh Dat
64e3cc1789 SOLR-12988: Skip running tests with SSL on Java 11 to 11.0.2 2019-06-19 10:44:43 +01:00
Noble Paul
545b61ca23 SOLR-13329: changed the put:on-each to put: on-each-node 2019-06-19 01:03:32 +10:00
Cao Manh Dat
968830a2be SOLR-12988: Avoid using TLSv1.3 for HttpClient 2019-06-18 13:17:51 +01:00
Chris Hostetter
2f2333a781 SOLR-13490: Fix CollectionStateWatcher/CollectionStatePredicate based APIs in ZkStateReader and CloudSolrClient to be triggered on liveNode changes.
Also add Predicate<DocCollection> equivilents for callers that don't care about liveNodes.

(cherry picked from commit 5a974860fa83408a86ca64b417f3111b037da7eb)
2019-06-17 10:00:05 -07:00
Noble Paul
a7af74f0c4 SOLR-13347: moved to "New Features" 2019-06-17 17:01:24 +10:00