Commit Graph

9340 Commits

Author SHA1 Message Date
Andrzej Bialecki 80462df86e SOLR-9805 Don't use FileDescriptorRatioGauge - internally it uses reflection and
doesn't work under Java 9. Instead use this opportunity to implement a more
detailed OperatingSystemMetricSet. Add a unit test. Simplify some of the metric names.
2016-12-21 12:38:47 +01:00
Mikhail Khludnev febe0019a1 SOLR-9760: solr.cmd doesn't need write permission in current directory 2016-12-21 00:41:13 +03:00
Mikhail Khludnev f1e636f561 SOLR-9878: fix ReversedWildcardFilterFactory caching in query parser 2016-12-21 00:01:42 +03:00
Ishan Chattopadhyaya b5cfb17bd0 SOLR-9513: Fix test failure on Windows and Java9 by avoiding NPE in tearDownClass() 2016-12-21 00:42:16 +05:30
Steve Rowe 04108d9935 SOLR-9847: Stop blocking further schema updates while waiting for a pending update to propagate to other replicas. This reduces the likelihood of a (time-limited) distributed deadlock during concurrent schema updates. 2016-12-20 12:05:33 -05:00
Kevin Risden 918fd97fd0 Merge branch 'apache-https-master' into jira/solr-8593 2016-12-20 10:39:21 -06:00
Andrzej Bialecki b37a72d941 SOLR-4735 Use overridableRegistryName also for predefined shared registries.
Cleanup + javadocs.
2016-12-20 14:47:40 +01:00
Andrzej Bialecki 48ef96d573 Remove stray conflict marker. 2016-12-20 11:45:45 +01:00
Andrzej Bialecki 8bbdb6248c Squashed commit of branch 'feature/metrics', containing:
SOLR-4735: Improve Solr metrics reporting
    SOLR-9812: Implement /admin/metrics API
    SOLR-9805: Use metrics-jvm library to instrument jvm internals
    SOLR-9788: Use instrumented jetty classes
2016-12-20 09:31:24 +01:00
Tomas Fernandez Lobbe 84bbb8f797 SOLR-9874: CREATEALIAS should fail if target collections don't exist 2016-12-19 16:54:13 -08:00
Christine Poerschke c8542b2bd0 SOLR-8542: techproducts example now includes (disabled) learning-to-rank support (enable via -Dsolr.ltr.enabled=true)
additional changes as follows:

* LTRFeatureLoggerTransformerFactory:
** feature values cache name configurable (instead of hard-coded value that needs to match solrconfig.xml configuration)
** javadocs (example and parameters)

* CSV FeatureLogger:
** removed delimiter and separator assumptions in tests
** changed delimiter and separator (from "key:val;key:val" to "key=val,key=val")
** configurable (key value) delimiter and (features) separator

* JSON FeatureLogger:
** defer support for this (removing MapFeatureLogger class)

* adds 'training libraries' to (Linear|MultipleAdditiveTrees)Model javadocs

