Commit Graph

5278 Commits

Author SHA1 Message Date
Ishan Chattopadhyaya a1a8b2864e SOLR-9513: Generic Hadoop authentication plugins, GenericHadoopAuthPlugin and ConfigurableInternodeAuthHadoopPlugin 2016-12-19 20:45:04 +05:30
yonik c9522a3936 SOLR-9712: block when maxWarmingSearchers is exceeded instead of throwing exception, default to 1, remove from most configs 2016-12-16 11:46:48 -05:00
Joel Bernstein 1c2eabd4e9 SEARCH-8593: Add tests from the HavingStream 2016-12-16 11:27:56 -05:00
Kevin Risden 6c0cafedac Merge branch 'apache-https-master' into jira/solr-8593 2016-12-15 15:34:57 -06:00
Joel Bernstein 37fdc37fc3 SOLR-8593: Refactoring and adding aggregationMode=facet methods 2016-12-15 16:12:08 -05:00
Chris Hostetter 6525bb56f0 SOLR-8959: Refactored TestSegmentSorting out of TestMiniSolrCloudCluster 2016-12-14 13:18:56 -07:00
Varun Thacker 512374384a SOLR-9844: Display fc total size only when field entries asked for 2016-12-14 10:52:26 -08:00
markrmiller 7dec783b28 SOLR-9846: OverseerAutoReplicaFailoverThread can take too long to stop and leak out of unit tests. 2016-12-14 12:57:21 -05:00
markrmiller e82399d067 SOLR-1953: It may be possible for temporary files to accumulate until the Solr process is shut down. 2016-12-14 11:16:50 -05:00
Erick 8c79ab2649 SOLR:9823: CoreContainer incorrectly setting MDCLoggingContext for core 2016-12-12 18:43:30 -08:00
Varun Thacker fecbbe081f SOLR-9707: Don't forward DeleteByQuery requests to down replicas 2016-12-12 15:28:22 -08:00
Varun Thacker 39ba13046b SOLR-9844: Improve FieldCache usage api response formatting and show total size information 2016-12-12 12:46:57 -08:00
Erick Erickson d75abe1a30 SOLR-9843: Fix up DocValuesNotIndexedTest failures. Debugging code 2016-12-10 14:03:15 -08:00
yonik 1d2e440a8f SOLR-9837: fix redundant calculation of docsWithField for numeric fields in field cache 2016-12-08 18:29:07 -05:00
markrmiller 1055209940 SOLR-9834: A variety of spots in the code can create a collection zk node after the collection has been removed. 2016-12-08 12:03:55 -05:00
Christine Poerschke bfc3690d52 SOLR-8542: couple of tweaks (Michael Nilsson, Diego Ceccarelli, Christine Poerschke)
* removed code triplication in ManagedModelStore
* LTRScoringQuery.java tweaks
* FeatureLogger.makeFeatureVector(...) can now safely be called repeatedly (though that doesn't happen at present)
* make Feature.FeatureWeight.extractTerms a no-op; (OriginalScore|SolrFeature)Weight now implement extractTerms

* LTRThreadModule javadocs and README.md tweaks

* add TestFieldValueFeature.testBooleanValue test; replace "T"/"F" magic string use in FieldValueFeature
* add TestOriginalScoreScorer test; add OriginalScoreScorer.freq() method
* in TestMultipleAdditiveTreesModel revive dead explain test
2016-12-07 20:46:42 +00:00
yonik ca5e736db1 SOLR-9822: speed up single-valued string fieldcache counting in dv facet processor 2016-12-07 11:09:55 -05:00
Chris Hostetter 8b98b158ff SOLR-5043: New solr.dns.prevent.reverse.lookup system property that can be used to prevent long core (re)load delays on systems with missconfigured hostname/DNS 2016-12-06 14:47:03 -07:00
Steve Rowe bf3a3137be SOLR-9832: Schema modifications are not immediately visible on the coordinating node 2016-12-06 13:11:36 -05:00
Ishan Chattopadhyaya e64bcb37ff SOLR-9616 Solr throws exception when expand=true on empty index 2016-12-01 00:46:58 +05:30
Christine Poerschke a7fa920b52 SOLR-9660: in GroupingSpecification factor [group](sort|offset|limit) into [group](sortSpec) (Judith Silverman, Christine Poerschke) 2016-11-29 22:15:30 +01:00
Andrzej Bialecki 590d31f311 SOLR-9768 RecordingJsonParser produces incomplete json (Wojciech Stryszyk via ab) 2016-11-29 21:12:49 +01:00
Christine Poerschke 02c687758e SOLR-9783: (Search|Top)Group[s]ShardResponseProcessor.process: turned sortWithinGroup null check into assert.
Also sort.equals tweak in (grouping) QueryCommand.create method.
2016-11-29 14:37:12 +01:00
Noble Paul 70b358960d SOLR-9546: remove unnecessary boxing 2016-11-29 18:02:59 +05:30
Kevin Risden 05a6170d12 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-28 11:26:16 -06:00
Tommaso Teofili c36ec0b75e SOLR-8871 - removed suppress for forbidden API, added locale to toUpperCase 2016-11-28 09:22:36 +01:00
Erick Erickson 500c2befe9 SOLR-5260: Faceting on a field in SolrCloud with docValues=true and indexed=false fails, test fix 2016-11-26 22:12:16 -08:00
Erick Erickson e4733f696e SOLR-5260: Faceting on a field in SolrCloud with docValues=true and indexed=false fails, test fix 2016-11-26 22:11:30 -08:00
Erick Erickson ca6626604b SOLR-5260: Faceting on a field in SolrCloud with docValues=true and indexed=false fails 2016-11-26 12:36:57 -08:00
Noble Paul 23921064e9 SOLR-9784: deprecated uploadconfig 2016-11-26 12:54:48 +05:30
Shalin Shekhar Mangar eded69ba8f SOLR-9433: Ignore testDeleteInstanceDirAfterCreateFailure on windows 2016-11-26 01:01:22 +05:30
David Smiley 9b4b120aba fix bad xml processing instruction placement 2016-11-24 22:24:35 -05:00
David Smiley 4314c51c66 SOLR-9708: Added UnifiedSolrHighlighter. Added hl.method=original|fastVector|postings|unified 2016-11-24 19:36:07 -05:00
Tommaso Teofili a4573fe7f4 SOLR-8871 - added suppress forbidden for toUpperCase usage 2016-11-25 01:12:03 +01:00
Tommaso Teofili 96489d2384 SOLR-8871 - adjusted header positioning 2016-11-24 23:46:20 +01:00
Tommaso Teofili 5ad741eef8 SOLR-8871 - various improvements to ClassificationURP 2016-11-24 23:43:57 +01:00
Noble Paul 41d7b24574 SOLR-9721: javabin Tuple parser for streaming and other end points 2016-11-24 09:00:21 +05:30
Shalin Shekhar Mangar f8fa2e998d SOLR-8785: Use per-second rates for consistency in all stats outputs 2016-11-23 23:20:48 +05:30
Shalin Shekhar Mangar dab2e24656 SOLR-8785: Convert rates to be per minute from the default per second rates reported by the metrics library 2016-11-23 23:11:36 +05:30
yonik 7e6e68900b SOLR-9786: set filter for join query parser 2016-11-22 22:44:25 -05:00
yonik 3b4cc1bd1f SOLR-9786: set filter flag for more parsers 2016-11-22 16:30:08 -05:00
yonik bf9db95f21 SOLR-9786: FieldType.getSetQuery, QParser.flags/isFilter, solr query parser use getSetQuery when appropriate and other optimizations 2016-11-22 12:33:20 -05:00
Shalin Shekhar Mangar ff6da66601 SOLR-8785: Use Dropwizard Metrics library for core metrics 2016-11-22 14:37:33 +05:30
Kevin Risden de3ba418a5 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-21 16:39:06 -06:00
Kevin Risden 750cf6d7a5 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-18 10:42:14 -06:00
Christine Poerschke f42cc2a8c3 SOLR-9782: for json.nl expand test coverage and comments w.r.t. NamedList(null=null) 2016-11-18 15:57:35 +00:00
Alan Woodward 157c0bca92 Log root cause error when directories can't be deleted on core unload 2016-11-18 13:45:29 +00:00
yonik 738198ef34 SOLR-9772: reuse comparator when deriving fieldSortValues 2016-11-17 10:56:37 -05:00
Erick Erickson e402a304bf SOLR-9606: Change hard-coded keysize from 512 to 1024 2016-11-16 13:33:18 -08:00
markrmiller 53a0748f43 SOLR-9284: Reduce off heap cache size. 2016-11-16 10:11:41 -05:00
Kevin Risden bda84d8442 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-15 21:14:16 -06:00
markrmiller 358c164620 SOLR-9284: Reduce off heap cache size and fix test asserts. 2016-11-15 11:05:41 -05:00
Kevin Risden 3c62f81b79 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-15 09:40:50 -06:00
markrmiller 0325722e67 SOLR-9284: The HDFS BlockDirectoryCache should not let it's keysToRelease or names maps grow indefinitely. 2016-11-15 05:18:35 -05:00
Shalin Shekhar Mangar 0d290ae136 SOLR-9736: Solr resolves the collection name against the first available leader or first replica of the first slice 2016-11-15 14:18:43 +05:30
Shalin Shekhar Mangar 487b0976eb SOLR-9366: Limit memory consumed by FastLRUCache with a new 'maxRamMB' config parameter 2016-11-15 10:59:58 +05:30
Steve Rowe 76b439a0bd SOLR-9751: PreAnalyzedField can cause managed schema corruption 2016-11-14 19:17:57 -05:00
Kevin Risden 6da7e7b0b1 Merged Cao Manh Dat changes 2016-11-14 10:56:02 -06:00
Kevin Risden 99a6746011 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-14 10:06:29 -06:00
Erick Erickson 4a31b29cb0 SOLR-9166: Export handler returns zero for numeric fields that are not in the original doc 2016-11-14 07:19:28 -08:00
Kevin Risden c3400e8a2e Merge branch 'apache-https-master' into jira/solr-8593 2016-11-10 16:15:06 -05:00
Christine Poerschke 6c25adb119 SOLR-8332: Factor HttpShardHandler[Factory]'s url shuffling out into a ReplicaListTransformer class.
(Christine Poerschke, Noble Paul)
2016-11-09 09:46:14 +00:00
yonik 11840469d9 SOLR-9740: fix macro expansion of multi-valued parameters 2016-11-08 18:09:43 -05:00
yonik b02e7a902e SOLR-9038: add snapshotscli.sh and supporting code 2016-11-08 13:28:35 -05:00
yonik cfcf4081fc SOLR-9519: recurse sub-facets of empty buckets if they can widen domain again 2016-11-08 12:10:53 -05:00
Noble Paul 46fad72a9b Merge remote-tracking branch 'origin/master' 2016-11-08 20:06:58 +05:30
Noble Paul bb25214d44 SOLR-9739: JavabinCodec implements PushWriter interface 2016-11-08 20:06:28 +05:30
Christine Poerschke a61286134a Remove not actually needed JSONWriter.writeArray override. 2016-11-08 13:29:45 +00:00
Christine Poerschke f203c7c816 QueryComponent.mergeIds tweak to local 'queue' variable. 2016-11-08 11:41:49 +00:00
Noble Paul 6abfad0234 SOLR-9717: Refactor '/export' to not hardcode the JSON output and to use an API 2016-11-08 16:37:46 +05:30
Noble Paul ef074a61f8 SOLR-9717: Refactor '/export' to not hardcode the JSON output and to use an API 2016-11-08 16:37:08 +05:30
Christine Poerschke cbf8235e57 SOLR-9726: Reduce number of lookupOrd calls made by the DocValuesFacets.getCounts method. (Jonny Marks via Christine Poerschke) 2016-11-07 16:06:25 +00:00
yonik 4b3e7f2fe2 SOLR-9682: add param query type to facet filter 2016-11-05 15:24:57 -04:00
Shalin Shekhar Mangar 1f1990d8be SOLR-9716: RecoveryStrategy sends prep recovery command without setting read time out which can cause replica recovery to hang indefinitely on network partitions 2016-11-05 12:46:42 +05:30
Christine Poerschke 358bdd490b SOLR-9720: tweak JSONWriter.writeArray 2016-11-04 20:20:50 +00:00
markrmiller 1381dd9287 SOLR-9055: Make collection backup/restore extensible.
- Introduced a parameter for the Backup operation to specify index backup strategy.
- Introduced two strategies for backing up index data.
  - One using core Admin API (BACKUPCORE)
  - Other skipping the backup of index data altogether. This is useful when
    the index data is copied via an external mechanism in combination with named
    snapshots (Please refer to SOLR-9038 for details)
  - In future we can add additional implementations of this interface (e.g. based on HDFS snapshots etc.)
- Added a backup property to record the Solr version. This helps to check the compatibility
  of backup with respect to the current version during the restore operation. This
  compatibility check is not added since its unclear what the Solr level compatibility guidelines
  are. But at-least having version information as part of the backup would be very useful.
2016-11-04 10:41:52 -04:00
Kevin Risden 1489fb936f Merge branch 'apache-https-master' into jira/solr-8593 2016-11-03 19:04:31 -05:00
Kevin Risden cd9a318318 Improve rules for Sort and Filter 2016-11-03 19:03:20 -05:00
Joel Bernstein 84171ecada Remove spurious imports 2016-11-03 18:47:50 -04:00
Kevin Risden 4275bc7124 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-03 10:23:30 -05:00
Kevin Risden 0188345e84 Make SQLHandlerStream extend JDBCStream 2016-11-03 10:22:20 -05:00
Shalin Shekhar Mangar 78b768f2a4 SOLR-9720: Fix for JSONWriterTest 2016-11-03 20:21:13 +05:30
Kevin Risden 5f3b4237e0 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-03 09:40:29 -05:00
jdyer1 213a2a1791 SOLR-5344: relax the test requirements for estimated hit counts 2016-11-03 08:38:59 -05:00
Noble Paul 1f595a20a2 SOLR-9720: Refactor Responsewriters to remove dependencies on TupleStream, Tuple, Explanation 2016-11-03 14:28:15 +05:30
Noble Paul 940a337105 close() not implemented 2016-11-03 14:09:34 +05:30
jdyer1 4a12a260a8 Revert "SOLR-9710: fix test bug"
This reverts commit be772dbd48.
2016-11-02 16:06:27 -05:00
jdyer1 be772dbd48 SOLR-9710: fix test bug 2016-11-02 10:07:55 -05:00
Christine Poerschke d0e32f3e5c SOLR-9709: add json.nl=map example comment, expand json.nl test coverage. 2016-11-02 12:30:40 +00:00
Kevin Risden 28fb5855f4 Upgrade Avatica and Calcite. Fix NPE bug 2016-11-01 11:19:48 -05:00
Alan Woodward b6ff3fdace Add some debugging to HdfsRecoveryZkTest 2016-11-01 16:10:58 +00:00
yonik 359f981b0e SOLR-9681: move "filter" inside "domain" block 2016-11-01 12:01:04 -04:00
Kevin Risden 3856ce4b5c Merge branch 'apache-https-master' into jira/solr-8593 2016-11-01 10:58:30 -05:00
Jan Høydahl 4383bec84c SOLR-9481: Clearing existing global interceptors on HttpClientUtil to avoid user/pass leaks from other tests 2016-11-01 15:38:21 +01:00
Shalin Shekhar Mangar 5120816377 OLR-9433: SolrCore clean-up logic uses incorrect path to delete dataDir on failure to create a core 2016-11-01 14:32:46 +05:30
Kevin Risden b2fe7a4945 Merge branch 'apache-https-master' into jira/solr-8593 2016-10-31 10:14:31 -05:00
Christine Poerschke 87c6ec4cb0 SOLR-9442: Adds Array of NamedValuePair (json.nl=arrnvp) style to JSONResponseWriter. (Jonny Marks, Christine Poerschke) 2016-10-31 11:19:39 +00:00
Jan Høydahl dbc2bc7ce8 SOLR-9481: Uppering debug level on the failing test and inserting extra logging. Also throw instead of swallow in case of problems parsing local security.json file 2016-10-31 00:57:34 +01:00
Erick Erickson 42eab7035e SOLR-9701: NPE in export handler when fl parameter is omitted. 2016-10-29 19:47:21 -07:00
yonik 0f8802ba20 SOLR-9704: optimization: use filters after blockChildren for acceptDocs 2016-10-29 20:43:54 -04:00
yonik d8d3a8b9b8 SOLR-9681:tests: add filter after block join test 2016-10-29 17:34:05 -04:00
yonik 650276e14b SOLR-9681: add filters to any facet command 2016-10-29 14:54:19 -04:00
David Smiley 2e21511cd3 SOLR-9621: Remove several Guava & Apache Commons calls in favor of java 8 alternatives. 2016-10-28 17:18:58 -04:00
Kevin Risden 01f0ef4cbe Merge branch 'apache-https-master' into jira/solr-8593 2016-10-28 10:29:33 -05:00
Alan Woodward 3b49705c43 SOLR-9132: Don't require indexInfo from corestatus over reloads 2016-10-28 15:17:53 +01:00
Alan Woodward cff2774a37 SOLR-9132: Fix test bug 2016-10-28 14:29:57 +01:00
Alan Woodward b6e0ab0174 SOLR-9132: Fix precommit 2016-10-28 14:07:51 +01:00
Jan Høydahl 1f06411946 SOLR-9481: Try to fix flaky test error by removing unnecessary initCore() in @Before method 2016-10-28 15:04:49 +02:00
Alan Woodward f56d111adf SOLR-9132: Cut over some collections API and recovery tests 2016-10-28 10:33:21 +01:00
Kevin Risden 4f794d0d4a Use avatica-core 1.9.0-SNAPSHOT for dependency issues 2016-10-28 00:58:30 -05:00
Noble Paul c8906b2f2d Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-10-28 08:25:26 +05:30
Noble Paul e6ce903a76 SOLR-8146: removing the unused class 2016-10-28 08:19:55 +05:30
Kevin Risden 073fecfa53 Update Calcite rules 2016-10-27 16:58:56 -05:00
Jan Høydahl fa4e599d1d SOLR-9610: Fix typo in usage for assertTool timeout option. use --timeout instead of --ms 2016-10-27 23:41:43 +02:00
Kevin Risden 34d889f255 Fix metadata handling 2016-10-27 16:17:10 -05:00
Kevin Risden 6e4924cbfc Update dependencies and fix minor errors 2016-10-27 15:54:58 -05:00
Kevin Risden 1cd8da9863 Merge branch 'apache-https-master' into jira/solr-8593 2016-10-27 15:08:46 -05:00
Kevin Risden 285bbf0127 Fix metadata handling 2016-10-27 15:08:30 -05:00
Adrien Grand af60048097 LUCENE-7429: AnalyzerWrapper can now wrap the normalization analysis chain too. 2016-10-27 16:27:45 +02:00
Shalin Shekhar Mangar 2172f3e008 SOLR-1085: Add support for MoreLikeThis queries and responses in SolrJ client 2016-10-27 17:41:25 +05:30
Joel Bernstein d215f9e568 SOLR-9533: Fix precommit 2016-10-26 20:19:40 -04:00
Joel Bernstein 727bf559a0 SOLR-9559: Add ExecutorStream to execute stored Streaming Expressions 2016-10-26 20:19:40 -04:00
Joel Bernstein 2ee723140c SOLR-9533: Reload core config when a core is reloaded 2016-10-26 20:19:40 -04:00
yonik 53507b4e79 SOLR-9654: tests: fix overrequest test by fixing doc->shard mapping 2016-10-26 18:35:09 -04:00
yonik e4483607a5 SOLR-9654: tests: temporarily disable overrequest code 2016-10-26 17:53:00 -04:00
Jan Høydahl 3d21029b33 SOLR-9481: Fix precommit test, unused import 2016-10-26 23:16:22 +02:00
yonik 7794fbd13f SOLR-4164: fix group.limit=-1 in distributed mode 2016-10-26 12:56:51 -04:00
Jan Høydahl 24446f5085 SOLR-9481: Fix test errors by using coreContainer.getSolrHome instead of SolrResourceLoader.locateSolrHome() in SecurityConfHandlerLocal 2016-10-26 16:39:22 +02:00
Jan Høydahl db43bfb046 SOLR-9610: Add timeout option, abort early on auth failure
SOLR-9680: Better error messages in SolrCLI when authentication required
2016-10-26 14:19:22 +02:00
Noble Paul ecfbe51c94 Merge remote-tracking branch 'origin/master' 2016-10-26 13:36:51 +05:30
Noble Paul 6d9a99f992 SOLR-9692: blockUnknown property still breaks the internode communication 2016-10-26 13:36:37 +05:30
Jan Høydahl b69c5d9f27 SOLR-9481: Add info-level log "Initializing authentication plugin: <classname>"
Move Sha256AuthProv warning "No users configured yet" to debug level, as this is quite normal
2016-10-26 09:22:55 +02:00
Shalin Shekhar Mangar 768c7e2648 SOLR-2212: Add a factory class corresponding to Lucene's NoMergePolicy 2016-10-26 11:28:53 +05:30
Shalin Shekhar Mangar 62bc90d7d2 SOLR-5245: Add a test to ensure that election contexts are keyed off both collection name and coreNodeName so that killing a shard in one collection does not result in leader election in a different collection. 2016-10-26 09:49:47 +05:30
Jan Høydahl d25a618161 SOLR-9481: Authentication and Authorization plugins now work in standalone mode, including edit API 2016-10-26 01:04:40 +02:00
Noble Paul 9303112981 SOLR-7604: add testcase to verify the schema of .system collection 2016-10-26 02:04:58 +05:30
Noble Paul a916877f38 Merge remote-tracking branch 'origin/master' 2016-10-26 02:04:41 +05:30
Noble Paul 34ad8577b6 SOLR-7604: add testcase to verify the schema of .system collection 2016-10-26 02:04:20 +05:30
markrmiller e152575f5e SOLR-9536: OldBackupDirectory timestamp field needs to be initialized to avoid NPE. 2016-10-25 12:39:59 -04:00
markrmiller 27ba8e2e82 SOLR-9441: Solr collection backup on HDFS can only be manipulated by the Solr process owner.
This closes #71.
2016-10-25 10:21:57 -04:00
Shalin Shekhar Mangar b7aa582dff SOLR-4531: Add tests to ensure that recovery does not fail on corrupted tlogs 2016-10-25 12:13:08 +05:30
Tomas Fernandez Lobbe ce57e8a8f4 Fixed Interval Facet count issue in cases of open/close intervals on the same values 2016-10-24 19:49:54 -07:00
yonik c9132ac661 SOLR-9654: tests: specify descending count sort for streaming 2016-10-24 21:19:06 -04:00
Alexandre Rafalovitch 9d692cde53 SOLR-9657: Fixed Javadocs and added example 2016-10-24 18:16:38 -04:00
yonik 4a85163754 SOLR-9654: add overrequest param to JSON Facet API 2016-10-24 14:23:12 -04:00
Jan Høydahl ef5737466e SOLR-7506: Roll over GC logs by default via bin/solr scripts 2016-10-24 14:22:24 +02:00
Jan Høydahl 61e180b7ef SOLR-9255: Rename SOLR_AUTHENTICATION_CLIENT_CONFIGURER -> SOLR_AUTHENTICATION_CLIENT_BUILDER 2016-10-24 14:18:21 +02:00
Noble Paul c9de11d024 Merge remote-tracking branch 'origin/master' 2016-10-24 16:45:53 +05:30
Noble Paul 184b0f2215 SOLR-9506: cache IndexFingerprint for each segment 2016-10-24 16:45:42 +05:30
Adrien Grand 9aca4c9d56 LUCENE-7462: Give doc values APIs an `advanceExact` method. 2016-10-24 10:51:23 +02:00