Commit Graph

5303 Commits

Author SHA1 Message Date
Noble Paul a89b065c1f SOLR-13255 : ClasscastException when URPs try to read a String field which returns a ByteArrayUTF8CHarSequence . This is a regression in release 7.7 2019-02-20 22:19:18 +11:00
Kevin Risden af3ff118ef
SOLR-11763: Upgrade Guava to 25.1-jre (Markus Jelsma, Kevin Risden)
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-19 17:27:58 -05:00
shalinmangar 97875af3f9 SOLR-13248: Adding upgrade notes which explain the problem and the mitigation as well as steps to revert to the old behavior 2019-02-18 13:56:24 -08:00
shalinmangar 7e2d40197c SOLR-13248: Autoscaling based replica placement is broken out of the box.
Solr 7.5 enabled autoscaling based replica placement by default but in the absence of default cluster policies, autoscaling can place more than 1 replica of the  same shard on the same node. Also, the maxShardsPerNode and createNodeSet was not respected. Due to these reasons,  this issue reverts the default replica placement policy to the 'legacy' assignment policy that was the default until Solr 7.4.
2019-02-18 13:46:05 -08:00
Ishan Chattopadhyaya 6a0f7b251d SOLR-11876: In-place updates fail during resolution if required fields are present 2019-02-18 14:33:28 +05:30
Tomas Fernandez Lobbe 8ac34c2d6d SOLR-13229: Cleanup replicasMetTragicEvent after all exceptions 2019-02-15 14:51:35 -08:00
Alan Woodward 10acaf02f8 SOLR-13126: Correctly combine multiplicative query boosts 2019-02-15 10:09:26 +00:00
Jason Gerlowski a084cc1e33 SOLR-13241: Add 'autoscaling' tool to solr.cmd
Prior to this commit, SOLR-13155 added support for an 'autoscaling' tool
to bin/solr, but not to the Windows equivalent bin/solr.cmd.  This
commit adds the necessary plumbing to the Windows version of this
script.  It also removes some dead help-text from the bin/solr script.
2019-02-13 10:48:31 -05:00
Noble Paul cfefdade5f SOLR-13171 : A true streaming parser for javabin payload/stream without creating any objects 2019-02-13 18:23:43 +11:00
Andrzej Bialecki 242ff88e02 SOLR-13155: Add command-line option for testing autoscaling configurations. 2019-02-12 11:53:15 +01:00
Mikhail Khludnev bf69a40d16 SOLR-12330: rethow NPEs and other json.facet syntax errors properly as 400 2019-02-09 23:57:30 +03:00
Noble Paul 1d13d3df03 SOLR-12999: Index replication could delete segments before downloading segments from master if there is not enough disk space 2019-02-06 23:16:05 +11:00
Jan Høydahl 430a810006 SOLR-12121: Move CHANGES entry to 8.1.0 after merge to branch_8x 2019-02-06 09:16:58 +01:00
Joel Bernstein 49dc7a9cf7 SOLR-13146: Update CHANGES.txt 2019-02-03 18:22:49 -05:00
David Smiley 372d68f7f6 SOLR-5211: Document that delete-by-id (and updates) don't affect child/nested docs 2019-02-01 15:21:16 -05:00
markrmiller 4a3ddc94d8
SOLR-9515: Update to Hadoop 3 (Mark Miller, Kevin Risden)
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-01 15:04:56 -05:00
Kevin Risden e4f202c1e3
Revert "SOLR-9515: Update to Hadoop 3"
This reverts commit 6bb24673f4.
2019-01-31 19:46:02 -05:00
markrmiller 6bb24673f4
SOLR-9515: Update to Hadoop 3
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-01-31 13:00:20 -05:00
Joel Bernstein 2beb853cb3 SOLR-13147: Update CHANGES.txt 2019-01-30 14:49:45 -05:00
Joel Bernstein 79d0dabed4 SOLR-13104: Update CHANGES.txt 2019-01-29 22:01:05 -05:00
Joel Bernstein 25478979b1 SOLR-13134: Update CHANGES.txt 2019-01-29 21:55:21 -05:00
Joel Bernstein a10a989263 SOLR-13088: Update CHANGES.txt 2019-01-29 21:45:55 -05:00
Joel Bernstein 239905edf7 SOLR-12984: Update CHANGES.txt 2019-01-29 21:30:19 -05:00
jimczi cf39708609 Add next minor release version 8.1.0 2019-01-29 14:12:38 +01:00
David Smiley 381a30b26c SOLR-12768: added _nest_path_ to the default schema (thereby enabling nested docs)
* new NestPathField encapsulating details for how _nest_path_ is indexed
** tweaked the analysis to index 1 token instead of variable
* TokenizerChain has new CustomAnalyzer copy-constructor
2019-01-28 13:25:06 -05:00
Mikhail Khludnev 43f2723213 SOLR-13156: support facet.sort for facet.field={!terms=foo,bar}field 2019-01-28 15:27:09 +03:00
Noble Paul 250d21da94 SOLR-13130: during the ResponseBuilder.STAGE_GET_FIELDS directly copy string bytes and avoid creating String Objects 2019-01-27 16:02:11 +11:00
Chris Hostetter ec68359065 SOLR-13168: Fixed a bug in TestInjection that caused test only code to be invoked when TLOG replicas recieved commits if java assertions were enabled
(see also: SOLR-12313)
2019-01-25 15:50:46 -07:00
Tomas Fernandez Lobbe 0bd1911db6 SOLR-12373: Let DocBasedVersionConstraintsProcessor define fields to use in tombstones
A new config option, "tombstoneConfig" allows the DocBasedVersionConstraintsProcessor
to add extra fields to the tombstone generated when a document is deleted. This can
be useful when the schema has required fields.
2019-01-25 13:38:18 -08:00
Mikhail Khludnev c317119654 SOLR-13029: configure buffer size in HdfsBackupRepository. 2019-01-24 18:06:09 +03:00
Andrzej Bialecki a3fe51ffac SOLR-9735: Update CHANGES and the ref guide. 2019-01-23 15:10:22 +01:00
Jan Høydahl ea2c8ba38e SOLR-12121: JWT Token authentication plugin with OpenID Connect implicit flow login through Admin UI 2019-01-23 13:03:01 +01:00
Erick Erickson 60aef389cf SOLR-11998:RebalanceLeaders API broken response format with wt=JSON 2019-01-20 23:13:19 -06:00
Erick Erickson a692d05a90 SOLR-13091: REBALANCELEADERS is broken 2019-01-19 19:20:39 -08:00
Cao Manh Dat 75a7827bf4 Add note about removing of LIR in Solr 8 2019-01-17 16:37:19 +00:00
Cao Manh Dat 8e7a135496 Upgrade CHANGES.txt for http2 changes 2019-01-17 16:31:09 +00:00
Jan Høydahl e515a91406 SOLR-13116: Add Admin UI login support for Kerberos 2019-01-17 14:25:08 +01:00
Tomas Fernandez Lobbe 8b54b20fc4 SOLR-12770: Make it possible to configure a host whitelist for distributed search 2019-01-15 11:44:57 -08:00
Jan Høydahl b7f99fe55a SOLR-13137: NPE when /admin/zookeeper/status endpoint hit in standalone mode 2019-01-15 16:17:10 +01:00
Noble Paul 1e14a6c6d6 SOLR-13016: Computing suggestions when policy have "#EQUAL" or "#ALL" rules take too long 2019-01-09 23:18:05 +11:00
David Smiley df119573db SOLR-12888: Run URP now auto-registers NestedUpdateProcessor before it. 2019-01-08 23:23:02 -05:00
Cao Manh Dat 951b4e4c83 SOLR-13053: Upgrade CHANGES.txt 2019-01-08 18:42:14 +00:00
Noble Paul 3932a4cc6c SOLR-12983: JavabinLoader should avoid creating String Objects and create UTF8CharSequence fields from byte[] 2019-01-08 15:27:48 +11:00
Andrzej Bialecki 6e745bd250 SOLR-12730: Implement staggered SPLITSHARD requests in IndexSizeTrigger. 2019-01-07 19:14:54 +01:00
Alan Woodward 04f48dba8b Move to version 9.0.0 2019-01-07 13:04:01 +00:00
Shalin Shekhar Mangar 2bd6f246b0 SOLR-11126: New Node-level health check handler at /admin/info/healthcheck and /node/health paths that checks if the node is live, connected to zookeeper and not shutdown 2019-01-06 12:41:49 +05:30
David Smiley ca23040baa SOLR-12365: Renamed class Config to XmlConfigFile 2019-01-05 09:51:02 -05:00
Jason Gerlowski 73797f60ad SOLR-13090: Add missing CHANGES.txt entry 2019-01-04 09:53:47 -05:00
Jan Høydahl 9488c8f688 SOLR-12237: Fix incorrect SOLR_SSL_KEYSTORE_TYPE variable in solr start script 2019-01-03 19:40:47 +01:00
Jan Høydahl 00f8f3a13a SOLR-11774: langid.map.individual now works together with langid.map.keepOrig 2019-01-03 18:27:24 +01:00
David Smiley 6342ec699e SOLR-12633: remove anonChildDocs update parameter used in nested docs in JSON. 2019-01-03 10:58:59 -05:00
Jan Høydahl a1c6e642aa SOLR-11853: Solr installer fails on SuSE linux 2019-01-02 17:24:22 +01:00
Noble Paul 619b38a19b SOLR-12514: Rule-base Authorization plugin skips authorization if querying node does not have collection replica 2019-01-02 19:44:03 +11:00
Shalin Shekhar Mangar 5016959ce8 SOLR-13082: A trigger that creates trigger events more frequently than the cool down period can starve other triggers.
This is mitigated to some extent by randomly choosing the trigger to resume after cool down. It is recommended that scheduled triggers not be used for very frequent operations to avoid this problem.
2019-01-02 11:59:00 +05:30
Gus Heck 752989fd74 SOLR-13086 improve error message in DocumentObjectBinder 2018-12-31 07:54:56 -05:00
Christine Poerschke 345a655f21 SOLR-12973: Admin UI Nodes view support for replica* replica names. (Daniel Collins, Christine Poerschke, janhoy) 2018-12-28 12:23:53 +00:00
David Smiley 106d300052 SOLR-12535: index time boosts in JSON are no longer accepted 2018-12-26 09:39:42 -05:00
David Smiley 1d0a086217 SOLR-13080: TermsQParserPlugin automaton method should (must?) sort input 2018-12-21 13:26:03 -05:00
Andrzej Bialecki 1f0e875db6 SOLR-13072: Management of markers for nodeLost / nodeAdded events is broken. 2018-12-20 13:16:28 +01:00
Erick Erickson 3be5b59907 SOLR-12727: Added Dat to the credits, partly as a test of whether infra has fixed a commit attribution error 2018-12-17 16:49:21 -08:00
Jan Høydahl bfd28a8b3a SOLR-10975: New Admin UI Query does not URL-encode the query produced in the URL box 2018-12-14 15:30:39 +01:00
Jan Høydahl f8fcdbb208 Revert "SOLR-11296: Spellcheck parameters not working in new UI" due to wrong commit message
This reverts commit bb2405a
2018-12-14 15:29:27 +01:00
Jan Høydahl bb2405aec8 SOLR-11296: Spellcheck parameters not working in new UI
(cherry picked from commit 62edbf2e7d)
2018-12-14 15:27:18 +01:00
Jan Høydahl 62edbf2e7d SOLR-11296: Spellcheck parameters not working in new UI 2018-12-14 15:07:28 +01:00
Jan Høydahl 81dbad54e0 SOLR-12799: Allow Authentication Plugins to intercept internode requests on a per-request basis
Add 'forwardCredentials' parameter to BasicAuth which will then skip using PKI on sub requests
2018-12-13 10:51:56 +01:00
markrmiller 7de72c9bc7 SOLR-13066: A failure while reloading a SolrCore can result in the SolrCore not being closed. 2018-12-12 18:49:06 -06:00
Jan Høydahl ef2f0cd88c SOLR-12791: Add Metrics reporting for AuthenticationPlugin 2018-12-12 11:33:32 +01:00
Jan Høydahl 280f67927e SOLR-7896: Add a login page to Admin UI, with initial support for Basic Auth 2018-12-12 10:37:23 +01:00
Jan Høydahl 5affe7421f SOLR-13025: SchemaSimilarityFactory fallback to LegacyBM25Similarity for luceneMatchVersion < 8.0 2018-12-12 10:33:50 +01:00
Gus Heck a7859ff62a SOLR-13058 Fix synchronized block 2018-12-11 18:45:42 -05:00
Noble Paul c651cbfd9a SOLR-12885: BinaryResponseWriter (javabin format) should directly copy from BytesRef to output 2018-12-11 18:35:57 +11:00
Jan Høydahl b6cbb8494e SOLR-13014: URI Too Long with large streaming expressions in SolrJ 2018-12-10 18:22:52 +01:00
Erick Erickson 54ca26abe9 SOLR-12727: CHANGES.txt, updated ZooKeeper dependency 2018-12-09 09:15:42 -08:00
Erick Erickson f690302e05 SOLR-12727: Upgrade ZooKeeper dependency to 3.4.13 2018-12-09 08:50:51 -08:00
markrmiller b9a966e5f7 SOLR-12833: Add configurable timeout to VersionBucket lock. 2018-12-06 08:36:56 -06:00
Gus Heck 59919b4ac0 SOLR-13036 Fix retry logic in JettySolrRunner 2018-12-03 21:54:34 -05:00
Jason Gerlowski c951578fca SOLR-6117: Unify ReplicationHandler error handling
Prior to this commit, ReplicationHandler had a few inconsistencies
in how it reported errors:
  - Sometimes the 'status' field was used as an enum (e.g. 'success'
    v. 'failure'.  Elsewhere it is used to hold error messages.
  - Sometimes an explicit 'message' field was used, but often not.
  - Sometimes a stack trace was provided in place of an error message.

This commit tweaks the various error cases in ReplicationHandler to
report errors consistently.  'status' is always an enum-type value.  A
'message' field is provided for all errors, with an optional 'exception'
field.
2018-12-02 16:23:04 -05:00
markrmiller d8f482f5fb SOLR-13030: Update executor usage to work correctly with Java 11 and update Mockito & HttpComponents to work with Java 11 and fix get remote info retry to work across jvms better. 2018-12-01 00:26:02 -06:00
Chris Hostetter 5dc988f5ee SOLR-12839: JSON 'terms' Faceting now supports a 'prelim_sort' option to use when initially selecting the top ranking buckets, prior to the final 'sort' option used after refinement. 2018-11-30 15:49:06 -07:00
markrmiller 75b1831967 SOLR-12801: Make massive improvements to the tests.
SOLR-12804: Remove static modifier from Overseer queue access.

SOLR-12896: Introduce more checks for shutdown and closed to improve clean close and shutdown. (Partial)

SOLR-12897: Introduce AlreadyClosedException to clean up silly close / shutdown logging. (Partial)

SOLR-12898: Replace cluster state polling with ZkStateReader#waitFor. (Partial)

SOLR-12923: The new AutoScaling tests are way too flaky and need special attention. (Partial)

SOLR-12932: ant test (without badapples=false) should pass easily for developers. (Partial)

SOLR-12933: Fix SolrCloud distributed commit.
2018-11-29 11:58:51 -06:00
David Smiley 2611c22b6b SOLR-12398: retroactively add CHANGES.txt back-compat break for 7.5 2018-11-28 07:21:34 -08:00
Moshe a346ba0d3c SOLR-5211: Always populate _root_ (if defined).
And, small refactor: Clarified how _version_ is transferred from root to children.
2018-11-25 21:47:49 -05:00
Mikhail Khludnev d7b878e90c SOLR-12546: Let csv response writer to handle docValues fields by default. 2018-11-25 11:26:39 +03:00
Alan Woodward 2459072286 SOLR-12775: Add deprecated versions of LowerCaseTokenizer and LowerCaseTokenizerFactory 2018-11-22 13:54:39 +00:00
Noble Paul 492c3440de SOLR-13006: ZkNodeProps to be able to load from both javabin and JSON 2018-11-21 18:20:03 +11:00
Noble Paul 25bca6f165 SOLR-12992: When using binary format, ExportWriter to directly copy BytesRef instead of creating new String 2018-11-20 14:58:32 +11:00
Christine Poerschke 7abb25eff5 SOLR-12972: deprecate unused SolrIndexConfig.luceneVersion 2018-11-19 14:06:09 +00:00
Cassandra Targett df5540acc9 SOLR-12497: Add documentation for Hadoop credential provider-based keystore/truststore 2018-11-15 00:35:25 -06:00
Erick Erickson 763e64260f SOLR-12881: Remove unneeded import statements 2018-11-14 17:48:15 -08:00
Noble Paul cd1e829732 SOLR-12978: In autoscaling NPE thrown for nodes where value is absent 2018-11-12 18:53:16 +11:00
Noble Paul e6e6ad2c83 SOLR-12977: Autoscaling tries to fetch metrics from dead nodes 2018-11-12 18:44:26 +11:00
Noble Paul 605c3f6f1a SOLR-12977: Autoscaling tries to fetch metrics from dead nodes 2018-11-12 18:39:05 +11:00
Nicholas Knize 6d9c714052 Add 7.7.0 version 2018-11-09 15:20:33 -06:00
Chris Hostetter 77a4bfaa90 SOLR-12962: Added a new 'uninvertible' option for fields and fieldtypes. This defaults to 'true' for backcompat allowing a FieldCache to be built for indexed fields as needed, but users are encouraged to set this to false (using docValues as needed) to reduce the risk of large fluxuations in heap size due to unexpected attempts to sort/facet/function on non-docValue fields. 2018-11-09 08:30:04 -07:00
Tim Underwood fbb987282e SOLR-12880: Show the FacetProcessor class name instead of the
FacetRequest in the JSON Facets debug-trace output
2018-11-08 23:32:26 -05:00
Tim Underwood 243a8a668a SOLR-12964: Use DocValuesIterator.advanceExact() instead of the advance()/docID() pattern 2018-11-08 14:34:17 -05:00
Joel Bernstein 65dc312daf SOLR-12975: Update CHANGES.txt 2018-11-07 21:03:01 -05:00
Joel Bernstein f2cb93605c SOLR-12829: Update CHANGES.txt 2018-11-07 11:22:03 -05:00
Joel Bernstein a197904743 SOLR-12936: Update CHANGES.txt 2018-11-07 09:43:41 -05:00
Joel Bernstein 7bde5e2343 SOLR-11572: Update CHANGES.txt 2018-11-07 09:38:19 -05:00
Joel Bernstein bc88d78c84 SOLR-12795: Update CHANGES.txt 2018-11-07 09:28:47 -05:00
Joel Bernstein e1bdb9a751 SOLR-12971: Update CHANGES.txt 2018-11-07 09:20:33 -05:00
Alexandre Rafalovitch 50cf1cca26 SOLR-12600: Add missing name in CHANGES
Missed it on the last commit
2018-11-07 07:11:03 -05:00
Alexandre Rafalovitch 419d42bf7b SOLR-12600: Fix parameter names in Solr JSON documentation 2018-11-07 07:01:06 -05:00
Noble Paul 6f6a880ec2 SOLR-12023: correcting wrong git merge 2018-11-07 12:56:00 +11:00
David Smiley d0cd4245bd LUCENE-8557: LeafReader.getFieldInfos should always return the same instance
MemoryIndex: compute/cache up-front
Solr Collapse/Expand with top_fc: compute/cache up-front
Json Facets numerics / hash DV: use the cached fieldInfos on SolrIndexSearcher
SolrIndexSearcher: move the cached FieldInfos to SlowCompositeReaderWrapper
2018-11-06 14:45:32 -05:00
Alexandre Rafalovitch 0ddbc4bf95 SOLR-12966: Add Javadoc @since tag to URP classes 2018-11-06 08:05:07 -05:00
Alexandre Rafalovitch c07df19666 SOLR-12956: Add Javadoc @since tag to Analyzer component classes 2018-11-06 07:38:20 -05:00
Noble Paul 08fcce4c98 SOLR-11997: Suggestions API/UI should show an entry where a violation could not be resolved 2018-11-06 22:27:26 +11:00
Christine Poerschke be65b95e80 SOLR-12699: Make contrib/ltr LTRScoringModel immutable and cache its hashCode.
(Stanislav Livotov, Edward Ribeiro, Christine Poerschke)
2018-11-05 18:56:40 +00:00
Steve Rowe 01808eee93 SOLR-12243: Edismax missing phrase queries when phrases contain multiterm synonyms 2018-11-05 10:32:49 -05:00
Cassandra Targett 1e3cc4861a SOLR-12746: Simplify the Ref Guide HTML structure and use semantic HTML tags where possible. Adds new template files for Asciidoctor HTML conversion. 2018-11-05 09:07:01 -06:00
Gus Heck 45b772f4a9 SOLR-12938 - Cluster status now returns results for aliases instead of
throwing an exception
2018-11-04 12:01:51 -05:00
Noble Paul eb359ca079 SOLR-12023: Autoscaling policy engine shuffles replicas needlessly 2018-11-04 19:23:56 +11:00
Chris Hostetter c5ff4a4444 SOLR-12954: fix facet.pivot refinement bugs when using facet.sort=index and facet.mincount>1 2018-11-02 20:32:32 -07:00
Tim Underwood cf445ba549 SOLR-12882: Eliminate excessive lambda allocation in json facet FacetFieldProcessorByHashDV.collectValFirstPhase 2018-11-01 15:05:16 -04:00
Andrzej Bialecki 3ed64375ef SOLR-12942: Add an option in IndexSizeTrigger to select the split shard method. 2018-10-31 18:47:34 +01:00
Mikhail Khludnev 5aa8ad5b14 SOLR-12875: AIOOBE fix when unique()/uniqueBlock() is used with DVHASH method in json.facet 2018-10-30 10:56:34 +03:00
Steve Rowe c7c7b00ff9 SOLR-12861: In the upgrade note, specify the Solr version in which RAMDirectory will be removed. 2018-10-29 08:44:59 -04:00
Steve Rowe d362439e27 SOLR-12861: Add Solr factory for new ByteBuffersDirectory 2018-10-29 08:23:14 -04:00
Joel Bernstein 5fc4d516b1 SOLR-12862: Update CHANGES.txt 2018-10-28 17:08:26 -04:00
Joel Bernstein 416cc163ba SOLR-12840: Update CHANGES.txt 2018-10-28 14:26:57 -04:00
Joel Bernstein f8ffc1afd6 SOLR-12811: Update CHANGES.txt 2018-10-28 13:47:12 -04:00
Joel Bernstein 7a63e13a3b SOLR-11907: Update CHANGES.txt 2018-10-28 13:42:29 -04:00
Joel Bernstein 1abc38b40e SOLR-12828: Update CHANGES.txt 2018-10-28 13:30:43 -04:00
Marvin Bredal Lillehaug 6c419454a2 SOLR-7557: Fix parsing of child documents using queryAndStreamResponse 2018-10-26 14:59:31 +02:00
Noble Paul f33be7a172 SOLR-12868: Request forwarding for v2 API is broken 2018-10-26 12:50:45 +11:00
Cassandra Targett 8d10939349 SOLR-12423: fix Tika version in CHANGES 2018-10-25 11:56:19 -05:00
Varun Thacker 71988c756b SOLR-12793: Move TestCloudJSONFacetJoinDomain amd TestCloudJSONFacetSKG to the facet test package 2018-10-24 13:57:35 -07:00
David Smiley 3e89b7a771 SOLR-12754: New hl.weightMatches for UnifiedHighlighter WEIGHT_MATCHES
(defaults to true in master/8)
2018-10-23 13:28:10 -04:00
Tommaso Teofili 9df96d2530 SOLR-12879 - added missing attribution in CHANGES.txt 2018-10-23 09:07:38 +02:00
Anshum Gupta d799fd53c7 SOLR-5004: Allow a shard to be split into 'n' sub-shards using the collections API 2018-10-22 15:01:24 -07:00
Noble Paul c31a95d261 SOLR-12846: Added support for "host" variable in autoscaling policy rules 2018-10-23 00:03:59 +11:00
Noble Paul 5de6332209 SOLR-12892: MapWriter to use CharSequence instead of String 2018-10-22 11:14:41 +11:00
Tommaso Teofili a7c9c9d8ce SOLR-12879 - MinHash query parser 2018-10-20 08:28:02 +02:00
Andrew Lundgren 1a8188d92b SOLR-10981: Support for stream.url or stream.file pointing to gzipped data 2018-10-18 19:53:21 -04:00
Uwe Schindler 4b2136eb3c SOLR-12874: Java 9+ GC Logging filesize parameter should use a unit
(merge branch 'java9plus_gc_logging_filesize' of https://github.com/tpunder/lucene-solr); this closes #470
2018-10-17 23:24:51 +02:00
Erick Erickson fc886497de SOLR-12423: Upgrade to Tika 1.19.1 when available. Fixes #468 2018-10-17 13:06:09 -04:00
Noble Paul 9c7b8564d8 SOLR-12806: use autoscaling policies with strict=false to prioritize node allocation 2018-10-16 16:56:51 +11:00
Christine Poerschke 9c8ffabfe3 SOLR-12780: Add support for Leaky ReLU and TanH activations in contrib/ltr NeuralNetworkModel class.
(Kamuela Lau, Christine Poerschke)
2018-10-12 17:08:35 +01:00
Joel Bernstein d48f22c1ad SOLR-12851: Update CHANGES.txt 2018-10-11 11:19:57 -04:00
Jan Høydahl 80011d669a SOLR-12620: Remove the Admin UI Cloud -> Graph (Radial) view 2018-10-10 21:54:34 +02:00
Andrzej Bialecki 23e22e6460 SOLR-12729: SplitShardCmd should lock the parent shard to prevent parallel splitting requests. 2018-10-09 21:30:10 +02:00
Cao Manh Dat a37a213975 SOLR-11812: Remove backward compatibility of old LIR implementation in 8.0 2018-10-09 16:20:49 +07:00
Noble Paul b4d9b25f44 SOLR-12843: Implement a MultiContentWriter in SolrJ to post multiple files/payload at once 2018-10-09 17:44:40 +11:00
Shalin Shekhar Mangar dbed8bafe6 SOLR-12739: Autoscaling policy framework is now used as the default strategy to select the nodes on which new replicas or replicas of new collections are created.
Previously, the maxShardsPerNode parameter was not allowed on collections when autoscaling policy was configured. Also if an autoscaling policy was configured then the default was to set an unlimited maxShardsPerNode automatically. Now the maxShardsPerNode parameter is always allowed during collection creation and maxShardsPerNode should be set correctly (if required) regardless of whether autoscaling policies are in effect or not. The default value of maxShardsPerNode continues to be 1 as before. It can be set to -1 during collection creation to fall back to the old behavior of unlimited maxShardsPerNode when using autoscaling policy. This patch also fixes PolicyHelper to find the free disk space requirements of a new replica from the leader only if said leader node is alive.
2018-10-09 12:10:28 +05:30
Joel Bernstein df07a43b56 SOLR-12749: Update CHANGES.txt 2018-10-08 13:05:26 -04:00
David Smiley 49285e8423 Solr CHANGES.txt: forgot leading "*" 2018-10-07 23:17:33 -04:00
Jason Gerlowski 367bdf7f74 SOLR-12803: Ensure CUSC routes docs to right cores
ConcurrentUpdateSolrClient can batch together many documents when making
an indexing request to Solr.  When adding an update request to the
current batch being made, it checks that the query-parameters of the
docs being added match those already in the batch.  But prior to this
commit it never checked that the collections/cores were the same.

This could result in documents being sent to the wrong collection if the
same client is used to index documents to two different
cores/collections simultaneously.

This commit addresses this problem, ensuring that documents aren't added
to a batch directed at a different core/collection.
2018-10-07 10:08:50 -04:00
David Smiley e2b8beccb0 SOLR-12782: UninvertingReader avoids FieldInfo creation.
Wrapping is now a bit more lightweight: Does not create FieldInfo for fields that
can't be uninverted (saves mem) and can avoid wrapping the reader altogether if there's nothing to uninvert.
IndexSchema.getUninversionMap refactored to getUninversionMapper and no longer merges FieldInfos.
2018-10-05 20:40:39 -07:00
Shalin Shekhar Mangar eb47099ee2 SOLR-12836: ZkController creates a cloud solr client with no connection or read timeouts.
This changes ZkController to use the http client created by the update shard handler instead of creating a custom one.
2018-10-05 15:18:11 +05:30
Shalin Shekhar Mangar ace0db7a0a SOLR-12835: Document statistics exposed by the Query Result Cache when maxRamMB is configured 2018-10-05 08:20:31 +05:30
Jan Høydahl 5fb384c989 SOLR-12814: Metrics history causing "HttpParser URI is too large >8192" when many collections
This fixes #461
2018-10-04 18:32:38 +02:00
Andrzej Bialecki 452c2dabf0 SOLR-12815: Implement maxOps limit for IndexSizeTrigger. 2018-10-04 12:48:25 +02:00
Shalin Shekhar Mangar 152fd966a7 SOLR-12827: Migrate cluster wide defaults syntax in cluster properties to a nested structure
The cluster wide defaults structure has changed from {collectionDefaults: {nrtReplicas : 2}} to {defaults : {collection : {nrtReplicas : 2}}}.  The old format continues to be supported and can be read from ZK as well as written using the V2 set-obj-property syntax but it is deprecated and will be removed in Solr 9. We recommend that users change their API calls to use the new format going forward.
2018-10-04 16:12:55 +05:30
Tomas Fernandez Lobbe 46f753d7c6 SOLR-12767: Always include the achieved rf in the response
This commit deprecates the min_rf parameter. Solr now always includes the achieved replication
factor in the update requests (as if min_rf was always specified). Also, reverts the changes
introduced in SOLR-8034, replicas that don't ack an update will have to recover to prevent
inconsistent shards.
2018-10-03 09:40:15 -07:00
Noble Paul d8e40796e2 SOLR-12822: /autoscaling/suggestions to include suggestion to add-replica for lost replicas 2018-10-03 23:37:58 +10:00
Andrzej Bialecki abace2987a Fix the CHANGES entry - this is applicable only to 8.0 codebase. 2018-10-03 14:11:43 +02:00
Andrzej Bialecki eba7bedadf SOLR-12725: ParseDateFieldUpdateProcessorFactory should reuse ParsePosition. 2018-10-03 13:59:02 +02:00
Shalin Shekhar Mangar 84683b6aa0 SOLR-12750: Migrate API should lock the collection instead of shard 2018-10-03 16:24:26 +05:30
Shalin Shekhar Mangar 65105aa81b SOLR-12648: Autoscaling framework based replica placement is not used unless a policy is specified or non-empty cluster policy exists 2018-10-03 15:52:51 +05:30
David Smiley fe844c739b LUCENE-8513: Remove MultiFields.getFields
SlowCompositeReaderWrapper now works with MultiTerms directly
2018-10-01 10:39:12 -04:00
David Smiley 964cc88cee SOLR-12593: remove date parsing from extract contrib
* added "ignored_*" to the default configSet
* Updated Ref Guide info on Solr Cell to demonstrate usage without using the techproducts configSet

Closes #438
2018-09-28 16:50:11 -04:00
Charles Sanders 9481c1f623 SOLR-5163: edismax now throws an exception when qf refers to a nonexistent field 2018-09-27 15:53:26 -04:00
Peter Somogyi 044bc2a485 SOLR-12652: Remove SolrMetricManager.overridableRegistryName() 2018-09-27 15:39:55 -04:00
Shalin Shekhar Mangar c587410f99 SOLR-12756: Refactor Assign and extract replica placement strategies out of it.
Now, assignment is done with the help of a builder class instead of calling a method with large number of arguments. The number of special cases that had to be handled have been cut down as well.
2018-09-27 16:15:38 +05:30
Cao Manh Dat 667b8299e6 SOLR-12805: Store previous term (generation) of replica when start recovery process 2018-09-26 10:35:44 +07:00
noble 3f2975c27c SOLR-11522: /autoscaling/suggestions now include rebalance options as well even if there are no violations 2018-09-25 00:34:21 +10:00
Erick Erickson 95cc6f4f76 SOLR-12776: Setting of TMP in solr.cmd causes invisibility of Solr to JDK tools 2018-09-23 16:03:30 -07:00
Varun Thacker 60569fbe4e SOLR-11836: Move CHANGES entry to the 7.6 section 2018-09-21 17:01:37 -07:00
Shalin Shekhar Mangar 4bcace571e SOLR-9317: ADDREPLICA command should be able to add more than one replica to a collection,shard at a time.
The API now supports 'nrtReplicas', 'tlogReplicas', 'pullReplicas' parameters as well 'createNodeSet' parameter. As part of this change, the CREATESHARD API now delegates placing replicas entirely to the ADDREPLICA command and uses the new parameters to add all the replicas in one API call.
2018-09-21 15:12:21 +05:30
Steve Rowe 7d0a7782fa SOLR-12771: add CHANGES entry 2018-09-17 15:02:10 -04:00
Andrzej Bialecki 36eae57163 SOLR-12765: Incorrect format of JMX cache stats. 2018-09-17 15:33:16 +02:00
David Smiley ac7969e3c0 SOLR-6280: CollapseQParser now throws an error when pointing to a multi-valued field. 2018-09-17 09:08:54 -04:00
Erick Erickson b2b597b038 SOLR-12773: Fix typos widely spread around codebase 2018-09-16 09:46:20 -07:00
Cassandra Targett 39733cbf5f SOLR-12551: fix Tika version in list of major components in CHANGES.txt 2018-09-14 08:55:53 -05:00
Tomas Fernandez Lobbe 4a5b914eaa SOLR-12766: Improve backoff for internal retries
When retrying internal update requests, backoff only once for the full batch of retries
instead of for every request.
Make backoff linear with the number of retries
2018-09-12 21:11:34 -07:00
David Smiley 6e8c05f6fe SOLR-12361: ref guide changes & CHANGES.txt organization 2018-09-12 17:34:28 -04:00
Varun Thacker 2b553f03be SOLR-11836: add all contributors for the patch 2018-09-11 12:37:50 -07:00
Varun Thacker d35d2063a8 SOLR-11836: FacetStream works with bucketSizeLimit of -1 which will fetch all the buckets 2018-09-11 10:58:04 -07:00
Anshum Gupta a1b6db26db SOLR-12762: Fix javadoc for SolrCloudTestCase.clusterShape() method and add a method that validates only against Active slices while testing 2018-09-10 15:18:32 -07:00
Jim Ferenczi 3a71bf39d1 Add 7.6.0 version 2018-09-10 16:05:53 +02:00
Jim Ferenczi 1f2b344def Revert "Add version 7.5.1"
This reverts commit 2ffcb878b4.
2018-09-10 15:56:05 +02:00
Jim Ferenczi 2ffcb878b4 Add version 7.5.1 2018-09-10 09:19:09 +02:00
Erick Erickson 3b62f23f72 SOLR-12055: Enable async logging by default - rollback 2018-09-07 22:51:50 -07:00
Steve Rowe 2c88922998 SOLR-8742: In HdfsDirectoryTest replace RAMDirectory usages with ByteBuffersDirectory. 2018-09-07 13:19:01 -04:00
David Smiley 21d130c3ed SOLR-12357: TRA preemptiveCreateMath option.
Simplified test utility TrackingUpdateProcessorFactory.
Reverted some attempts the TRA used to make in avoiding overseer communication (too complicated).
Closes #433
2018-09-06 23:38:44 -04:00
Erick Erickson 9e04375dc1 SOLR-12732: TestLogWatcher failure on Jenkins 2018-09-06 19:25:33 -07:00
Tomas Fernandez Lobbe 0af269fb49 SOLR-12612: Accept custom keys in cluster properties
Cluster properties restriction of known keys only is relaxed, and now unknown properties starting with "ext."
will be allowed. This allows custom to plugins set their own cluster properties.
2018-09-06 14:07:30 -07:00
Joel Bernstein c684773e8d SOLR-11943: Update CHANGES.txt 2018-09-06 14:23:53 -04:00
Chris Hostetter 597bd5db77 SOLR-9418: Added a new (experimental) PhrasesIdentificationComponent for identifying potential phrases in query input based on overlapping shingles in the index 2018-09-06 10:50:56 -07:00
Varun Thacker 89d598e9e8 SOLR-12744: Improve logging messages and verbosity around recoveries 2018-09-05 19:56:25 -07:00
Erick 37375ae600 SOLR-12733: SolrMetricReporterTest failure 2018-09-05 17:04:31 -07:00
David Smiley e4f256be15 SOLR-12722: [child] transformer now processes 'fl' 2018-09-05 10:50:14 -04:00
Shalin Shekhar Mangar b6ee0ed5d5 SOLR-12716: NodeLostTrigger should support deleting replicas from lost nodes by setting preferredOperation=deletenode
This commit adds support for preferredOperation configuration for NodeLostTrigger. The ComputePlanAction now creates DeleteNodeSuggester for each lost node serially when preferredOperation=deletenode. A new section for node lost trigger with exampls is added to the ref guide.
2018-09-05 15:40:10 +05:30
David Smiley b1b0963947 SOLR-11861 baseConfigSet default 2018-09-04 14:02:46 -04:00
Andrzej Bialecki e0eb7bac02 SOLR-12723: Reduce object creation in HashBasedRouter. 2018-09-04 18:16:00 +02:00
Shalin Shekhar Mangar 34a85014d5 SOLR-12715: NodeAddedTrigger should support adding replicas to new nodes by setting preferredOperation=addreplica
This commit adds support for preferredOperation configuration parameter which defaults to movereplica. Changes ComputePlanAction to add all (collection,shard) pair as hints to AddReplicaSuggester when addreplica is selected as the preferred operation.
2018-09-04 17:05:44 +05:30
Erick Erickson 74b53b1a67 SOLR-12728: RequestLoggingTest fails on occasion, not reproducible 2018-09-03 10:19:33 -07:00
David Smiley d93c46ea94 LUCENE-8267: adjust CHANGES.txt advise 2018-09-01 17:24:44 -04:00
Varun Thacker 606e529f93 SOLR-10697: HttpShardHandler now uses a default of 100k as maxConnections (10k previously) and default maxConnectionsPerHost as 100k (20 previously). They are now consisent with the UpdateShardHandler defaults 2018-09-01 07:20:15 -06:00
Varun Thacker d55a81df84 SOLR-12704: Guard AddSchemaFieldsUpdateProcessorFactory against null field names and field values 2018-08-31 23:53:30 -06:00
Erick Erickson e7b4495343 SOLR-12055: Last patch had the entry in the wrong place in CHANGES.txt 2018-08-31 20:43:26 -07:00
Erick Erickson 8e75f393b3 SOLR-12055: Enable async logging by default 2018-08-31 20:39:05 -07:00
David Smiley 4096decd8f SOLR-12591: ParseDateField URP should default to "en_US" locale (not ROOT) which is implied by common formats.
Should fix Java 9,10,11 test fails; Java 8 continues to work.
2018-08-30 09:53:43 -04:00
Joel Bernstein 86ba65c107 SOLR-10651, SOLR-10784: Add new statistical and machine learning functions to CHANGES.txt for 7.5 release 2018-08-30 08:56:44 -04:00
David Smiley 18874a6e36 SOLR-12591: Expand default configSet's date patterns to subsume those of extract contrib 2018-08-29 14:17:44 -04:00
David Smiley 5a0e7a615a SOLR-12519: child doc transformer can now produce a nested structure.
Fixed SolrDocument's confusion of field-attached child documents in addField()
Fixed AtomicUpdateDocumentMerger's confusion of field-attached child documents in isAtomicUpdate()
2018-08-29 10:02:09 -04:00
Steve Rowe 6430749d46 SOLR-12662: Reproducing TestPolicy failures: NPE and NoClassDefFoundError 2018-08-28 12:42:59 -04:00
Tomas Fernandez Lobbe d833b4c9d3 SOLR-10028: Fix and improvements to SegmentsInfoRequestHandlerTest 2018-08-27 14:05:50 -07:00
Steve Rowe 95cb7aa491 SOLR-12590: Improve Solr resource loader coverage in the ref guide 2018-08-23 14:36:05 -04:00
Varun Thacker dfd2801cd2 SOLR-12572: While exporting documents using the export writer, if a field is specified as a sort parameter and also in the fl (field list) parameter, we save on one doc-value lookup. This can bring performance improvements of 15% and upwards depending on how many fields are in common 2018-08-23 10:48:10 -07:00
Erick Erickson 8cde1277ec SOLR-12690: Regularize LoggerFactory declarations 2018-08-22 15:26:37 -07:00
Varun Thacker 5eab1c3c68 SOLR-12683: HashQuery will throw an exception if more than 4 partitionKeys is specified. Earlier after the 4th partitionKey the keys would be silently ignored. 2018-08-20 15:21:19 -07:00
Erick Erickson 66d500b5a5 SOLR-12625: Combine SolrDocumentFetcher and RetrieveFieldsOptimizer 2018-08-20 10:37:32 -07:00
Shalin Shekhar Mangar 1c0f95ee04 SOLR-12130: CdcrReplicationDistributedZkTest is broken into two test classes, CdcrOpsAndBoundariesTest which does not require node restarts and CdcrWithNodesRestartsTest which does. The tests themselves are made faster and more resilient to spurious failures 2018-08-20 14:49:13 +05:30
Shalin Shekhar Mangar 079a81f14f SOLR-12675: Make LeaderVoteWaitTimeoutTest more resilient against side effects of test methods.
Extracted a new method to ensure a given number of jettys are always running in the test setup. Also, delete all collections created by other test methods.
2018-08-20 14:45:50 +05:30
Shalin Shekhar Mangar 3c9050c3dd SOLR-12679: MiniSolrCloudCluster.startJettySolrRunner method should not add a duplicate jetty instance to the list 2018-08-20 14:24:31 +05:30
Shalin Shekhar Mangar 20d0f67edd SOLR-12680: Fix ClassCastException and AIOOBE in TestSolrConfigHandlerConcurrent 2018-08-20 13:25:56 +05:30
Shalin Shekhar Mangar ee498f5a38 SOLR-12679: MiniSolrCloudCluster.stopJettySolrRunner should remove jetty from the internal list
While the startJettySolrRunner adds the given jetty instance to the internal list of jetty instances, the stopJettySolrRunner method does not remove the given instance from the list. This leads to inconsistencies such as stopped jettys retained in the internal list and duplicate (stopped) jettys. This commit also fixes TestCollectionsAPIViaSolrCloudCluster to deal with this change.
2018-08-20 13:17:05 +05:30
Varun Thacker 3e4545219e SOLR-12674: RollupStream should not use the HashQueryParser for 1 worker 2018-08-19 11:59:38 -07:00
Noble Paul 124be4e202 SOLR-12014: Cryptic error message when creating a collection with sharding that violates autoscaling policies 2018-08-18 00:37:50 +10:00
Anshum Gupta 4309ae6f9f SOLR-12475: Fix failing MaxSizeAutoCommitTest 2018-08-16 23:05:21 -07:00
Andrzej Bialecki 9572e129f8 SOLR-12668: Autoscaling trigger listeners should be executed in the order of their creation. 2018-08-16 21:44:10 +02:00
Steve Rowe 711a72ed84 LUCENE-8456: Upgrade Apache Commons Compress to v1.18 2018-08-16 12:06:33 -04:00
Shalin Shekhar Mangar 887055d892 SOLR-12670: RecoveryStrategy logs wrong wait time when retrying recovery 2018-08-16 15:00:49 +05:30
Shalin Shekhar Mangar 93a20b72b1 SOLR-12656: ShardSplitTest should extend AbstractFullDistribZkTestBase instead of BasicDistributedZkTest. Also removed some unused overridden methods to create solr clients 2018-08-16 08:01:08 +05:30
Noble Paul 60257ea276 SOLR-12649: CloudSolrClient retries requests unnecessarily exception from server 2018-08-16 00:26:23 +10:00
Noble Paul a059c944c1 SOLR-12665: Autoscaling policy not being refreshed due to caching 2018-08-16 00:02:27 +10:00
Jan Høydahl f3339d14c9 SOLR-12523: Improve error reporting and docs regarding Collection backup feature shared-fs requirement 2018-08-15 13:38:05 +02:00
Bar Rotstein ec01cc981c SOLR-12591: ParseDateFieldUpdateProcessorFactory: Use "lenient" and strip surrounding quotes.
More tests, ported from "extract" contrib stuff.
2018-08-15 00:04:09 -04:00
Andrzej Bialecki 8dd704ef78 SOLR-12470: Search Rate Trigger multiple bug fixes, improvements and documentation updates. 2018-08-14 20:41:42 +02:00
Jan Høydahl 69b2af33fb SOLR-10984: Clean up web.xml, removing old redirects and outdated comments 2018-08-13 10:39:21 +02:00
Uwe Schindler 928b92caa0 SOLR-12655: Add Korean morphological analyzer ("nori") to default distribution. This also adds examples for configuration in Solr's schema 2018-08-11 14:07:31 +02:00
Cassandra Targett 89a1655e7f SOLR-11766: Move Streaming Expressions to be top-level section of Ref Guide 2018-08-10 08:54:43 -05:00
Varun Thacker e9f3a3ce1d SOLR-12616: Optimize Export writer upto 4 sort fields to get better performance. This was removed in SOLR-11598 but brought back in the same version 2018-08-08 13:28:00 -07:00
Varun Thacker 7c4584bd4f SOLR-11008: Use a lighter config for MetricsHandlerTest and ensure the core is up before the test starts 2018-08-08 13:28:00 -07:00
Jan Høydahl 9306922d65 SOLR-7767: "ZK Status" sub menu under "Cloud" tab to see status of zookeeper ensemble 2018-08-08 12:43:19 +02:00
Moshe 38bf976cd4 SOLR-12485: Solr-Update XML format now accepts child documents under a field
thus providing a semantic relationship.  (like allowed for JSON).
Improved XML.java a bit
Closes #430
2018-08-07 13:52:11 -04:00
David Smiley c3887b351e SOLR-12586: Change ParseDateFieldUpdateProcessorFactory to use java.time.DateTimeFormatter, not Joda Time.
Note: slightly different pattern language!
Remove Joda Time.
Closes #428
2018-08-07 11:51:16 -04:00
Andrzej Bialecki 208d59b5e3 SOLR-12541: Metrics handler throws an error if there are transient cores. 2018-08-07 13:21:41 +02:00
Erick Erickson 08ca54f1f8 SOLR-11770: NPE in tvrh if no field is specified and document doesn't contain any fields with term vectors, forgot to add CHANGES.txt 2018-08-06 20:05:52 -07:00
Erick Erickson 96e8392921 SOLR-11770: NPE in tvrh if no field is specified and document doesn't contain any fields with term vectors 2018-08-06 20:04:59 -07:00
Tomas Fernandez Lobbe c338cf61e7 SOLR-11881: Retry update requests from leaders to followers 2018-08-06 15:56:49 -07:00
Varun Thacker 592899a419 SOLR-12615: HashQParserPlugin won't throw an NPE for string hash key and documents with empty value 2018-08-04 14:32:36 -07:00
noble 664187f73a SOLR-12592: added support for range , percentage and decimal 2018-08-04 16:34:23 +10:00
Jan Høydahl f8db5d0afd SOLR-12614: Make "Nodes" view the default in AdminUI "Cloud" tab 2018-08-03 23:20:48 +02:00
Varun Thacker e3cdb395a4 SOLR-12617: Remove Commons BeanUtils as a dependency 2018-08-03 09:46:54 -07:00
Jan Høydahl 17a02c1089 SOLR-8207: Add "Nodes" view to the Admin UI "Cloud" tab, listing nodes and key metrics 2018-08-03 13:55:11 +02:00
Andrzej Bialecki d1173b8adc SOLR-12594: MetricsHistoryHandler.getOverseerLeader fails when hostname contains hyphen. 2018-08-02 18:47:58 +02:00
Andrzej Bialecki 5de10c7966 SOLR-12344: SolrSlf4jReporter doesn't set MDC context. 2018-08-02 14:29:47 +02:00
Noble Paul 868e970816 SOLR-12592: support #EQUAL function in cores in autoscaling policies 2018-08-02 15:20:46 +10:00
Shalin Shekhar Mangar 259bc2baf7 SOLR-12607: Fixed two separate bugs in shard splits which can cause data loss. The first case is when using TLOG replicas only, the updates forwarded from parent shard leader to the sub-shard leader are written only in tlog and not the index. If this happens after the buffered updates have been replayed then the updates can never be executed even though they remain the transaction log. The second case is when synchronously forwarding updates to sub-shard leader fails and the underlying errors are not propagated to the client 2018-08-02 08:24:32 +05:30
Andrzej Bialecki 1133bf98a5 SOLR-12509: Improve SplitShardCmd performance and reliability. 2018-08-01 16:30:59 +02:00
Christine Poerschke 4a1ee046c3 SOLR-12402: Factor out SolrDefaultStreamFactory class. 2018-07-31 19:29:43 +01:00
Steve Rowe a08eadb480 Fix InfixSuggestersTest.testShutdownDuringBuild() failures 2018-07-30 22:49:49 -04:00
Varun Thacker 8d28bbc905 SOLR-12477: Return server error(500) for AlreadyClosedException instead of client Errors(400) . This closes PR #402 2018-07-30 17:42:03 -07:00
Cassandra Targett ea221069c3 SOLR-12164: Ref Guide - improve index.adoc so it's a nicer landing page for the Guide 2018-07-30 14:11:55 -05:00
Alexandre Rafalovitch e264d03920 SOLR-12574: Use a common bucket for all significantTerms outputs 2018-07-29 12:02:07 -04:00
Shalin Shekhar Mangar 179c8f9b48 SOLR-11990: Make it possible to co-locate replicas of multiple collections together in a node.
A collection may be co-located with another collection during collection creation time by specifying a
'withCollection' parameter. It can also be co-located afterwards by using the modify collection API.
The co-location guarantee is enforced regardless of future cluster operations whether they are invoked
manually via the Collection API or automatically by the Autoscaling framework.

Squashed commit of the following:

commit 3827703b38c598f1247c90ab57d3d640ab3a9e21
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 11:54:10 2018 +0530

    SOLR-11990: Added change log entry

commit 7977222e07ba47274062cb8d8a69e7956d644000
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 11:52:17 2018 +0530

    SOLR-11990: Added change log entry

commit 1857075fdb9d535b6149ad4369fed8b64b0c01f6
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 11:49:51 2018 +0530

    SOLR-11990: Added note about co-location guarantees being one way only

commit 8557cbc8a511f21d1fcad99e11ea9d2104d0bef4
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 10:43:37 2018 +0530

    SOLR-11990: Remove unused import

commit 864b013fd744edca9b6b84a8a7573fab3c5310d5
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 10:21:59 2018 +0530

    SOLR-11990: Fixing compilation issues after merging master

commit dd840a2f7e765ee96c899d4d9ea89b6b67c5ae62
Merge: bb4ffb3 828d281
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 10:03:50 2018 +0530

    Merge branch 'master' into jira/solr-11990

    # Conflicts:
    #	solr/solr-ref-guide/src/collections-api.adoc
    #	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Clause.java
    #	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Suggestion.java

commit bb4ffb32c4960a2809ac8927e214e1e012204a73
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jul 27 14:09:44 2018 +0530

    SOLR-11990: Ensure that the suggestion are validated by the policy engine otherwise move to the next candidate replica or the next candidate node

commit a97d45b22f9c232e939f979502c761001be9ae24
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jul 27 13:22:10 2018 +0530

    SOLR-11990: Autoscaling suggestions for withCollection violations should prefer moving replicas before adding replicas

commit 7b5a84338dfe7335599a5e96aff2d26cb4eeaac6
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jul 27 12:22:45 2018 +0530

    SOLR-11990: Fix statement about the behavior of the modify collection API when modifying the withCollection parameter

commit 63aec4fe0de7025c16b6ebc47dad1004531ecee1
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Thu Jul 26 07:29:07 2018 +0530

    SOLR-11990: Added new page to the reference guide describing how to colocate collections together including guarantees and limitations

commit 6bfcd0786bb30353de9c26a01ec97ce3191b58f8
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 25 21:42:25 2018 +0530

    SOLR-11990: Added another test which creates two collections which are colocated with two different collections and ensures that create collection and add replica operations work correctly

commit 4cead778f0044b6fb4012b085abf7b60350f495b
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 25 21:07:47 2018 +0530

    SOLR-11990: Stop or start jettys in test setup to ensure that we always have exactly 2 replicas running before a test starts

commit 70dbfd042c2164fcd76d406eeab1518e4d3147fb
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 25 19:19:07 2018 +0530

    SOLR-11990: Added description of the new withCollection parameter in the reference guide

commit 9d8260852b9d667d4d8e026432fd7727b7789393
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 25 19:16:46 2018 +0530

    SOLR-11990: Reset count down latch during test setup

commit ae508165571b1afde54337859b8d5fdbb1d67312
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 25 15:43:54 2018 +0530

    SOLR-11990: Add support for withCollection in simulated create collection API

commit 84f026b8c4cc25edb548430b8f5ad09d2486b3b5
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 17:21:33 2018 +0530

    SOLR-11990: Ported the refactoring made in CreateCollectionCmd to the simulated version so that simulation tests are able to create collections correctly

commit defe111c9d31c8e4f0f00b4f2f3c875f5b2fa602
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 16:17:52 2018 +0530

    SOLR-11990: Add missing javadoc for return statement

commit 8e47d5bc4545548c5441909c3fcc1a7901b38185
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 16:11:45 2018 +0530

    SOLR-11990: Replace usage of forbidden Charsets with StandardCharsets class

commit 2d1b9eb25ea96a3a42c000ae654400ed44c17554
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 16:07:36 2018 +0530

    SOLR-11990: Extract ConditionType to an interface VarType along with a WithCollectionVarType implementation

commit 1de2a4f52a59afca28de75bfa5156a3d6567a4f5
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 12:53:26 2018 +0530

    SOLR-11990: Pass strict-ness parameter to the ConditionType so that WITH_COLLECTION can choose not to project add replica in strict mode.

    This ensures that add replica or move replica suggesters always choose nodes that already have withCollection replicas first unless there are violations in doing so. Only if the first pass fails to find a suitable replica, do we go to the other nodes in the cluster. This also removes the need for the majority of changes in AddReplicaSuggester and so they've been reverted.

commit 0d616ed9e9bad791548c87086cba7760d724350d
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 11:36:34 2018 +0530

    SOLR-11990: Minor changes to formatting and code comments

commit 1228538f934f35f15797d89c2c66f2deb9cddd8c
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Mon Jul 23 14:26:19 2018 +0530

    SOLR-11990: Added a test which simulates a lost node and asserts that move replica suggester moves the replica on the lost node to a node already having the withCollection present

commit 582f1fd98de93ab73c74a1f623749dd031beb381
Author: Noble Paul <noble@apache.org>
Date:   Mon Jul 23 18:35:22 2018 +1000

    SOLR-11990: NPE removing unnecessary System.out.println

commit 501bc6c1d066321b344bbb8b1de3c2ead52f8c49
Author: Noble Paul <noble@apache.org>
Date:   Mon Jul 23 18:31:07 2018 +1000

    SOLR-11990: NPE during class init

commit acbf4a69321e16cff11cc7cf0a1f076fd9ac0037
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Mon Jul 23 13:55:30 2018 +0530

    SOLR-11990: Added asserts on the nodes that should be selected by the add replica suggester

commit 4824933fd6eb7d1773acbff1a1a0c5e670226e0b
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jul 20 14:30:52 2018 +0530

    SOLR-11990: Added WITH_COLLECTION to global tags. Fixed implementation of addViolatingReplicas and getSuggestions in the clause impl. Added more asserts in testWithCollectionSuggestions.

commit dbadb33211c190026e08d8e3ea587b6f8df8720b
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jul 20 13:44:36 2018 +0530

    SOLR-11990: Added support for comparing violations, generating suggestions and adding violating replicas

commit ada1f17d5c93a4186260473e4822d2bee1da0e16
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 18 19:14:56 2018 +0530

    SOLR-11990: Fix mock node state provider in TestPolicy to use the right cluster state. Added nocommits to ensure that we return the right suggestions for this feature.

commit ef2d61812e0d96eb2275b3411906d9de57ab835e
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 18 18:39:51 2018 +0530

    SOLR-11990: Add missing node in nodeValues configuration

commit 34841fc01fea4a9f1e6a9f64050e576f2247a72b
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 18 16:32:57 2018 +0530

    SOLR-11990: Make it possible to co-locate replicas of multiple collections together in a node
2018-07-29 07:26:13 +05:30
Shalin Shekhar Mangar 3119fbb947 SOLR-12597: Migrate API should fail requests that do not specify split.key parameter 2018-07-27 11:53:53 +05:30
Noble Paul d87ea6b1cc SOLR-12536: autoscaling policy support to equally distribute replicas on the basis of arbitrary properties 2018-07-26 21:32:45 +10:00
Chris Hostetter 71c0bddd14 SOLR-12581: the JSON Facet 'relatedness()' aggregate function now supports a 'min_popularity' option using the extended type:func syntax 2018-07-25 10:06:30 -07:00
Chris Hostetter 98d463ae48 SOLR-12567: JSON Facet "functions" now support an extended "type:func" syntax, similar to other types of facets
This also allows additional local params to be specified for if the aggregation function can take advantage of them.
2018-07-24 10:43:49 -07:00
Erick Erickson 9d7aef6e77 SOLR-12576: Update ref guide for additional information displayed in cloud view 2018-07-23 20:58:32 -07:00
koji 995a902d1a SOLR-12570: OpenNLPExtractNamedEntitiesUpdateProcessor cannot support multi fields because pattern replacement doesn't work correctly 2018-07-23 16:58:46 +09:00
Cao Manh Dat 8c06dec16d SOLR-12305: When a replica is applying updates, some kind of updates can skip buffering for faster recovery 2018-07-23 09:33:28 +07:00
Varun Thacker 9d9c3a0cd8 SOLR-11598: Support more than 4 sort fields in the export writer 2018-07-20 11:38:07 -07:00
Alexandre Rafalovitch f6e9d00b90 SOLR-12553: Check local params in SignificantTerms Query Parser 2018-07-19 22:12:22 -04:00
Chris Hostetter 3a5d4a25df SOLR-12343: Fixed a bug in JSON Faceting that could cause incorrect counts/stats when using non default sort options
This also adds a new configurable "overrefine" option
2018-07-19 10:05:28 -07:00
Christine Poerschke e9c6effd07 SOLR-12454: Tweak Overseer leadership transition related logging for easier troubleshooting. 2018-07-17 20:16:11 +01:00
Christine Poerschke f7aed28760 SOLR-12464: Reduce Overseer.close() logging (for non-Overseer leaders) 2018-07-17 20:16:10 +01:00
Noble Paul 49b1fe2b6d SOLR-12522: Support a runtime function `#ALL` for 'replica' in autoscaling policies 2018-07-17 15:40:22 +10:00
Noble Paul 11b22b441a SOLR-11986: Allow percentage in freedisk attribute in autoscaling policy rules 2018-07-16 17:36:02 +10:00
Noble Paul 09526a560c Revert "OLR-11986: Allow percentage in freedisk attribute in autoscaling policy rules"
This reverts commit 5b9f4f3
2018-07-16 17:33:51 +10:00
Noble Paul 5b9f4f3ecf OLR-11986: Allow percentage in freedisk attribute in autoscaling policy rules 2018-07-16 17:29:25 +10:00
Erick Erickson db8db0d2b6 SOLR-12551: Upgrade to Tika 1.18 2018-07-14 15:45:33 -07:00
David Smiley 424608946c SOLR-12441: Lowercase _NEST_PARENT_ and _NEST_PATH_ fields. 2018-07-13 22:51:13 -04:00
Adrien Grand e01eefe965 Add version 6.6.5. 2018-07-12 11:02:21 +02:00
Erick Erickson 93ae3669b5 SOLR-12008: Settle a location for the log4j2.xml file 2018-07-11 20:57:38 -07:00
David Smiley fe180bbd59 SOLR-12441: New NestedUpdateProcessorFactory 2018-07-10 22:59:41 -04:00
Cao Manh Dat 1197176110 SOLR-12412: Leader should give up leadership when IndexWriter.tragedy occur 2018-07-09 09:14:23 +07:00
Alexandre Rafalovitch 5f5e5dbfb5 Added name in the CHANGES.txt 2018-07-08 13:33:13 -04:00
Alexandre Rafalovitch b7d14c50fb SOLR-11694: Remove outdated UIMA module 2018-07-07 09:58:57 -04:00
Chris Hostetter 7d8ef9e39d SOLR-12516: Fix some bugs in 'type:range' Facet refinement when sub-facets are combined with non default values for the 'other' and 'include' options.
1) the optional other buckets (before/after/between) are not considered during refinement

2) when using the include option: if edge is specified, then the refinement of all range buckets mistakenly includes the lower bound of the range, regardless of whether lower was specified.
2018-07-06 09:34:05 -07:00
Alexandre Rafalovitch 2aae3fb3d2 SOLR-2834: Handle CharacterFilters in Solr
Impacts Document and Field Analyzes and was previously a class cast error
2018-07-04 22:05:45 -04:00
Uwe Schindler 5ec0a3f422 SOLR-12450: Add CVE number to changelog 2018-07-04 18:35:06 +02:00
Noble Paul f86c477521 SOLR-12495: An #EQUALS function for replica in autoscaling policy to equally distribute replicas 2018-07-05 00:39:52 +10:00
yonik b7b6f242e8 SOLR-12533: getting index size shouldn't create directory (metrics race) 2018-07-03 22:55:38 -04:00
Christine Poerschke a444e82bab SOLR-12527: factor out a test-framework/ConfigRequest class 2018-07-03 18:27:17 +01:00
Christine Poerschke 1a4b1358ea SOLR-12395: Make 'significantTerms' the SignificantTermsQParserPlugin's name and deprecate its old 'sigificantTerms' name.
(Tobias Kässmann, Christine Poerschke)
2018-07-03 18:09:35 +01:00
Jason Gerlowski ea4043b954 SOLR-12427: Correct status for invalid 'start', 'rows'
Prior to this commit we correctly handled negative start/rows param
values by returning a 400 (BAD REQUEST) with an appropriate error
message, but would return an ugly 500 with stack trace for non-numeric
input values.  This commit corrects this later case to also return
a 400 status code with a nicer error message.
2018-06-30 15:04:55 -04:00
yonik ee12253385 SOLR-12326: add more=true to terms facets with more buckets 2018-06-30 09:45:42 -04:00
Ishan Chattopadhyaya c291fa3724 SOLR-12530: Ability to disable configset upload 2018-06-29 19:12:07 +05:30
Alexandre Rafalovitch d2ac32368e SOLR-12278: Fixed JIRA number in CHANGES file
One digit off
2018-06-27 21:52:14 -04:00
Andrzej Bialecki 1023b839ae SOLR-11665: Improve error handling of shard splitting. Fix splitting of mixed replica types. 2018-06-26 20:35:34 +02:00
Noble Paul 1eb2676f27 SOLR-11985: Support percentage values in replica attribute in autoscaling policy
SOLR-12511: Support non integer values for replica in autoscaling policy

