Commit Graph

33464 Commits

Author SHA1 Message Date
Munendra S N 15330a8541 SOLR-14329: support choosing expand field from multiple collapse group
* The collapse group with low cost is given higher priority. If
  there are multiple groups  with same cost then, first such
  group is chosen
2020-03-28 11:23:45 +05:30
Munendra S N 7a83f09fbc SOLR-13842: remove redundant defaults from implictPlugins
* From 7.0, wt=json is the default and indent=true is the
  default. So, remove them from implicitPlugin defaults
2020-03-28 11:17:22 +05:30
Marvin Justice 84f6507452 LUCENE-9133 Fix for potential NPE in TermFilteredPresearcher#buildQuery 2020-03-27 16:41:01 -05:00
Mike ac866a67de
Remove CurrentCoreDescriptorProvider (#1384)
* Remove CurrentCoreDescriptorProvider

Replace `CurrentCoreDescriptorProvider` with a functional interface so
that it is easier to construct since all implementations in our code
base were anonymous classes anyway. Added Javadocs explaining the
usage instead of relying on class name to convey information.
2020-03-27 16:31:37 -05:00
Ignacio Vera 8cb50a52bc LUCENE-9290 Fix TestXYPoint#testEqualsAndHashCode
closes #1375
2020-03-27 12:51:35 -05:00
David Smiley a0b0c710b5 SOLR-14342: Improve core loading order in SolrCloud.
Makes collections available sooner and reduces leaderVoteWait timeouts in large SolrCloud clusters.
This fixes a previous attempt to do this.
Fixes #1366
2020-03-26 23:44:20 -04:00
Andy Throgmorton d1601f6fdf SOLR-14260: SolrJ pluggable ConnectionSocketFactory in HttpClientUtil
see SocketFactoryRegistryProvider
Fixes #1261
2020-03-26 22:15:50 -04:00
Mike Drob a31ecd2eb8 SOLR-14322 Improve AbstractFullDistribZkTestBase.waitForThingsToLevelOut 2020-03-26 17:38:05 -05:00
David Smiley ea864b43a3
SOLR-13659: Remove unused SolrCacheHolder
accidental leftover from reverted plugin work
2020-03-26 17:35:24 -04:00
Mike Drob cd9375a6f9 LUCENE-9266 Update smoke test for gradle 2020-03-26 13:46:55 -05:00
Chris Hostetter 255132fc1c SOLR-14302: Ensure Solr always includes the stacktrace for exceptions by using '-OmitStackTraceInFastThrow' 2020-03-26 10:39:04 -07:00
Andrzej Bialecki b0728ceca6 SOLR-14128: Improve distributed locking around managed schema upgrade process. 2020-03-25 22:19:38 +01:00
Eric Pugh 4f03ce5899
SOLR-14284 add expressible support to list, and add example of removing a component (#1292)
* add expressible support to list, and add example of removing a component

* document actions that can be passed to the /stream request handler

* responding to content feedback
2020-03-25 13:53:51 -05:00
Mike 8d937c1dc3
SOLR-14274 Do not register multiple sets of JVM metrics (#1299) 2020-03-25 13:48:17 -05:00
Michael Sokolov 075adac598 remove LUCENE-8962 from CHANGES.txt 2020-03-25 14:34:45 -04:00
Uwe Schindler 2c7a710945
LUCENE-9281: Retire SPIClassIterator from master because Java 9+ uses different mechanism to load services when module system is used (#1360)
LUCENE-9281: Use java.util.ServiceLoader to load codec components and analysis factories to be compatible with Java Module System
2020-03-25 18:03:36 +01:00
Alan Woodward ad75916b6b LUCENE-9283: Also exclude DelimitedBoostTokenFilter from TestFactories 2020-03-25 10:04:38 +00:00
mariemat aad814ba63 SOLR-14340: Remove unnecessary configset verification checks
Improves CLUSTERSTATUS times for massive clusters.
Closes #1373
2020-03-24 15:34:20 -04:00
Ignacio Vera 674aba6a85
LUCENE-9287: UsageTrackingQueryCachingPolicy no longer caches DocValuesFieldExistsQuery (#1374) 2020-03-24 15:26:56 +01:00
Alan Woodward 20abf3e478 Add 8.5.0 back-compat indices 2020-03-24 12:38:49 +00:00
Alan Woodward be5c407715 Update RDF files for 8.5.0 release 2020-03-24 11:31:01 +00:00
Andrzej Bialecki 68e4304453 SOLR-14347: Autoscaling placement wrong when concurrent replica placements are calculated. 2020-03-23 18:21:40 +01:00
Munendra S N 7f460faffb fix typos in subquery doc transformer 2020-03-23 19:57:46 +05:30
Munendra S N 5630619dfd SOLR-14343: set initcapacity properly in NamedList
* This is when map or map.entry array is passed in constructor
2020-03-23 19:54:54 +05:30
Munendra S N 06fd70fc0f SOLR-14348: split TestJsonFacets to multiple test classes
* TestJsonFacet split into 3 classes, TestsJsonFacets, TestJsonFacetErrors
  and TestJsonRangeFacet
* TestJsonFacets contains mainly terms faceting and stats
* range facet covers distributed cases too
2020-03-23 19:50:58 +05:30
Ignacio Vera aaf08c9c4d
LUCENE-9275: make TestLatLonMultiPolygonShapeQueries more resilient for CONTAINS queries (#1345) 2020-03-23 07:26:48 +01:00
David Smiley 62967039dc
ivy settings: local maven repo pattern needs classifier (#1367)
note: use of this is still commented out
2020-03-21 11:51:49 -04:00
David Smiley ae2eadb592 solr-upgrade-notes.adoc: highlighter sizing is different 2020-03-19 21:29:08 -04:00
Erick Erickson 5fd55d77e9 SOLR-12353: SolrDispatchFilter expensive non-conditional debug line degrades performance 2020-03-19 15:26:44 -04:00
Munendra S N e36733d01d SOLR-14350: fix test failure due to SOLR-14012 2020-03-19 22:43:29 +05:30
Munendra S N 78e670f19e SOLR-14012: return long from unique and hll even for standalone 2020-03-19 19:21:57 +05:30
Munendra S N e9d6c24fb7 SOLR-11725: use corrected sample formula to calc stdDev in JSON facets
* Both stdDev and variance uses corrected sample formula to compute
  the values. This is similar to StatsComponent
2020-03-19 19:21:57 +05:30
Alan Woodward 126e4a61b8 LUCENE-9283: Exclude DelimitedBoostTokenFilter from TestRandomChains 2020-03-19 13:12:04 +00:00
David Smiley 4fd96bedc2
SOLR-14256: replaced EMPTY with empty() to fix deadlock 2020-03-18 08:31:29 -04:00
Munendra S N 7f37a55a8c SOLR-13944: remove redundant checks in SpellCheckCollator
* After SOLR-14073, these checks become redundant and add
  additional tests for spellcheck with collapse
2020-03-18 10:51:50 +05:30
Munendra S N 0b063fd2b7 SOLR-10157: improve error message in case of unknown aggregations 2020-03-18 10:46:57 +05:30
Munendra S N 6a59d443bc LUCENE-8908: return def val from objectVal when exists returns false
* This behavior is similar to floatVal in QueryValueSource
2020-03-18 10:41:13 +05:30
Munendra S N 2b327e5deb SOLR-13199: Fix NPE in ChildDocTransformer when parenFilter is invalid
* Return proper error message and error code
2020-03-18 10:32:28 +05:30
Munendra S N a1485ab92b SOLR-14338: add missing close list tag in CDCR documentation 2020-03-18 09:26:59 +05:30
ameliahenderson fda935482b
SOLR-8306: Optimize expand.rows=0 to compute only total hits (#1334)
* When expand.rows=0, expand documents are not returned. So, computing them could be avoided and only total hits need to be computed
2020-03-18 09:23:04 +05:30
Dawid Weiss bf25e6566d LUCENE-9279: add changes entry and attribution. 2020-03-17 22:06:01 +01:00
Simon Willnauer bdb40fb164
Cleanup DWPT for readability (#1350)
DWPT had some complicated logic to account for failures etc.
This change cleans up this logic and simplifies the document processing
loop
2020-03-17 15:18:38 +01:00
Dawid Weiss 7fe6f9c57d LUCENE-9279: Update dictionary version for Ukrainian analyzer (with corrected checksums). 2020-03-16 21:47:14 +01:00
Dawid Weiss 1abed9ab22 Revert "LUCENE-9279: Update dictionary version for Ukrainian analyzer (#1354)"
This reverts commit 73b618a55c.
2020-03-16 21:19:05 +01:00
Jason Gerlowski 6ae69d361c
Document sort param tiebreak logic (#1349) 2020-03-16 07:59:25 -04:00
David Smiley 261e7ba86c LUCENE-8103: Revert QueryValueSource.objectVal change 2020-03-16 00:27:04 -04:00
erick 6c1d992fad SOLR-14312: SOLR-14296: Upgrade Zookeeper to 3.5.7, Update netty to 4.1.47 2020-03-15 22:11:49 -04:00
arysin 73b618a55c
LUCENE-9279: Update dictionary version for Ukrainian analyzer (#1354) 2020-03-15 22:17:05 +01:00
Michele Palmia 87b1bddf1c LUCENE-8103: Use TwoPhaseIterator in DoubleValuesSource and QueryValueSource
Fixes #1343
2020-03-15 11:50:45 -04:00
Simon Willnauer bd16620706 LUCENE-9164: fix changes entry 2020-03-15 09:04:52 +01:00