(Diego Ceccarelli, Michael Nilsson, Christine Poerschke)
2016-12-19 16:22:50 +00:00
Christine Poerschke 07609443c5 SOLR-9870: fix two typos in SolrCore.java (Mike Drob via Christine Poerschke) 2016-12-19 16:14:51 +00:00
Ishan Chattopadhyaya 2c4c5040ee SOLR-9860: Enable configuring invariantParams via HttpSolrClient.Builder 2016-12-19 21:01:20 +05:30
Ishan Chattopadhyaya a1a8b2864e SOLR-9513: Generic Hadoop authentication plugins, GenericHadoopAuthPlugin and ConfigurableInternodeAuthHadoopPlugin 2016-12-19 20:45:04 +05:30
yonik dcf202a958 SOLR-9873: tests - fix SolrTestCaseJ4.compareSolrDocument num fields comparison 2016-12-16 18:41:02 -05:00
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 cacabc9a4e fix java warning in SolrQueryTest 2016-12-07 21:16:42 +00: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
Christine Poerschke d2ed42b847 removed two unused imports in TestPlainTextEntityProcessor.java 2016-12-07 18:39:04 +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
Noble Paul 10500c894d Merge remote-tracking branch 'origin/master' 2016-12-07 18:42:39 +05:30
Noble Paul 3f6164c76e added an extra testcase 2016-12-07 18:42:07 +05:30
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
Tomas Fernandez Lobbe c164f7e35e SOLR-9827: Make ConcurrentUpdateSolrClient create RemoteSolrExceptions in case of remote errors instead of SolrException 2016-12-06 10:34:22 -08:00
Steve Rowe bf3a3137be SOLR-9832: Schema modifications are not immediately visible on the coordinating node 2016-12-06 13:11:36 -05:00
Anshum Gupta 39c2f3d80f SOLR-9819: Add new line to the end of SHA 2016-12-02 16:42:35 -08:00
Anshum Gupta c61268f7cd SOLR-9819: Upgrade Apache commons-fileupload to 1.3.2, fixing a security vulnerability 2016-12-02 12:14:35 -08:00
Ishan Chattopadhyaya e64bcb37ff SOLR-9616 Solr throws exception when expand=true on empty index 2016-12-01 00:46:58 +05:30
Noble Paul 9eaea79f5c Merge remote-tracking branch 'origin/master' 2016-11-30 18:48:18 +05:30
Noble Paul 44cce6bc4c typo in javadocs 2016-11-30 18:47:52 +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
Noble Paul 32c4bd7cc0 Merge remote-tracking branch 'origin/master' 2016-11-29 08:06:26 +05:30
Noble Paul 5b2594350d SOLR-9784: added deprecation javadocs 2016-11-29 08:05:47 +05:30
Kevin Risden 05a6170d12 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-28 11:26:16 -06:00
Kevin Risden bf424d1ec1 SOLR-9728: Ability to specify Key Store type in solr.in file for SSL 2016-11-28 09:52:02 -06:00
Tommaso Teofili c36ec0b75e SOLR-8871 - removed suppress for forbidden API, added locale to toUpperCase 2016-11-28 09:22:36 +01:00
Tommaso Teofili 641294a967 SOLR-8871 - adjusted UIMA processor test, patch from Alessandro Benedetti 2016-11-28 09:20:02 +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
Noble Paul 2ec9716520 SOLR-9784: deprecated uploadconfig 2016-11-26 12:53:32 +05:30
Noble Paul 346e766599 Merge remote-tracking branch 'origin/master' 2016-11-26 12:25:06 +05:30
Noble Paul dce5964d8a SOLR-9784: removed unused method 2016-11-26 12:24:45 +05:30
Shalin Shekhar Mangar eded69ba8f SOLR-9433: Ignore testDeleteInstanceDirAfterCreateFailure on windows 2016-11-26 01:01:22 +05:30
Shalin Shekhar Mangar 5228c8e140 SOLR-9801: Upgrade jetty to 9.3.14.v20161028 2016-11-26 00:51:03 +05:30
David Smiley 9b4b120aba fix bad xml processing instruction placement 2016-11-24 22:24:35 -05:00
Noble Paul 950ff50032 Merge remote-tracking branch 'origin/master' 2016-11-25 08:18:09 +05:30
Noble Paul 142461b395 SOLR-9512: removed unused import 2016-11-25 08:17:51 +05:30
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 e9e4715dd2 reverting the large commit 2016-11-25 00:56:54 +05:30
Noble Paul 098580698f Merge branch 'master' of /Users/noble/work/lucene-solr with conflicts. 2016-11-25 00:52:42 +05:30
Noble Paul 5650939a8d SOLR-9784: Refactor CloudSolrClient to eliminate direct dependency on ZK
SOLR-9512: CloudSolrClient's cluster state cache can break direct updates to leaders
2016-11-25 00:51:38 +05:30
Noble Paul d87ffa4bf8 SOLR-9784: Refactor CloudSolrClient to eliminate direct dependency on ZK
SOLR-9512: CloudSolrClient's cluster state cache can break direct updates to leaders
2016-11-25 00:51:09 +05:30
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
Steve Rowe 6a83f0fa3a LUCENE-7543: Update dev-tools/README.txt to include new dev-tools/ directories including doap/; add missing 1.4.1 and 4.9.1 release notes to Solr's CHANGES.txt; fix names of 3.6.1, 3.6.2, 4.0-ALPHA and 4.0-BETA releases in Solr's DOAP file to refer to solr instead of lucene. 2016-11-22 11:58:46 -05:00
Christine Poerschke 87dc02e3c4 SOLR-8785: tweak attribution 2016-11-22 09:28:08 +00: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
Steve Rowe 33ff6cde9b LUCENE-7543: Make changes-to-html target an offline operation, by moving the Lucene and Solr DOAP RDF files into the Git source repository under dev-tools/doap/ and then pulling release dates from those files, rather than from JIRA. 2016-11-21 16:47:54 -05:00
Alexandre Rafalovitch 380b5ca626 SOLR-9626: Add css class, when match key is found 2016-11-20 22:18:55 +11: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
Noble Paul 3c4315c566 Merge remote-tracking branch 'origin/master' 2016-11-18 20:29:42 +05:30
Noble Paul 0ec660a113 Wrong casting of CharSequence to String 2016-11-18 20:29:09 +05:30
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 46ce87c700 SOLR-9324: move changes entry to 6.4 2016-11-17 16:46:57 -05: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 012d75d36d SOLR-9597: Add setReadOnly(String ...) to ConnectionImpl 2016-11-15 21:34:39 -06:00
Kevin Risden bda84d8442 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-15 21:14:16 -06:00
Kevin Risden c20d1298d3 SOLR-9729: JDBCStream improvements 2016-11-15 21:06:25 -06:00
Kevin Risden ace423e958 SOLR-9077: Streaming expressions should support collection alias 2016-11-15 20:33:58 -06:00
Kevin Risden 782923b894 SOLR-9666: SolrJ LukeResponse support dynamic fields 2016-11-15 18:58:00 -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 1366fcdb2e Update to newer calcite SNAPSHOT release 2016-11-15 09:45:25 -06: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 b57a5e41f8 SOLR-9633: Fix issue number in CHANGES.txt 2016-11-15 11:07:18 +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 ca80ba6b80 SOLR-9166: fix precommit 2016-11-14 20:00:44 -05:00
Steve Rowe 76b439a0bd SOLR-9751: PreAnalyzedField can cause managed schema corruption 2016-11-14 19:17:57 -05:00
Erick Erickson c0b7edb5c8 SOLR-9166: Export handler returns zero for numeric fields that are not in the original doc. Fixed precommit 2016-11-14 12:59:14 -08: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
Christine Poerschke fba2a864d4 Fix arg order in CommonParamsTest's assertEquals. 2016-11-14 12:31:38 +00:00
Noble Paul 907bed887d SOLR-9718: replace assert and assertTrue() to assertEquals() 2016-11-14 12:41:59 +05:30
Noble Paul b359636fd9 SOLR-9718: replace assert and assertTrue() to assertEquals() 2016-11-14 12:33:37 +05:30
Kevin Risden 368204bf46 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-12 11:16:18 -06:00
Christine Poerschke 86a515789f SOLR-8542, SOLR-9746: prefix solr/contrib/ltr's search and response.transform packages with ltr 2016-11-11 19:18:00 +00:00
Michael Nilsson 2c752b04cb SOLR-8542: disallow reRankDocs<1 i.e. must rerank at least 1 document
(Michael Nilsson via Christine Poerschke)
2016-11-11 19:17:59 +00: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
Noble Paul 915ed6f375 Merge remote-tracking branch 'origin/master' 2016-11-08 18:41:39 +05:30
Noble Paul 4d6be31332 SOLR-9720: Use the new MapWriter and IteratorWriter interface 2016-11-08 18:41:26 +05:30
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
Dawid Weiss 7fb72bfe10 SOLR-9293: Solrj client support for hierarchical clusters and other topics marker. 2016-11-07 15:27:27 +01:00
Adrien Grand 284eb77ece SOLR-9005: Remove tabs from solr/example/files/conf/update-script.js. 2016-11-07 10:19:03 +01:00
Alexandre Rafalovitch 9148362617 SOLR-9005: Add guard condition to the example js 2016-11-06 15:04:28 +11:00
Alexandre Rafalovitch 94c796968a SOLR-9624: Do not highlight CSV output 2016-11-06 14:09:55 +11: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
Erick Erickson b2bf87dee7 SOLR-9360: Solr script not properly checking SOLR_PID 2016-11-04 12:57:26 -07:00
Dawid Weiss 401d77485d SOLR-7539: Upgrade the clustering plugin to Carrot2 3.15.0. 2016-11-04 16:02:00 +01: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
Joel Bernstein ad9c1335fb Remove spurious imports 2016-11-03 21:28:31 -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
Christine Poerschke 5a66b3bc08 SOLR-8542: Adds Solr Learning to Rank (LTR) plugin for reranking results with machine learning models. (Michael Nilsson, Diego Ceccarelli, Joshua Pantony, Jon Dorando, Naveen Santhapuri, Alessandro Benedetti, David Grohmann, Christine Poerschke) 2016-11-01 17:50:14 +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
Jan Høydahl 22aa34e017 SOLR-9481: Move changes entry to 6.4 2016-11-01 12:31:40 +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
Jan Høydahl 417e29a6fd Minor typo fix in solr.cmd help 2016-10-31 15:11:59 +01:00
Alan Woodward c444658286 Up test timeout to match all others in TestCollectionStateWatchers 2016-10-31 12:49:42 +00: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 2ad2fca416 SOLR-9697: Fixed zk upconfig which was broken on windows 2016-10-31 09:35:09 +01: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
Erick Erickson 1344d895f9 SOLR-9371: Fix bin/solr script calculations - start/stop wait time and RMI_PORT 2016-10-27 17:54:34 -07:00
Kevin Risden 073fecfa53 Update Calcite rules 2016-10-27 16:58:56 -05:00
Kevin Risden e1ed290dac Fix JDBCStreamTest 2016-10-27 16:58:43 -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 8d04e2bc88 Fix test issues 2016-10-27 16:17:23 -05:00
Kevin Risden 34d889f255 Fix metadata handling 2016-10-27 16:17:10 -05:00
Kevin Risden 77d33fa747 enable docvalues for a few fields 2016-10-27 16:16:54 -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
Noble Paul 0feca1a974 general cleanup to use java 8 feautures 2016-10-27 15:05:07 +05:30
Noble Paul d6b6e74703 SOLR-2094: XPathEntityProcessor should reinitialize the XPathRecordReader instance if the 'forEach' or 'xpath' attributes are templates & it is not a root entity 2016-10-27 14:52:24 +05:30
Noble Paul d9c4846ee1 SOLR-9692: blockUnknown property makes inter-node communication impossible 2016-10-27 14:35:18 +05:30
Joel Bernstein 7b3d29dda7 SOLR-9533, SOLR-9559: Undate CHANGES.txt 2016-10-26 23:11:20 -04:00
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 feb1a5d3e7 SOLR-9670: Support SOLR_AUTHENTICATION_OPTS in solr.cmd 2016-10-26 15:17:13 +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 b8d9647307 SOLR-2039: Multivalued fields with dynamic names does not work properly with DIH 2016-10-26 11:02:10 +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 c15c8af66d SOLR-9536: Add hossman to CHANGES. 2016-10-25 12:42:14 -04:00
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
Christine Poerschke 37871de29b SOLR-9634: correct name of deprecated/removed method in solr/CHANGES.txt 2016-10-24 18:58:26 +01: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
Noble Paul 9b49c72dbc SOLR-9518: Kerberos Delegation Tokens don't work without a chrooted ZK 2016-10-24 13:06:40 +05:30
Jan Høydahl 3488f12170 SOLR-9610: Bugfix option key for assertTool 2016-10-22 02:31:27 +02:00
Jan Høydahl e3a8a0fe5f SOLR-9662: New parameter -u <user:pass> in bin/post to pass basicauth credentials 2016-10-22 02:02:07 +02:00
Jan Høydahl c9cf0eff03 SOLR-9325: Remove unnecessary search/replace in installer script 2016-10-22 01:00:48 +02:00
David Smiley 91f58ac72b SOLR-9676: DefaultSolrHighlighter: clarify warning when FVH can't be used 2016-10-21 13:51:45 -04:00
yonik 57ba96145c SOLR-9326: Ability to create/delete/list snapshots at collection level. 2016-10-21 09:47:02 -04:00
Noble Paul 49ca9cea72 SOLR-9546: reverted some changes 2016-10-21 19:16:15 +05:30
Noble Paul ccbafdc403 SOLR-9546: Eliminate unnecessary boxing/unboxing going on in SolrParams 2016-10-21 18:58:33 +05:30
Dawid Weiss a19ec194d2 LUCENE-7513: Update to randomizedtesting 2.4.0. 2016-10-21 11:14:37 +02:00
Kevin Risden 2e7f5f9283 Merge branch 'apache-https-master' into jira/solr-8593 2016-10-20 14:24:16 -05:00
Jan Høydahl af88e7f54d SOLR-9570: Fix test failures and start using SolrTestCaseJ4's createTempDir mm 2016-10-20 20:58:52 +02:00
Noble Paul a4952b11fe Merge remote-tracking branch 'origin/master' 2016-10-20 20:07:15 +05:30
Noble Paul 127bf9f772 SOLR-9657: Use cache for templates 2016-10-20 20:06:21 +05:30
Jan Høydahl 97761966f3 SOLR-99570: Various log tidying at Solr startup 2016-10-20 14:47:32 +02:00
Jan Høydahl 14b6d93db4 SOLR-8370: Display configured Similarity in Schema-Browser 2016-10-20 13:25:40 +02:00
Joel Bernstein 39db5489b9 SOLR-9417: Update CHANGES.txt 2016-10-19 18:28:35 -04:00
Dawid Weiss be8bd77b17 LUCENE-7507: Upgrade morfologik-stemming to version 2.1.1 (fixes security manager issue with Polish dictionary lookup). 2016-10-19 23:40:24 +02:00
David Smiley fe77dff094 SOLR-7850: Move defaults in bin/solr.in.sh into bin/solr (incl. Windows) 2016-10-19 16:45:13 -04:00
David Smiley 8ae3304c86 SOLR-7580: Move defaults in bin/solr.in.sh into bin/solr (incl. Windows) 2016-10-19 16:38:06 -04:00
Noble Paul 67ba19a810 Merge remote-tracking branch 'origin/master' 2016-10-20 01:26:31 +05:30
Noble Paul 6893595f34 SOLR-9657: Addressing test failures 2016-10-20 01:26:02 +05:30
Joel Bernstein f43742acc5 SOLR-9417: Allow daemons to terminate when they finish iterating a topic 2016-10-19 13:17:06 -04:00
Noble Paul c2e031add3 SOLR-9657: New TemplateUpdateProcessorFactory added 2016-10-19 11:04:10 +05:30
Noble Paul ffa5c4ba2c SOLR-9506: reverting the previous commit 2016-10-19 00:50:30 +05:30
Noble Paul 9aa764a54f * SOLR-9506: cache IndexFingerprint for each segment 2016-10-18 21:09:42 +05:30
Noble Paul bb907a2983 * SOLR-9506: cache IndexFingerprint for each segment 2016-10-18 19:43:32 +05:30
Alan Woodward b2188f4958 SOLR-9634: Remove deprecated methods 2016-10-18 12:34:18 +01:00
Alan Woodward 67f3f433e2 SOLR-9634: Deprecate create/deleteCollection methods on MiniSolrCloudCluster 2016-10-18 12:34:13 +01:00
Alan Woodward 20ea5355c9 SOLR-9632: Add deleteAllCollections method to MiniSolrCloudCluster 2016-10-18 12:33:52 +01:00
Adrien Grand c22725f0b5 LUCENE-7494: Give points a per-field API. 2016-10-18 10:14:27 +02:00
Anshum Gupta 19c7f8eacf SOLR-9628: Set lastDocId in Trie fields 2016-10-17 18:59:41 -07:00
Christine Poerschke c219525b1d SOLR-9627: Add QParser.getSortSpec, deprecate misleadingly named QParser.getSort (Judith Silverman, Christine Poerschke) 2016-10-17 17:13:32 -04:00
Hrishikesh Gadre 46aeb52588 SOLR-9642: Refactor the snapshot cleanup mechanism to rely on Lucene
The current snapshot cleanup mechanism is based on reference counting
the index files shared between multiple segments. Since this mechanism
completely skips the Lucene APIs, it is not portable (e.g. it doesn't
work on 4.10.x version).