SOLR-12517: Support range values for replica in autoscaling policy
2018-06-26 16:28:17 +10:00
David Smiley 095f9eb90d SOLR-12398: Add Heatmap facet option to JSON Facet API.
* moved the preponderance of the implementation from SpatialHeatmapFacets (used by SimpleFacets) into the new API.
2018-06-25 22:37:13 -04:00
Erick Erickson 1d85cd7838 SOLR-12513 Reproducing TestCodecSupport.testMixedCompressionMode failure 2018-06-25 15:17:40 -07:00
Shalin Shekhar Mangar 8c714348ae SOLR-12506: Add SolrJ support for the modify collection API 2018-06-25 19:09:57 +05:30
Shalin Shekhar Mangar ffd9944315 SOLR-12468: Upgrade Jetty to 9.4.11.v20180605 2018-06-25 19:02:06 +05:30
Steve Rowe 25e7631b90 SOLR-12482: Config API returns status 0 for failed operations 2018-06-21 23:21:13 -04:00
David Smiley 7c28d57973 SOLR-12413: Ensure pre-loaded aliases in ZK are considered.
(fix use of zk version in Aliases.EMPTY)
2018-06-21 14:00:12 -04:00
Gus Heck bc9ac994a4 SOLR-11654 TimePartitionedUpdateProcessor.lookupShardLeaderOfCollection should route to the ideal shard 2018-06-21 11:45:59 -04:00
Shalin Shekhar Mangar fabc408d3b SOLR-12507: Modify collection API should support un-setting properties 2018-06-21 15:45:24 +05:30
Varun Thacker 3a2ec9baf8 SOLR-11807: Restoring collection now treats maxShardsPerNode=-1 as unlimited 2018-06-21 14:21:16 +05:30
Cao Manh Dat daff67e279 SOLR-11216: Race condition in peerSync 2018-06-20 16:26:02 +07:00
Varun Thacker 3d20e8967b SOLR-12489: User specified replicationFactor and maxShardsPerNode is used when specified during a restore operation.
A user can now specify nrtReplicas/tlogReplicas/pullReplicas while restoring the collection.

