Commit Graph

14543 Commits

Author SHA1 Message Date
Tomas Fernandez Lobbe 7b7a5a16ce
SOLR-10391: Add overwrite option to UPLOAD ConfigSet action (#1861)
When set to true, Solr will overwrite an existing configset in ZooKeeper in an UPLOAD.
A new cleanup parameter can also be passed to let Solr know what to do with the files that existed in the old configset, but no longer exist in the new configset (remove or keep)
2020-09-22 10:36:59 -07:00
Alexandre Rafalovitch 1611586417
SOLR-14880: Support coreRootDirectory setting when create new cores from command line, in standalone mode
Update to match latest code with shorter name
2020-09-22 09:02:14 -04:00
Ilan Ginzburg d898edaf93
SOLR-14840: Overseer doc in asciidoc
Work done by Cassandra Targett <cassandra.targett@lucidworks.com>
2020-09-22 09:03:35 +02:00
Alexandre Rafalovitch 91b6223f38
SOLR-14878: Expose coreRootDirectory via API (Correction to make name shorter and always return value) 2020-09-21 22:56:08 -04:00
noblepaul 4087958d31 SOLR-14884: TestContainerPlugin.testApiFromPackage jenkins failures 2020-09-22 11:20:49 +10:00
Tomas Fernandez Lobbe f1921b99b4
Improve TestConfigSetsAPI (#1892)
* Replace Auth plugin with mocks

* Remove unused password param

* Start cluster only once

* Use SolrCloudTestCase

* Use MiniSolrCloudCluster's methods to remove collections and configsets
2020-09-21 10:03:47 -07:00
Jason Gerlowski 9a6ca2dcd0 SOLR-14859: Set fieldType defaults for DateRangeField
AbstractSpatialPrefixTreeFieldType (and its children) create index
fields based on a prototype with options frozen in PrefixTreeStrategy,
regardless of options specified in the schema.  This works fine most of
the time, but causes problems when QParsers or other query optimization
logic makes decisions based on these options (which are potentially out
of sync with the underlying index data).  Most commonly this causes
issues with "exists" (e.g. [* TO *]) queries.

This commit enforces fieldType defaults that line up with the 'hardcoded'
FieldType used by PrefixTreeStrategy.  Options on either the fieldType
or the field itself which contradict these defaults will result in
exceptions at schema load/modification time.
2020-09-21 12:57:08 -04:00
Alexandre Rafalovitch da2714cb86
SOLR-9607: Finalize move of Terms component and request handler into the implicit definitions (#1897)
* Updated implicit definition with terms=true, distrib=false
* Commented out terms handler with notice, as this is the config used in tests
* Remove spurious mentions cluttering other test configs
* Remove implicit terms=true param
* Remove definitions from shipped configsets
* Improve documentation
* Add CHANGES record
2020-09-21 09:05:37 -04:00
noblepaul 73c06e35e8 SOLR-14881: ManagedSchemaRoundRobinCloudTest test failures 2020-09-21 15:08:23 +10:00
noblepaul 64ca559042 SOLR-14879: address TestPackages test failures 2020-09-21 14:55:54 +10:00
Tom Edge fa756b1c31
SOLR-14802: geodist: Support most spatial field types as an arg
FunctionQParser: overload parseValueSourceList with flags
2020-09-20 23:19:48 -04:00
Uwe Schindler aa071f72b1 SOLR-14824: Hotfix for escaping windows paths. IMHO, the template appraoch is not good, we should take care of escaping other props, too 2020-09-20 10:42:19 +02:00
Noble Paul 3664182d24
SOLR-14879: address TestPackages test failures (#1895) 2020-09-20 13:01:47 +10:00
Alexandre Rafalovitch f6e8bc8c31
SOLR-14878: Expose solr.xml's coreRootDirectory property via the System Settings API (#1894) 2020-09-19 22:07:03 -04:00
Erick Erickson ab3f1f0d1d SOLR-14876: Upgrade to zookeeper 3.6.2 2020-09-18 22:37:29 -04:00
Chris Hostetter 5e034d7348 SOLR-14824: remove cruft from the ref-guide gradle build and simpliy the publish process
some things being cleaned up here are simplifications of changes that were 1-to-1 ported from ant, others are left over from when we had a 'released' PDF and are no longer needed
2020-09-18 14:36:51 -07:00
Cassandra Targett 4ed7c13c86 Ref Guide: escape non-attributes to avoid conversion warnings 2020-09-18 13:09:54 -05:00
noblepaul 745fc31785 SOLR-14871: Wrong field name in POJO 2020-09-18 20:33:59 +10:00
Dawid Weiss 5ec2bac91c
LUCENE-9531: Consolidate duplicated generated classes CharStream and FastCharStream (#1886) 2020-09-18 08:53:30 +02:00
Noble Paul ee0a374bb8
SOLR-14875: Make SolrEventListeners load from packages (#1887) 2020-09-18 12:07:29 +10:00
Ilan Ginzburg dbba48b3e5
SOLR-14613: use set-placement-plugin for both setting and unsetting plugin config 2020-09-17 15:01:19 +02:00
Erik Hatcher 2364a7aded SOLR-14792: Remove VelocityResponseWriter 2020-09-17 08:45:13 -04:00
Dawid Weiss 6c9d7adf79
LUCENE-9527: upgrade javacc to 7.0.4 (#1884) 2020-09-17 13:29:18 +02:00
noblepaul 515608a087 SOLR-14151: fixed the classloading issue 2020-09-17 19:10:04 +10:00
Dawid Weiss 4f344cb0d4
LUCENE-9530: cleaned up javacc gradle generation scripts. (#1883)
* LUCENE-9530: cleaned up gradle javacc generation/ tweaks script so that it's consistent across runs. Removed ant remnants.
2020-09-17 10:53:02 +02:00
noblepaul cbb1659640 Revert "Revert "SOLR-14151: Bug fixes (#1815)""
This reverts commit 27a14fe481.

Undoing accidental commit
2020-09-17 11:19:21 +10:00
noblepaul 5bc7fb2861 SOLR-14871: remove unused test 2020-09-17 09:10:40 +10:00
noblepaul e5d3e4d567 Merge branch 'master' of github.com:apache/lucene-solr 2020-09-17 09:06:48 +10:00
Ilan Ginzburg c7d234cafd
SOLR-14613: Autoscaling replacement using placement plugins
Allow using placement plugins to compute replica placement on the cluster for Collection API calls.
This is the first code drop for the replacement of the Autoscaling feature.
Javadoc of sample plugin org.apache.solr.cluster.placement.plugins.SamplePluginAffinityReplicaPlacement details how to enable this replica placement strategy.
PR's #1684 then #1845
2020-09-17 00:10:31 +02:00
Erik Hatcher a0404a7501 SOLR-14799: add CHANGES entry 2020-09-16 13:43:09 -04:00
Erik Hatcher 22022463d7 SOLR-14799: JWT authentication plugin only requires sub claim when principalClaim=sub 2020-09-16 13:41:19 -04:00
Erik Hatcher c63684f93b Revert "SOLR-14799: JWT authentication plugin only requires sub claim when principalClaim=sub"
This reverts commit bc0c9ffee3.
2020-09-16 12:45:03 -04:00
Erik Hatcher bc0c9ffee3 SOLR-14799: JWT authentication plugin only requires sub claim when principalClaim=sub 2020-09-16 12:27:55 -04:00
noblepaul 6b87cfb88c Merge branch 'master' of github.com:apache/lucene-solr 2020-09-16 19:19:45 +10:00
Noble Paul 7b8e72e553
SOLR-14871 Use Annotations for v2 APIs in/cluster path (#1878) 2020-09-16 18:06:43 +10:00
Munendra S N 58d13608b4 SOLR-10471: update default zk session timeout in bin/solr* scripts
* zkClientTimeout value is already set to 30s in solr.xml but
  same update was missing from bin/solr* script
2020-09-15 19:32:51 +05:30
Alexandre Rafalovitch 7d62cad1a8
SOLR-14862: Update RefGuide page for support fied types (#1865)
Added mentions for BBoxField, NestPathField, RankField (and placehold for QParser, from SOLR-14590), RptWithGeometrySpatialField
Moved Deprecated types into separate table to improve reading comprehension
Added some cross-references for more in-depth reading.
2020-09-14 13:30:43 -04:00
Houston Putman bc0b29eca3
SOLR-14789: Rename docker tests task, adding missing credit in CHANGES (#1871) 2020-09-14 10:55:43 -04:00
Eric Pugh 5edd4b21af
SOLR-14725 update batchSize parameter docs for update() and delete() stream expressions (#1729)
* batchSize is optional parameter with a default value

* typo
2020-09-14 09:35:12 -04:00
noblepaul a8099d6367 Merge branch 'master' of github.com:apache/lucene-solr 2020-09-14 18:47:20 +10:00
noblepaul cc31e23341 SOLR-14151: Fixing TestBulkSchemaConcurrent failures 2020-09-14 15:42:11 +10:00
noblepaul 27a14fe481 Revert "SOLR-14151: Bug fixes (#1815)"
This reverts commit 95ab98c920.

revert the previous change
2020-09-14 12:22:58 +10:00
Moses Schwartz 647bd5c59f
Update Json facet documentation (#1857)
Added missing preposition (to) in the sentence
2020-09-13 13:35:20 +05:30
Houston Putman 485d5fb41a
SOLR-14789: Absorb the docker-solr repo. (#1769) 2020-09-11 12:29:29 -04:00
Dawid Weiss ed930f4b29
SOLR-14417: Gradle build sometimes fails RE BlockPoolSlice (#1854)
* SOLR-14417: workaround the compiler scope problem.

* Make the list modifiable.
2020-09-10 22:25:33 +02:00
Tomas Fernandez Lobbe 0250978869
SOLR-14510: Remove deprecations added with BlockMax WAND support (#1823) 2020-09-10 10:33:09 -07:00
Mike Drob 14e4edc1e9
SOLR-14847: Create Solr Server TGZ (#1844)
Create new targets for building solr binary release artifacts:

gradlew -p solr/packaging distTar distZip

Co-authored-by: Houston Putman <houston@apache.org>
Co-authored-by: Dawid Weiss <dawid.weiss@carrotsearch.com>
Co-authored-by: Mike Drob <mdrob@apache.org>
2020-09-10 10:55:48 -05:00
Tomas Fernandez Lobbe 2f86255b94 SOLR-14849: Add explicit sort order in testMinExactCount 2020-09-09 14:03:37 -07:00
Mike Drob e2deca0c2b CHANGES.txt 2020-09-09 09:21:39 -05:00
Mike Drob c902837bb2
SOLR-14846 Clean up Optional use (#1843)
* Remove Optional.ofNullable.orElse pattern
* Remove use of Optional as method parameter
2020-09-09 09:19:48 -05:00