This patch provides an alternate implementation which relies exclusively
on Lucene IndexWriter (+ IndexDeletionPolicy) for cleanup.

mend
2016-10-17 13:55:26 -04:00
Alan Woodward 65f55802ee SOLR-9566: Don't put replicas into recovery when collections are created 2016-10-17 17:18:25 +01:00
Christine Poerschke a4a314d160 SOLR-6203: in QueryComponent rename groupSortStr to sortWithinGroupStr (so that name and meaning match) 2016-10-15 20:56:05 -04:00
Christine Poerschke 5261eb0acd SOLR-9625: Add HelloWorldSolrCloudTestCase class (Christine Poerschke, Alan Woodward, Alexandre Rafalovitch) 2016-10-15 09:44:37 -04:00
Jan Høydahl 33db4de4d7 SOLR-9325: solr.log is now written to $SOLR_LOGS_DIR without changing log4j.properties 2016-10-14 23:19:09 +02:00
Mikhail Khludnev 4744673388 SOLR-9639: CDCR Tests only fix. Wait until recovery is over before
remove the tmp_colletion.
2016-10-14 14:43:07 +03:00
Jan Høydahl 6512d0c620 SOLR-9610: New AssertTool in SolrCLI for easier cross platform assertions from command line 2016-10-12 09:16:41 +02:00
yonik 22780d9f16 fix unused imports 2016-10-11 21:38:38 -04:00
yonik 11e872765d fix package-before-license nit 2016-10-11 20:47:35 -04:00
Dennis Gove 56cd8bffc6 SOLR-9103: Restore ability for users to add custom Streaming Expressions 2016-10-11 20:30:26 -04:00
yonik 0f08ad9ad3 SOLR-9432: json facet refinement progress, test refinement info going to shards 2016-10-11 17:13:36 -04:00
Kevin Risden 7660dde458 SOLR-8969: Fix static cloud check 2016-10-11 15:27:30 -05:00
Kevin Risden b00f10916b SOLR-8969: Resolve NPE for SQLHandler when in non-cloud mode 2016-10-11 11:13:47 -05:00
Christine Poerschke 2bbca4c512 (part of) SOLR-6203: ResponseBuilder.setSortSpec arg name tweak. (Judith Silverman via Christine Poerschke) 2016-10-11 11:54:36 -04:00
yonik 98191225eb SOLR-9579: SchemaField should implement lucene.IndexableFieldType to avoid repeated creation 2016-10-11 11:17:55 -04:00
Jan Høydahl 8648fd5e83 SOLR-9534: Fix typo in help, said "-V or -version", but should be "-V or -verbose" 2016-10-11 11:20:05 +02:00
Joel Bernstein d69412bc67 SOLR-9337: Update CHANGES.txt 2016-10-10 21:50:37 -04:00
Joel Bernstein ee3f9e1e05 SOLR-9337: Add fetch Streaming Expression 2016-10-10 14:20:29 -04:00
Mikhail Khludnev 9fea5129d3 SOLR-9614: fixing TestSolrCloudWithKerberosAlt 2016-10-10 12:20:58 +03:00
Mikhail Khludnev d8bb56d4ad SOLR-9604,SOLR-9608: fix HttpSolrClientConPoolTest.testPoolSize() 2016-10-09 18:17:49 +03:00
Alan Woodward f22b1da261 SOLR-9604,SOLR-9608: Ensure SSL connections are re-used
Fix ConnectionReuseTest. Add coverage for all SolrClients.
Remove explicit cacheKey for HttpRequestContext, make it singleton.
2016-10-09 08:06:09 +03:00
Kevin Risden 6aa28bd655 SOLR-8385: Narrow StreamFactory.withFunctionName clazz parameter to prevent misconfiguration 2016-10-07 08:24:02 -05:00
Adrien Grand fb088817eb LUCENE-7479: SimpleText should directly implement the new doc values APIs. 2016-10-07 10:59:11 +02:00
Kevin Risden 87bad09560 SOLR-9146: Parallel SQL engine should support >, >=, <, <=, <>, != syntax 2016-10-06 13:09:53 -05:00
markrmiller 05f51c85f6 SOLR-9278: Update issue number in CHANGES to be orig rather than dupe. 2016-10-06 11:53:38 -04:00
markrmiller ce22c2697c SOLR-9470: Index replication interactions with IndexWriter can cause deadlock. 2016-10-06 11:31:30 -04:00
Alan Woodward 36b3b0884a Revert "SOLR-9604: Ensure SSL connections are re-used"
This reverts commit 0eb6b1c823, which was
causing test failures in ConnectionReuseTest - see SOLR-9608
2016-10-05 20:49:14 +01:00
yonik cae6b49a06 SOLR-9592: use correct leaf reader rather than top-level reader in SolrIndexReaderm.decorateDocValues 2016-10-05 15:10:29 -04:00
Mike McCandless 001a3ca55b LUCENE-7407: speed up iterating norms a bit by having default codec implement the iterator directly 2016-10-05 14:18:55 -04:00
Alan Woodward 0eb6b1c823 SOLR-9604: Ensure SSL connections are re-used 2016-10-05 15:36:16 +01:00
Alan Woodward d398617be8 SOLR-9132: RulesTest must tear down collections at the end of each test 2016-10-05 15:19:22 +01:00
Noble Paul 221a6870b8 SOLR-9589: Remove jackson dependency from SolrJ 2016-10-04 19:20:44 +05:30
Noble Paul 5fbf135b80 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
SOLR-9589: Remove jackson dependency from SolrJ
2016-10-04 19:15:50 +05:30
Alan Woodward 58031fd449 SOLR-9563: Collection creation can fail if a node doesn't update its state quickly enough 2016-10-04 13:48:20 +01:00