Specifying replicationFactor or nrtReplicas have the same effect and only one can be specified
2018-06-19 19:45:08 +05:30
Ishan Chattopadhyaya 4138ad662e SOLR-12428: Solr LTR jar now included in _default configset's solrconfig.xml 2018-06-18 15:02:20 +05:30
Varun Thacker 11fcb23906 SOLR-11676: Keep nrtReplicas and replicationFactor in sync while creating a collection and modifying a collection 2018-06-18 12:09:53 +04:00
Uwe Schindler e21d4937e0 SOLR-12450: Don't allow referal to external resources in various config files 2018-06-17 13:15:29 +02:00
Erick 2519025fda LUCENE-7976: Make TieredMergePolicy respect maxSegmentSizeMB and allow singleton merges of very large segments 2018-06-15 12:33:02 -07:00
David Smiley c22da7d7a9 SOLR-12416: When creating a time routed alias, the router.autoDeleteAge option wasn't considered. 2018-06-15 07:41:03 -04:00
Steve Rowe fba42bbac6 SOLR-12435: Fix bin/solr help and ref guide text to describe ZK_HOST in solr.in.sh/solr.in.cmd as an alternative to -z cmdline param 2018-06-14 21:06:09 -04:00
Erick Erickson 2db2fb3909 SOLR-11578: Solr 7 Admin UI (Cloud > Graph) should reflect the Replica type to give a more accurate representation of the cluster 2018-06-14 14:05:24 -07:00
Erick Erickson ae82bac928 SOLR-11578: Solr 7 Admin UI (Cloud > Graph) should reflect the Replica type to give a more accurate representation of the cluster 2018-06-14 13:52:48 -07:00
Steve Rowe 26a1143dcf SOLR-12437: Document 'bin/solr config' in the ref guide 2018-06-14 16:29:54 -04:00
user 21fe4164de SOLR-12362: Uploading docs in JSON now supports child documents as field values 2018-06-14 12:14:49 -04:00
Steve Rowe eea4197a3a SOLR-12481: Move CHANGES entry to 7.4 section 2018-06-13 15:11:08 -04:00
Steve Rowe 49afab08dd SOLR-12434: Move CHANGES entry to 7.4 section 2018-06-13 13:46:46 -04:00
Steve Rowe ca35c40f1b SOLR-12481: update.autoCreateFields must be set via Config API command 'set-user-property', but 'bin/solr create' tells users to use the default action 'set-property', which fails because the property is not editable 2018-06-12 21:50:25 -04:00
Steve Rowe ba62472bd3 SOLR-12434: bin/solr {config,healthcheck} ignore ZK_HOST in solr.in.{sh,cmd} 2018-06-12 20:01:20 -04:00
Noble Paul 98a4dd29ef SOLR-12208: Renamed the autoscaling variable 'INDEX.sizeInBytes' to 'INDEX.sizeInGB' 2018-06-12 13:47:12 +10:00
David Smiley 8095139da3 SOLR-12361: Allow nested child documents to be in field values of a SolrInputDocument.
* AddUpdateCommand and it's relationship with DirectUpdateHandler2 was reworked substantially.

