Commit Graph

32352 Commits

Author SHA1 Message Date
Christine Poerschke 6574ae63d4 SOLR-13240: Fixed UTILIZENODE action resulting in IllegalArgumentException.
(Hendrik Haddorp, Richard Goodman, Tim Owen, shalin, noble, Christine Poerschke)
2019-09-06 12:36:33 +01:00
David Smiley c8203e4787 SOLR-13728: fail partial updates to child docs when not supported. 2019-09-05 23:16:55 -04:00
Chris Hostetter 2552986e87 LUCENE-8917: Fix Solr's TestCodecSupport to stop trying to use the now-removed Direct docValues format 2019-09-05 12:11:49 -07:00
Atri Sharma 106ae969e0 Harden Up TestDiversifiedTopDocsCollector (#858)
TestDiversifiedTopDocsCollector.testInvalidArguments should check for
exceptions and corresponding messages, post LUCENE-8905
2019-09-05 19:31:10 +02:00
Adrien Grand 3ad6e4f0bc LUCENE-8956: QueryRescorer now only sorts the first topN hits instead of all initial hits. 2019-09-05 19:28:08 +02:00
Adrien Grand e1c4742abf Revert "LUCENE-8956: QueryRescorer now only sorts the first topN hits instead of all initial hits."
This reverts commit fd3ae87805.
2019-09-05 16:59:37 +02:00
Atri Sharma 02792de0e5 LUCENE-8905: Better Error Handling For Illegal Arguments (#769) 2019-09-05 16:14:34 +02:00
Adrien Grand 78b6530fb2 LUCENE-8917: Fix test failure. 2019-09-05 11:27:18 +02:00
Adrien Grand ec0acf9984 LUCENE-8917: Add MIGRATE entry. 2019-09-05 11:09:24 +02:00
Adrien Grand 2a0c7a932a LUCENE-8917: Remove the Direct doc-values format. 2019-09-05 11:07:42 +02:00
Atri Sharma 4d82665625 LUCENE-8939: Introduce Shared Count Early Termination In Parallel Search (#823)
This commit introduces a strategy to early terminate for sorted
collections during parallel search when requested number of
hits have been collected but the total hits threshold has not
yet been reached.
2019-09-05 10:07:59 +02:00
Atri Sharma a3cb9cb324 LUCENE-8942: Tighten Up LRUQueryCache's Methods (#816) 2019-09-05 09:37:09 +02:00
Adrien Grand fd3ae87805 LUCENE-8956: QueryRescorer now only sorts the first topN hits instead of all initial hits. 2019-09-05 09:12:24 +02:00
mariemat 52d74d4ead LUCENE-8910 upgrade to icu 62.1 must be completed (#775) 2019-09-05 08:51:24 +02:00
Megan Carey 8c796b5f46 SOLR-13727: Bug fix for V2Request handling in HttpSolrClient
Using regex to validate baseUrl and replace path for V2Requests

 Changed to using Java.net.URL for validation + path replacement
2019-09-04 22:14:15 -04:00
Christine Poerschke 5204d0f963 SOLR-13736: reduce code duplication in TestPolicy.testNodeLostMultipleReplica 2019-09-04 15:51:36 +01:00
Christine Poerschke 6f12075e9a SOLR-13733: add class-level javadocs for 4 org.apache.solr.metrics classes 2019-09-04 15:50:41 +01:00
Adrien Grand 26804a069b
LUCENE-8150: Remove references to `segments.gen`. (#765)
This file isn't used anymore since 4.0, so I tried to contain references to
`segments.gen` to the minimum that is required to get the right exception when
opening a too old index.
2019-09-04 09:51:27 +02:00
Chris Hostetter e2208332e5 Harden SimpleMLTQParserTest
replace implicit assumption about default index order with explicit assumption about uniqueKey order, to prevent spurious failures when concurrent out of order merges take place
2019-09-03 21:24:43 -07:00
Chris Hostetter d1a4d13525 CHANGES fixup: SOLR-13709 -> SOLR-13717 2019-09-03 11:23:08 -07:00
Chris Hostetter 83cd54f801 SOLR-13709: Fixed distributed grouping when multiple 'fl' params are specified 2019-09-03 11:01:58 -07:00
Ignacio Vera 5cbb33fa28
LUCENE-8960: Add LatLonDocValuesPointInPolygonQuery (#851) 2019-09-03 09:45:58 +02:00
Tomoko Uchida 1862ffd6a4 SOLR-13690: Fix test resource. 2019-09-02 09:14:45 +09:00
Erick Erickson 31c661f2db SOLR-13729: Add the caution that schemaless is not suitable for production to the 'Schemaless Mode' section of the ref guide 2019-09-01 09:57:23 -04:00
Erick Erickson 742218d7ba Merge branch 'SOLR-13729' 2019-09-01 09:54:45 -04:00
Erick Erickson 0ad1684dfc SOLR-13729: Add the caution that schemaless is not suitable for production to the 'Schemaless Mode' section of the ref guide 2019-09-01 09:54:19 -04:00
Tomoko Uchida 8c12433791 LUCENE-8778: Fix (uncapitalize) SPI names. 2019-09-01 20:08:40 +09:00
Tomoko Uchida 66d7dffc79 SOLR-13691: Add example field type configurations using name attributes to Ref Guide 2019-09-01 01:32:10 +09:00
Tomoko Uchida 77c1ed7d16 SOLR-13690: Migrate field type configurations in default/example schema files to look up factories by 'name' 2019-08-31 23:06:32 +09:00
Amish Shah ea67d9c8c6 LUCENE-8758 Remove unused fields in QuadPrefixTree 2019-08-30 10:14:27 -04:00
Jan Høydahl 52be32d4ad SOLR-13122: Ability to query aliases in Solr Admin UI 2019-08-30 14:16:58 +02:00
Mikhail Khludnev 6dea678439 SOLR-13720: BlockJoinParentQParser.getCachedFilter made public 2019-08-29 17:37:48 +03:00
Jason Gerlowski 319cb005d3 SOLR-13539: Introduce EmbeddedSolrServerTestBase
This groundwork commit allows tests to randomize request content-type
more flexibly.  This will be taken advantage of by subsequent commits.

Co-Authored-By: Thomas Woeckinger
Closes: #755
2019-08-29 09:52:46 -04:00
Ishan Chattopadhyaya f27665198a SOLR-13718: A more targeted fix for SPLITSHARD, thereby avoiding Backup/Restore test failures 2019-08-29 17:27:40 +05:30
Tomoko Uchida 43d489cb4a SOLR-13593: Add SPI for ReversedWildcardFilterFactory 2019-08-29 15:01:46 +09:00
Marcus b37d92bfee SOLR-13649 change the default behavior of the basic authentication plugin. (#805)
SOLR-13649: Property 'blockUnknown' of BasicAuthPlugin and JWTAuthPlugin now defaults to 'true'. This change is backward incompatible. To achieve the previous default behavior, explicitly set 'blockUnknown':'false' in security.json
2019-08-29 10:57:50 +05:30
Ishan Chattopadhyaya a8d5bd34bf SOLR-13718: SPLITSHARD (async) with failures in underlying sub-operations can result in data loss
When SPLITSHARD is issued asynchronously, any exception in a sub-operation isn't propagated and the overall
  SPLITSHARD task proceeds as if there were no failures. This results in marking the active parent shard inactive
  and can result in two empty sub-shards, thus causing data loss.
2019-08-29 10:04:08 +05:30
Noble Paul cf21340294
SOLR-13723: JettySolrRunner should support /api/* (the v2 end point) 2019-08-29 14:01:52 +10:00
Tomoko Uchida 62f55c073c LUCENE-8957: Update examples in CustomAnalyzar Javadocs 2019-08-28 17:59:53 +09:00
noble 54bd950819 formatting 2019-08-28 14:34:35 +10:00
Anshum Gupta 0c9ec35f88
SOLR-13257: Cleanup code and make the AffinityReplicaTransformer constructors private (#848)
SOLR-13257: Cleanup code and make the constructors private as the constructor is supposed to be called via the static getInstance method.
2019-08-27 16:27:20 -07:00
Tomas Fernandez Lobbe 7b589ad769 SOLR-13542: Move CHANGES entry to 8.3. Added contributor 2019-08-27 15:15:43 -07:00
Tomas Fernandez Lobbe eb44ad324d LUCENE-8954: Fix precommit 2019-08-27 13:34:31 -07:00
Tomas Fernandez Lobbe 00f4bbe6fc
Merge pull request #717 from KoenDG/SOLR-13542
SOLR-13542: Code cleanup - Avoid using stream filter count where possible
2019-08-27 11:37:39 -07:00
noble ea940347a7 SOLR-13650 : test jars recompiled with jdk8 2019-08-27 14:58:53 +10:00
noble 764747e8b2 SOLR-13710: Persist package jars locally & expose them over http at /api/node/blob 2019-08-27 14:08:17 +10:00
Noble Paul e23c50b2a8
SOLR-13710: Persist package jars locally & expose them over http 2019-08-27 14:04:42 +10:00
noble 7e5c071c08 SOLR-13721: TestApiFramework#testFramework failing in master consistently 2019-08-27 12:01:23 +10:00
KoenDG e2a285b6df Code changes and CHANGES.txt editted.
The majority of the code seems to already be using anyMatch and noneMatch logic, these few remaining instances were using count() and comparing the result to 0.
This changes everything to anyMatch and noneMatch, which is also potentially more performant.

Extra newline.
2019-08-26 22:16:20 +02:00
Namgyu Kim a9607b2a88
LUCENE-8954: refactor Nori analyzer
Signed-off-by: Namgyu Kim <namgyu@apache.org>
2019-08-27 03:09:03 +09:00