Fixes #385
2018-06-11 10:48:30 -04:00
Noble Paul 0242409fae SOLR-12474: Add an UpdateRequest Object that implements RequestWriter.ContentWriter 2018-06-11 13:04:54 +10:00
broustant a06256ccee SOLR-11865: QueryElevationComponent changes
* new useConfiguredElevatedOrder setting
* more extensible (customizable via subclass)
** ElevationProvider
** handleInitializationException with cause enum
* use BytesRef for uniqueKey ID pervasively instead of String.
* ElevatorComparatorSource now reuses getBoostedDocs logic
* setSort will short-circuit if there are no elevated Ids
* extensive refactoring and affects some interrelated components
2018-06-09 11:32:24 -04:00
Noble Paul 944b24fab8 SOLR-12455: Refactor JSON serialization code into SolrJ package 2018-06-09 23:40:55 +10:00
Noble Paul 7ffdbf15f5 SOLR-12449: Response /autoscaling/diagnostics shows improper json 2018-06-09 23:35:16 +10:00
Jan Høydahl 01aeb3aa4a Update Tika version in 8.0.0 section 2018-06-08 15:22:00 +02:00
Jan Høydahl 30bf6b657f SOLR-12350: Do not use docValues as stored for _str (copy)fields in _default configset 2018-06-08 15:12:48 +02:00
Andrzej Bialecki 417940cdd7 SOLR-12438: Improve status reporting of metrics history API. 2018-06-07 22:26:47 +02:00
Cassandra Targett 8cb6e3d3c8 SOLR-12018: add committer attribution 2018-06-07 10:58:01 -05:00
Cassandra Targett 6e88035297 SOLR-12018: Remove comments.apache.org integration for the Ref Guide 2018-06-07 10:17:23 -05:00
Adrien Grand a82c9cfcf4 Add a 7.5.0 version. 2018-06-07 10:33:52 +02:00
Joel Bernstein f8131e4661 SOLR-10651, SOLR-10784: Add new statistical and machine learning functions to CHANGES.txt for 7.4 release 2018-06-06 21:53:22 -04:00
Andrzej Bialecki d1631593f3 SOLR-12445: Update CHANGES. 2018-06-06 15:30:32 +02:00
Varun Thacker 124b5e047d SOLR-11453: fix typos in the CHANGES entry 2018-06-05 15:16:12 -07:00
Jeff 0c6f38a315 SOLR-12233: QParserPlugin's static registry of builtins can be optimized
to avoid needless ClassLoader activity on SolrCore load.
2018-06-05 15:11:32 -04:00
David Smiley cf63392183 SOLR-12376: New TaggerRequestHandler (SolrTextTagger). 2018-06-05 14:04:55 -04:00
yonik 7d0b64f9d5 SOLR-12417: doc: fix CHANGES credit 2018-06-05 10:55:53 -04:00
Noble Paul add77d2725 SOLR-12444: Updating a cluster policy fails 2018-06-05 22:29:06 +10:00
Noble Paul 727da63f4a SOLR-12354: Register the /admin/info/key end-point at the startup time to avoid 404 2018-06-04 22:14:37 +10:00
Cao Manh Dat ab316bbc91 SOLR-9922: Write buffering updates to another tlog 2018-06-04 11:32:31 +07:00
markrmiller 1ff24bbb28 SOLR-12290,SOLR-12391: Do not close any servlet streams and improve our servlet stream closing prevention code for users and devs. 2018-06-02 00:16:28 -05:00
David Smiley 4888adf08a SOLR-12337: Remove the obsolete QueryWrapperFilter 2018-06-01 17:12:21 -04:00
Cao Manh Dat 1d33130fcb SOLR-12433: Recovering flag of a replica is set equals to leader even it failed to receive update on recovering 2018-06-01 09:23:10 +07:00
David Smiley ce8735556d * SOLR-12366: A slow "live docs" implementation was being used instead of a bitset.
Affects classic faceting enum method, JSON Facets enum method, UnInvertedField faceting, GraphTermsQParser, JoinQParser.
  Renamed SolrIndexSearcher.getLiveDocs to getLiveDocSet.
2018-05-31 10:59:26 -04:00
Noble Paul 12269abe34 SOLR-12387: cluster-wide defaults for numShards, nrtReplicas, tlogReplicas, pullReplicas
SOLR-12389: support deeply nested json objects in clusterprops.json
2018-06-01 00:50:52 +10:00
Houston Putman d243f35a54 SOLR-12271: Updating changes.txt 2018-05-30 11:45:24 -04:00
David Smiley 9aa16b64c7 SOLR-12374: Added SolrCore.withSearcher(lambda) convenience.
* and fixed SnapShooter.getIndexCommit bug forgetting to decref (rare?)
2018-05-30 11:00:00 -04:00
yonik 107fd24ec7 SOLR-12417: enforce valid function name for v.json 2018-05-30 10:15:09 -04:00
Jan Høydahl 6ca0c5f98a SOLR-12401: Add refGuide docs and CHANGES 2018-05-30 12:51:00 +02:00
Cao Manh Dat 6084da559c SOLR-12338: Replay buffering tlog in parallel 2018-05-30 11:05:48 +07:00
Andrzej Bialecki 6bbce38b77 SOLR-11779: Basic long-term collection of aggregated metrics. 2018-05-29 10:35:39 +02:00
Varun Thacker 44015e2acd SOLR-11453: Configuring slowQueryThresholdMillis logs slow requests to a separate file - solr_slow_requests.log 2018-05-28 12:43:05 -07:00
Varun Thacker 071df6e114 SOLR-12314: Use http timeout's defined in solr.xml for creating ConcurrentUpdateSolrClient during indexing requests between leader and replica 2018-05-28 11:21:49 -07:00
yonik f7500a6029 SOLR-12328: domain change using graph 2018-05-27 21:02:15 -04:00
yonik e5998fcb5d SOLR-9685: #tagging in JSON query syntax 2018-05-27 16:22:16 -04:00
Noble Paul 18ad8d137a SOLR-12294: update processors loaded from runtime jars fail to load if they are specified in an update processor chain 2018-05-26 00:25:39 +10:00
Dawid Weiss 41ecad9897 SOLR-5351: Fixed More Like This Handler to use all fields provided in mlt.fl when used with content stream. The similarity is calculated between the content stream's value and all fields listed in mlt.fl. 2018-05-25 11:39:42 +02:00
Dawid Weiss 0e4e0096fd SOLR-12396: Upgrade Carrot2 to 3.16.0, HPPC to 0.8.1, morfologik to 2.1.5 2018-05-25 09:16:41 +02:00
Steve Rowe 54a63d0d0c SOLR-12388: Enable a strict ZooKeeper-connected search request mode, in which search requests will fail when the coordinating node cant communicate with ZooKeeper, by setting the "shards.tolerant" param to "requireZkConnected" 2018-05-25 01:03:54 -04:00
markrmiller 48bd259516 SOLR-12378: Support missing versionField on indexed docs in DocBasedVersionConstraintsURP. 2018-05-23 15:44:37 -05:00
David Smiley 53a3de3b98 SOLR-12375: Optimize Lucene ScoreMode use:
* A non-cached filter query could be told incorrectly that scores were needed.
* The /export (ExportQParserPlugin) would declare incorrectly that scores are needed.
* Expanded docs (expand component) could be told incorrectly that scores are needed.
2018-05-23 15:37:33 -04:00
Noble Paul d32ce81eab SOLR-12358: Autoscaling suggestions fail randomly with sorting 2018-05-24 01:26:50 +10:00
Shalin Shekhar Mangar 9b1cb6646f SOLR-3567: Spellcheck custom parameters not being passed through due to wrong prefix creation 2018-05-23 11:12:39 +05:30
Shalin Shekhar Mangar 5a47ed4209 SOLR-11880: Avoid creating new exceptions for every request made to MDCAwareThreadPoolExecutor by distributed search and update operations 2018-05-22 19:26:42 +05:30
Mikhail Khludnev 0f14e7fe5c SOLR-12377: Don't spin off overseer when Zk controller is closed.
enable TestLeaderElectionZkExpiry
2018-05-22 11:26:44 +03:00
Chris Hostetter 669b9e7a53 SOLR-9480: A new 'relatedness()' aggregate function for JSON Faceting to enable building Semantic Knowledge Graphs 2018-05-21 08:22:54 -07:00
Uwe Schindler 63e213916c SOLR-12316: Make CVE public 2018-05-21 13:55:39 +02:00
Dennis Gove f506bc9cb7 SOLR-12355: Fixes hash conflict in HashJoinStream and OuterHashJoinStream 2018-05-18 17:14:39 -04:00
Ishan Chattopadhyaya 6826c37669 Synchronize 6.6.4 CHANGES.txt 2018-05-18 15:29:39 +05:30
Mikhail Khludnev 414fcb8e88 SOLR-12200: abandon OverseerExitThread when ZkController is closed. 2018-05-16 13:11:56 +03:00
Cao Manh Dat 16cb4141df Synchronize 7.3.1 changes 2018-05-15 10:00:14 +07:00
Mikhail Khludnev a0acc63d02 SOLR-12307: abandon OverseerTriggerThread on Zk expiration noiseless 2018-05-12 11:37:52 +03:00
Mikhail Khludnev d020ba84e4 SOLR-12333: drop redundant lines in JSON response writers 2018-05-12 11:22:48 +03:00
Varun Thacker 8a697ee09c SOLR-12265: Fix jetty-start shade issue 2018-05-10 10:10:44 -07:00
yonik 1067cabc19 SOLR-12170: fix date format exceptions for terms facet on date field 2018-05-09 15:42:58 -04:00
Varun Thacker 1705e4f291 SOLR-12265: Upgrade to Jetty 9.4.10 2018-05-08 21:31:09 -07:00
David Smiley c3d28a5b0f SOLR-12258: A V2 request referencing a collection or alias may fail to resolve it if it was just recently created.
Now we sync with ZooKeeper and try one more time.  V1 partially did this but only for aliases; now it does both.
2018-05-08 15:10:07 -04:00
Erick Erickson abb57c5c81 SOLR-12192: Error when ulimit is unlimited 2018-05-08 09:54:40 -07:00
Dawid Weiss 85c00e77ef LUCENE-8267: removed references to memory codecs. 2018-05-08 10:32:11 +02:00
David Smiley 08ee037ff8 SOLR-12308: LISTALIASES is now assured to return an up-to-date response
* MiniSolrCloudCluster.deleteAllCollections will now first delete aliases
* Minor refactorings to AliasesManager, AliasIntegrationTest, CreateRoutedAliasTest
2018-05-07 22:17:30 -04:00
David Smiley 81f611209c SOLR-12312: Replication's IndexFetcher buf size should be initialized
to an amount no greater than the size of the file being transferred.
2018-05-07 14:54:11 -04:00
Uwe Schindler 1b76011421 SOLR-12316: Do not allow to use absolute URIs for including other files in solrconfig.xml and schema parsing 2018-05-06 14:21:34 +02:00
Mark Miller 3a2572db79 SOLR-12293: Updates need to use their own connection pool to maintain connection reuse and prevent spurious recoveries. 2018-05-04 20:02:56 -05:00
Mark Miller 296201055f SOLR-12290: Do not close any servlet streams and improve our servlet stream closing prevention code for users and devs. 2018-05-04 18:02:06 -05:00
Anshum Gupta b617489638 SOLR-11277: Add auto hard commit setting based on tlog size (this closes #358) 2018-05-03 15:00:47 -07:00
Varun Thacker 8b9c2a3185 SOLR-12288: Add more MDC logging information to core admin requests 2018-05-02 23:36:50 -07:00
Varun Thacker 84925ba9ab SOLR-12289: Add more MDC logging information to collection admin requests 2018-05-02 19:01:07 -07:00
Cao Manh Dat 555b7ef270 SOLR-12278: Add IgnoreLargeDocumentProcessFactory 2018-05-02 17:43:29 +07:00
koji ee2198d6bd SOLR-12202: Fix errors in solr-exporter.cmd 2018-05-02 13:59:13 +09:00
Mikhail Khludnev ee7b52f4c6 SOLR-8998: uniqueBlock() aggreagation for singlevalue string fields in json.facet 2018-05-01 20:19:15 +03:00
jdyer1 d92b891f95 SOLR-12284: Stop adding parenthesis to word-break suggestions, unless query uses boolean operators. 2018-04-30 13:47:19 -05:00
Varun Thacker f6cbb2db6b SOLR-10036: Upgrade jackson from 2.5.4 to 2.9.5 2018-04-28 16:56:06 -07:00
Mikhail Khludnev d4d21028e9 SOLR-12275: fix caching for \{!filters} and {{filters}} in \{!parent} and \{!child} 2018-04-26 09:40:35 +03:00
David Smiley 1370f6b520 SOLR-12261: Collection deletion's check for alias membership should
sync() aliases with ZK before throwing an error.
2018-04-24 23:25:11 -04:00
Andrzej Bialecki 0d969ab85d SOLR-11833: Allow searchRate trigger to delete replicas. 2018-04-23 22:19:01 +02:00
David Smiley 1409ab8f84 SOLR-11914: Deprecated some SolrParams methods.
* toSolrParams(nl) moved to a NamedList method, which is more natural.
2018-04-23 13:26:49 -04:00
Erick Erickson 84583d2563 SOLR-12253: Remove optimize button from the core admin page 2018-04-22 19:19:09 -07:00
Cao Manh Dat f8c210f148 SOLR-12250: NegativeArraySizeException on TransactionLog if previous document more than 1.9GB 2018-04-23 08:42:03 +07:00
Chris Hostetter 4e0e8e979b SOLR-9304: Fix Solr's HTTP handling to respect '-Dsolr.ssl.checkPeerName=false' aka SOLR_SSL_CHECK_PEER_NAME 2018-04-22 13:38:37 -07:00
David Smiley 8f296d0ccf SOLR-12256: AliasesManager.update() should call ZooKeeper.sync()
* SetAliasPropCmd now calls AliasesManager.update() first.
* SetAliasPropCmd now more efficiently updates multiple values.
* Tests: Commented out BadApple annotations on alias related stuff.
2018-04-20 16:22:16 -04:00
Shalin Shekhar Mangar a4b335c942 SOLR-12252: Fix jira issue in CHANGES.txt 2018-04-20 20:10:40 +05:30
Shalin Shekhar Mangar 86b34fe0fd SOLR-11252: Fix minor compiler and intellij warnings in autoscaling policy framework 2018-04-20 20:08:37 +05:30
Dawid Weiss 4eead83a83 SOLR-11200: A new CMS config option 'ioThrottle' to manually enable/disable ConcurrentMergeSchedule.doAutoIOThrottle. (Amrit Sarkar, Nawab Zada Asad iqbal) 2018-04-20 11:34:04 +02:00
Steve Rowe 46037dc674 SOLR-6286: TestReplicationHandler.doTestReplicateAfterCoreReload(): stop checking for identical commits before/after master core reload; and make non-nightly mode test 10 docs instead of 0. 2018-04-19 14:49:10 -04:00
noble 1c8ab330d6 SOLR-12142: EmbeddedSolrServer should use req.getContentWriter 2018-04-19 13:37:31 +10:00
Steve Rowe d09c76518a SOLR-12204: Upgrade commons-fileupload dependency to 1.3.3 to address CVE-2016-1000031 2018-04-18 19:28:55 -04:00
Mikhail Khludnev dbdedf3e3f SOLR-12155: making TestUnInvertedFieldException more thread-safe 2018-04-18 14:57:49 +03:00
Dennis Gove 8c60be4489 SOLR-11924: Updates solr/CHANGES.txt for v7.4 2018-04-17 18:58:42 -04:00
Cao Manh Dat 09db13f4f4 SOLR-12187: Replica should watch clusterstate and unload itself if its entry is removed 2018-04-17 20:16:31 +07:00
Erick Erickson a417a2cd6a SOLR-10169: PeerSync will hit an NPE on no response errors when looking for fingerprint. 2018-04-16 21:51:02 -07:00
Jason Gerlowski 7edfd9c410 SOLR-11840: Fix bin/solr help-text inconsistencies 2018-04-16 22:21:27 -04:00
David Smiley dad2d1076d SOLR-11731: revert to 7 decimal places so we can maintain the round-trip property.
Add test that we round-trip random numbers at 7 decimal places.  Would fail at 8.
2018-04-14 10:51:51 -04:00
Varun Thacker 93f9a65b1c SOLR-11724: Cdcr bootstrapping should ensure that non-leader replicas should sync with the leader 2018-04-13 15:38:26 -07:00
David Smiley e4eb8a870c SOLR-11731: one more decimal place (8) and we get the target/theoretical precision 2018-04-13 17:05:51 -04:00
jdyer1 12bd5f9448 SOLR-10513: Implement .equals() for LuceneLevenshteinDistance. 2018-04-13 11:12:46 -05:00
David Smiley 9a149ad7e7 SOLR-11913: SolrParams now implements Iterable<Map.Entry<String,String[]>>
and has stream()
2018-04-13 12:05:23 -04:00
Varun Thacker 2a2a0b6acd SOLR-12150: Fix a test bug in CdcrBidirectionalTest.testBiDir 2018-04-12 15:35:34 -07:00
David Smiley 3d5f2f24c3 SOLR-11336: DocBasedVersionConstraints URP is now more extensible; versionField is a list 2018-04-12 14:04:28 -04:00
Varun Thacker 7a57ca8c0d SOLR-12065: A successful restore collection should mark the shard state as active and not buffering 2018-04-12 08:20:28 -07:00
Cao Manh Dat 11d54b0cc4 SOLR-12214: Leader may skip publish itself as ACTIVE even its last published state is DOWN 2018-04-12 12:28:00 +07:00
yonik 8d20fc575b SOLR-12190: properly escape output in GraphMLResponseWriter 2018-04-11 23:00:03 -04:00
Tomas Fernandez Lobbe 8927d469cb SOLR-11982: Add support for indicating preferred replica types for queries 2018-04-11 16:23:00 -07:00
Andrzej Bialecki 376f6c4946 SOLR-12181: Add trigger based on document count / index size. 2018-04-11 15:38:54 +02:00
Steve Rowe fe0da9e8d5 SOLR-12201: TestReplicationHandler.doTestIndexFetchOnMasterRestart(): handle unexpected replication failures 2018-04-10 22:15:31 -04:00
Christine Poerschke e513c95377 SOLR-12151: Add abstract MultiSolrCloudTestCase class. 2018-04-10 21:09:06 +01:00
Christine Poerschke e8f862ea44 SOLR-12036: Factor out DefaultStreamFactory solrj class. 2018-04-10 20:45:58 +01:00
Mikhail Khludnev a39a6ce672 SOLR-12155: awake threads awaiting UIF.<init> despite of exception. 2018-04-10 21:32:25 +03:00
Mikhail Khludnev 764dcc336b SOLR-12207: rethowing AssertionError from jdk reflection bug 2018-04-10 20:34:07 +03:00
Mark Miller 5e2a5a5b8c SOLR-10783: Add support for Hadoop Credential Provider as SSL/TLS store password source. 2018-04-09 21:57:56 -05:00
David Smiley f0aed933a6 SOLR-12139: eq() now works on strings and perhaps anything 2018-04-09 12:17:48 -04:00
Ishan Chattopadhyaya ea08bd3b67 SOLR-12096: Fixed inconsistent results format of subquery transformer for distributed search (multi-shard) 2018-04-09 16:36:07 +05:30
Uwe Schindler 3530397f17 SOLR-11971: Add CVE number: CVE-2018-1308 2018-04-08 19:20:12 +02:00
Steve Rowe 5c37b07a3d SOLR-12199: TestReplicationHandler.doTestRepeater(): TEST_PORT interpolation failure: Server refused connection at: http://127.0.0.1:TEST_PORT/solr 2018-04-06 14:50:21 -04:00
Chris Hostetter 2573eac1c2 SOLR-12134: CHANGES entry: ref-guide 'bare-bones html' validation is now part of 'ant documentation' and validates javadoc links locally 2018-04-05 10:10:20 -07:00
Steve Rowe 8e276b90f5 SOLR-11929: UpdateLog metrics are not initialized on core reload 2018-04-04 11:19:21 -04:00
Cao Manh Dat 34b83ed869 SOLR-12176: Improve FORCELEADER to handle the case when a replica win the election but does not present in clusterstate 2018-04-04 03:41:57 +07:00
Varun Thacker 56f80c0dc7 SOLR-12154: Disallow explicit usage of Log4j2 logger via forbidden APIs 2018-04-03 18:21:14 -07:00
Steve Rowe b87cbc2f75 SOLR-12165: Ref Guide: DisMax default mm param value is improperly documented as 100% 2018-04-03 17:59:34 -04:00
Andrzej Bialecki a14980c479 SOLR-12095: AutoScalingHandler should validate triggers before updating zookeeper. 2018-04-03 15:59:50 +02:00
Jan Høydahl 0989e5874a SOLR-12144: SOLR_LOG_PRESTART_ROTATION now defaults to false, we leverage log4j2 for log rotation on startup 2018-04-03 13:10:20 +02:00
Tomas Fernandez Lobbe 2c1f110b6b SOLR-12172: Fixed race condition in collection properties 2018-04-02 15:56:25 -07:00
Erick ade301bd0d SOLR-9399: Delete requests do not send credentials & fails for Basic Authentication (CHANGES.txt) 2018-04-02 09:26:47 -07:00
Shalin Shekhar Mangar 8189e4f972 SOLR-12133: Fix race conditions that caused NodeMarkersRegistrationTest.testNodeMarkersRegistration to fail 2018-04-02 21:15:09 +05:30
Mikhail Khludnev 7a920cb0f6 SOLR-11673: Slave doesn't commit empty index if new index appears on master by deafult. 2018-04-01 16:47:23 +03:00
Shalin Shekhar Mangar bd85fd389f SOLR-12169: Fix ComputePlanActionTest.testSelectedCollections fails on jenkins by aggressively cleaning up trigger state left by other test methods in the test setup 2018-03-30 22:56:58 +05:30
Shalin Shekhar Mangar 85decabe46 SOLR-12133: Fix race conditions that caused TriggerIntegrationTest.testEventQueue to fail 2018-03-30 22:53:55 +05:30
Cao Manh Dat 35bfe89790 SOLR-12066: Cleanup deleted core when node start 2018-03-30 20:11:39 +07:00
Shalin Shekhar Mangar ed9e5eb75b SOLR-12152: Split up TriggerIntegrationTest into multiple tests to isolate and increase reliability 2018-03-30 11:08:56 +05:30
Andrzej Bialecki 7260d9ce71 SOLR-11882: SolrMetric registries retained references to SolrCores when closed. 2018-03-28 11:23:47 +02:00
Shalin Shekhar Mangar ab32506243 SOLR-10734: AtomicUpdateRequestProcessor can cause wrong/old values to be set under concurrent updates for the same document. Multithreaded test for AtomicUpdateRequestProcessor was also beefed up and fixed. 2018-03-28 12:40:57 +05:30
Tomas Fernandez Lobbe 3e29c7dbd5 SOLR-12035: edimax should include charfilters in nostopanalyzer
This closes #329
2018-03-27 21:37:19 -07:00
Uwe Schindler ade2cf2e74 SOLR-12141: Fix "bin/solr" shell scripts (Windows/Linux/Mac) to correctly detect major Java version and use numerical version comparison to enforce minimum requirements. Also remove obsolete "UseParNewGC" option. This allows to start Solr with Java 10 or later. 2018-03-27 22:49:23 +02:00
Shalin Shekhar Mangar 64c110c58d SOLR-10734: Fix Multithreaded test/support for AtomicURP 2018-03-27 15:05:23 +05:30
Cao Manh Dat 160faaf594 SOLR-12146: LIR should skip deleted replicas 2018-03-27 15:55:43 +07:00
Varun Thacker bd429347b1 SOLR-7887: Log4J2 upgrade fixes part 2 2018-03-26 16:09:04 -07:00
Varun Thacker bea6e2307b SOLR-7887: Log4J2 upgrade fixes 2018-03-26 11:32:03 -07:00
Erick Erickson 624d128b5e SOLR-7887: Upgrade Solr to use log4j2 -- log4j 1 now officially end of life 2018-03-25 19:16:09 -07:00
Jason Gerlowski c4abbfd5f7 SOLR-11551: Standardize CoreAdmin API status codes 2018-03-24 10:48:15 -04:00
Noble Paul e364f5be31 SOLR-12015: fixed typo in CHANGES.txt 2018-03-23 13:52:25 +11:00
Noble Paul e340cef68d SOLR-12015: Add support "add-distinct" in AtomicURP so that we can use the 'add-distict' as a request parameter e.g: atomic.add-distict=<multival-field-name> 2018-03-23 13:48:28 +11:00
Cao Manh Dat 92f1cdebfa SOLR-12087: Deleting replicas sometimes fails and causes the replicas to exist in the down state 2018-03-22 16:11:47 +07:00
Cao Manh Dat 63a145aa7b SOLR-12129: After the core is reloaded, term of the core will not be watched 2018-03-21 09:35:51 +07:00
Chris Hostetter 8bd7e5c9d2 SOLR-11891: DocStreamer now respects the ReturnFields when populating a SolrDocument
This is an optimization that reduces the number of unneccessary fields a ResponseWriter will see if documentCache is used

This commit also includes fixes for SOLR-12107 & SOLR-12108 -- two bugs that were previously dependent on the
un-optimized behavior of DocStreamer in order to function properly.

- SOLR-12107: Fixed a error in [child] transformer that could ocur if documentCache was not used
- SOLR-12108: Fixed the fallback behavior of [raw] and [xml] transformers when an incompatble 'wt' was specified,
  the field value was lost if documentCache was not used.
2018-03-19 12:28:54 -07:00
Chris Hostetter d6ed71b5c4 SOLR-12118: Solr Ref-Guide can now use some ivy version props directly as attributes in content 2018-03-19 10:13:34 -07:00
Andrzej Bialecki fa03a3843c SOLR-11670 This functionality was added in 7.4 and not in 7.3.0. 2018-03-19 11:27:09 +01:00
Uwe Schindler 6eac67fe56 Fix changes 2018-03-18 11:47:48 +01:00
Uwe Schindler ec9bc024e9 SOLR-11331: Ability to run and debug standalone Solr and a single node SolrCloud server from Eclipse. Also being able to run all Lucene and Solr tests as a configuration 2018-03-18 11:43:51 +01:00
markrmiller c98ab259c5 SOLR-12101: ZkTestServer was not handling connection timeout settings properly. 2018-03-17 12:36:48 -05:00
David Smiley 4b08efcf1c SOLR-11731: LatLonPointSpatialField now supports docValue retrieval
Closes #323
2018-03-17 12:21:53 -04:00
Cao Manh Dat be8dca3c7b SOLR-12110: Replica which failed to register in Zk can become leader 2018-03-17 06:54:55 +07:00
Varun Thacker 77954fe90a SOLR-12063: Fix the Jira number mentioned against the changes entry for this fix 2018-03-16 14:07:39 -07:00
Varun Thacker c4d0223ad4 SOLR-12083: Fix PeerSync, Leader Election failures and CDCR checkpoint inconsistencies on a cluster running CDCR 2018-03-16 14:03:48 -07:00
Shalin Shekhar Mangar 4c8825b6c6 SOLR-12097: Document the diskType policy attribute and usage of disk space in Collection APIs 2018-03-16 23:38:35 +05:30
markrmiller 7330010e1d SOLR-12103: Raise CryptoKeys.DEFAULT_KEYPAIR_LENGTH from 1024 to 2048. 2018-03-16 11:50:52 -05:00
Shalin Shekhar Mangar d50890e925 SOLR-12098: Document the Lucene spins auto-detection and its effect on CMS dynamic defaults 2018-03-15 23:06:52 +05:30
Andrzej Bialecki 0dfe19880c SOLR-12091: Rename TimeSource.getTime to getTimeNs. 2018-03-15 16:54:41 +01:00
Ishan Chattopadhyaya fbdf7fa736 SOLR-11920: Differential file copy for IndexFetcher 2018-03-15 19:31:15 +05:30
Shalin Shekhar Mangar 759b0d092f SOLR-12099: Remove reopenReaders attribute from 'IndexConfig in SolrConfig' page in ref guide 2018-03-15 18:19:42 +05:30
Shalin Shekhar Mangar cb453ce110 SOLR-12078: Fixed reproducable Failure in TestReplicationHandler.doTestIndexFetchOnMasterRestart that happened due to using stale http connections 2018-03-15 02:22:25 +05:30
Varun Thacker 57524f1d41 SOLR-12083: Fix RealTime GET to work on a cluster running CDCR when using Solr's in-place updates 2018-03-14 12:58:30 -07:00
Shalin Shekhar Mangar 941351a5c2 SOLR-12090: Move DistribStateManager, NodeStateProvider and SolrCloudManager interfaces out of the autoscaling package 2018-03-14 16:29:56 +05:30
Shalin Shekhar Mangar 9de0ebe797 SOLR-12086: Fix format problem in FastLRUCache description string shown on Cache Statistics page 2018-03-14 10:26:45 +05:30
David Smiley e9393e88fd SOLR-12081: improve docs on query parsing RE embedded queries, uf 2018-03-13 16:01:57 -04:00
Cassandra Targett 179421bfea SOLR-12058: Add 7.3 Upgrade Notes to Ref Guide; clarify LIR changes for CHANGES Upgrade Notes 2018-03-13 10:38:25 -05:00
yonik 68d8eb4504 SOLR-12064: resize reused accs to fix bugs with limit:-1 and missing:true 2018-03-12 21:56:02 -04:00
Varun Thacker 2a0b7767ab SOLR-12076: Remove unnecessary printLayout usage in CDCR tests 2018-03-12 11:07:39 -07:00
David Smiley bf6503ba58 SOLR-11617: rename alias metadata to properties 2018-03-12 10:36:37 -04:00
Alan Woodward 1f68a3375d Update versions 2018-03-12 09:26:14 +00:00
Mikhail Khludnev fa55f0c2f2 SOLR-9510: introducting {!filter param=$fq excludeTags=t,q}foo:bar, also adding
filters and excludeTags local params into {!parent} and {!child}
2018-03-11 08:25:05 +03:00
Jason Gerlowski 971bd26df6 SOLR-11629: Add new CloudSolrClient.Builder ctors
CloudSolrClient.Builder can be pointed at a Solr cluster in two ways: a
ZK connection string, or one or more Solr base URLs.  One of these two
values must be provided to create a working CloudSolrClient.

Since these values are required, this commit introduces two new ctors,
one for each means of CloudSolrClient setup.  It deprecates the existing
no-arg CloudSolrClient ctor.

Together, these changes make it clearer to our users that these options
are required (and mutually exclusive).
2018-03-10 10:45:43 -05:00
Shalin Shekhar Mangar 2eeed51cdf SOLR-12077: Add support for autoAddReplicas in the collection creation dialog in Admin UI 2018-03-10 06:44:51 +05:30
Shalin Shekhar Mangar f0d46ead45 SOLR-12067: Increase autoAddReplicas default 30 second wait time to 120 seconds 2018-03-10 05:59:16 +05:30
Cao Manh Dat 4c2703e8be SOLR-12051: Update upgrade notes 2018-03-09 19:35:26 +07:00
Cao Manh Dat 423a8cf69c SOLR-12051: Election timeout when no replicas are qualified to become leader 2018-03-09 18:19:09 +07:00
Erick 7dfb04ee5e SOLR-12072: Invalid path string using ZkConfigManager.copyConfigDir(String fromConfig, String toConfig) 2018-03-08 22:00:16 -08:00
David Smiley 588e19eda1 SOLR-11976: TokenizerChain.normalize was only considering the first MultiTermAwareComponent 2018-03-08 22:30:39 -05:00
Andrzej Bialecki b17052e852 SOLR-11670: Implement a periodic house-keeping task. 2018-03-08 14:31:40 +01:00