Commit Graph

8355 Commits

Author SHA1 Message Date
yonik 6f60ac21f3 SOLR-8865: Real-time get sometimes fails to retrieve stored fields from docValues 2016-03-25 10:18:31 -04:00
yonik e136d10817 Fix StrField.toObject and toExternal to work with docValue IndexableField instances, optimize createFields 2016-03-23 20:43:55 -04:00
Kevin Risden a0da40204a SOLR-8810: Implement Connection.setReadOnly, Statement.set/getFetchSize, ResultSet.getType 2016-03-23 17:28:59 -05:00
Kevin Risden dbee659174 SOLR-8819: Implement DatabaseMetaDataImpl getTables() and fix getSchemas(). (Trey Cahill, Joel Bernstein, Kevin Risden) 2016-03-23 15:49:21 -05:00
yonik ced7570e2c SOLR-8886: fix TrieField.toObject(IndexableField) for docValues 2016-03-23 11:56:17 -04:00
markrmiller 574da7667f SOLR-8856: Do not cache merge or 'read once' contexts in the hdfs block cache. 2016-03-22 23:05:13 -04:00
markrmiller 9aeb745a7d SOLR-8855: The HDFS BlockDirectory should not clean up it's cache on shutdown. 2016-03-22 16:09:56 -04:00
jbernste 42262e6768 SOLR-8882: Wait for checkpoint in DaemonStream, TopicStream testcase 2016-03-21 23:38:45 -04:00
Gregory Chanan cb1738360e SOLR-8869: Optionally disable printing field cache entries in SolrFieldCacheMBean 2016-03-21 11:30:39 -07:00
markrmiller 93e96f688e SOLR-8857: HdfsUpdateLog does not use configured or new default number of version buckets and is hard coded to 256. 2016-03-21 14:10:17 -04:00
Alan Woodward 04bd586071 SOLR-8837: Fix duplicate election node detection 2016-03-21 17:39:37 +00:00
jbernste 5a40ae0305 SOLR-8878: Remove debugging 2016-03-20 22:19:38 -04:00
jbernste f86ac58a5a SOLR-8878: Allow the DaemonStream run rate be controlled by the internal stream 2016-03-20 22:05:18 -04:00
Uwe Schindler b2a4003d4c SOLR-8082: Fix forbidden APIs 2016-03-21 00:09:15 +01:00
Steve Rowe 49d5ec02a2 SOLR-8082: Can't query against negative float or double values when indexed='false' docValues='true' multiValued='false' 2016-03-20 16:55:32 -04:00
Dennis Gove fecdec6c85 SOLR-5616: Simplifies grouping code to use ResponseBuilder.needDocList() to determine if it needs to generate a doc list for grouped results. 2016-03-20 13:30:29 -04:00
Dennis Gove e3b785a906 SOLR-8599: Improved the tests for this issue to avoid changing a variable to non-final 2016-03-20 11:13:56 -04:00
Uwe Schindler 91424ae963 SOLR-8874, SOLR-8876: Disable more Hadoop tests with Java 9 2016-03-20 10:41:05 +01:00
Uwe Schindler e3b7d82825 SOLR-8877: Disable test on environments with whitespace 2016-03-19 15:58:31 +01:00
Uwe Schindler f93f90ca1b SOLR-8874: Make Solr tests work with Java 9 Jigsaw 2016-03-19 14:53:59 +01:00
yonik 5ea86b14c3 SOLR-8867: fix frange/FunctionValues.getRangeScorer to not match missing values, getRangeScorer refactored to take LeafReaderContext 2016-03-17 16:58:27 -04:00
Noble Paul faa0586b31 SOLR-8842: security rules made more foolproof by asking the requesthandler about the well known
permission name.
  The APIs are also modified to ue 'index' as the unique identifier instead of name.
  Name is an optional attribute
  now and only to be used when specifying well-known permissions
2016-03-17 23:34:50 +05:30
David Smiley a22099a398 SOLR-8866: UpdateLog now throws an error if it can't serialize a field value 2016-03-17 13:22:16 -04:00
Shalin Shekhar Mangar 4fbfeb0123 SOLR-8745: Move CHANGES.txt entry to 6.1 2016-03-17 20:18:04 +05:30
Steve Rowe 6ebf61535e SOLR-7339: Upgrade to Jetty 9.3.8.v20160314 2016-03-17 01:46:36 -04:00
Shalin Shekhar Mangar ae846bfb49 SOLR-8860: Remove back-compat handling of router format made in SOLR-4221 in 4.5.0 2016-03-17 09:21:30 +05:30
Steve Rowe 3cdde08ff2 SOLR-8838: Remove obsolete comment 2016-03-16 18:58:41 -04:00
Steve Rowe 6e55135be3 SOLR-8838: Returning non-stored docValues is incorrect for negative floats and doubles. 2016-03-16 18:56:23 -04:00
yonik e76fa56817 SOLR-8740: use docValues for non-text fields in schema templates 2016-03-16 18:51:50 -04:00
Ryan McKinley 022877fefa SOLR-8859: read/write Shapes to String 2016-03-16 12:52:00 -07:00
Ryan McKinley 36145d02cc SOLR-8814: Support GeoJSON response format 2016-03-16 10:06:49 -07:00
Chris Hostetter 0f78235b94 SOLR-8849: improve reproducibility in random order of chaosmonkey actions 2016-03-15 11:17:45 -07:00
anshum 30a77b73b6 SOLR-8836: Return 400, and a SolrException when an invalid json is provided to the update handler instead of 500. 2016-03-15 10:55:20 -07:00
Tommaso Teofili 5801caab6c SOLR-7739 - applied patch from Alessandro Benedetti for integrating Lucene classification into Solr 2016-03-15 12:29:07 +01:00
yonik 95f20c6f00 SOLR-8835: fix faceting exception (uif) on multi-valued numeric docValues 2016-03-14 11:33:16 -04:00
jbernste 007d41c9f5 SOLR-8832: Faulty DaemonStream shutdown procedures 2016-03-11 15:35:51 -05:00
yonik 50c413e865 SOLR-8831: allow _version_ field to be retrievable via docValues 2016-03-11 14:10:37 -05:00
Upayavira fe21f7a4c3 SOLR-8730: Fix highlighting in new UI query pane 2016-03-11 13:26:01 +00:00
Varun Thacker 343d9c6fa4 SOLR-8804: Fix a race condition in the ClusterStatus API call 2016-03-11 14:02:06 +05:30
anshum b0caca3b60 SOLR-8765: Fix CollectionAdminRequest.SplitShard to accept requests without the 'shard' parameter 2016-03-10 16:49:02 -08:00
anshum 209f5c2946 SOLR-8790: Add the node name to core responses in calls from the Overseer 2016-03-10 16:20:44 -08:00
Upayavira 937a41489f SOLR-7858 - update links between new/old UIs for 6.x release 2016-03-10 23:48:48 +00:00
Noble Paul 8cc978b53b SOLR-8135: SolrCloudExampleTest.testLoadDocsIntoGettingStartedCollection reproducible failure 2016-03-11 00:49:49 +05:30
Robert Muir d35d5694d8 LUCENE-7090, LUCENE-7075: deprecate single-valued LegacyNumerics fieldcaching, provide Points-based replacement. 2016-03-10 08:29:56 -05:00
Shalin Shekhar Mangar 66cd070d7a Fix javadocs for ClusterState.getCollectionOrNull 2016-03-10 18:16:43 +05:30
Alan Woodward f24810bdf1 SOLR-8765: Throw SolrException rather than IAE on name validation 2016-03-09 21:15:58 +00:00
Erick Erickson 540e8010c3 SOLR-8813: Add test for MultiValued fields being returned in the correct order 2016-03-09 11:40:44 -08:00
Alan Woodward 4015f12ff1 SOLR-8765: Set parameters correctly in async shard requests 2016-03-09 17:38:38 +00:00
Alan Woodward 55c595a9dc SOLR-8765: Enforce required parameters in SolrJ Collections API 2016-03-09 12:51:05 +00:00
jbernste 02523d5b6d SOLR-8799: Update CHANGES.txt 2016-03-08 15:25:52 -05:00
jbernste 56ad6e5d8a SOLR-8799: Improve error message when tuple can't be read by SolrJ JDBC 2016-03-08 15:22:42 -05:00
Shai Erera 4384627f08 SOLR-8793: Fix stale commit files' size computation in LukeRequestHandler 2016-03-08 22:13:21 +02:00
Varun Thacker dcb7a882b6 SOLR-8766: Remove support for admin/gettableFiles as well 2016-03-08 19:32:10 +05:30
Noble Paul e70c638bcf SOLR-8766: deprecated <admin> tag in solrconfig.xml is removed 2016-03-08 18:53:59 +05:30
Noble Paul 5ea6ee7362 SOLR-8736: schema GET operations on fields, dynamicFields, fieldTypes, copyField have less details 2016-03-08 18:00:12 +05:30
Robert Muir bfd58bc9de LUCENE-7077: fail precommit on useless assignment 2016-03-08 06:42:35 -05:00
Alan Woodward 5b7be9d16a SOLR-8782: Improve async collections API 2016-03-08 10:53:29 +00:00
David Smiley a0a571caa9 SOLR-6926: Remove deprecated "ant example"; replaced by "ant server" a year ago 2016-03-07 23:48:31 -05:00
Noble Paul f2c281abcb SOLR-8736: schema GET operations on fields, dynamicFields, fieldTypes, copyField are
reimplemented as a part of the bulk API with less details. The tests and write implementations are removed
2016-03-07 22:44:36 +05:30
Uwe Schindler 6ce6c01318 Update URL to Lucene's KEYS file 2016-03-07 11:21:12 +01:00
Shalin Shekhar Mangar 093a8ce57c SOLR-8745: Deprecate costly ZkStateReader.updateClusterState(), replace with a narrow forceUpdateCollection(collection) 2016-03-07 15:03:03 +05:30
yonik 8555726143 SOLR-8155: fix UnInvertedField.collectDocsGeneric, used for facet.prefix or non-count sorting 2016-03-05 18:47:33 -05:00
Varun Thacker 4381018b77 SOLR-8449: Fix the core restore functionality to allow restoring multiple times on the same core 2016-03-06 04:12:11 +05:30
Noble Paul a15845ea59 Merge remote-tracking branch 'origin/master' 2016-03-05 11:30:06 +05:30
Noble Paul f09c5590e5 SOLR-8788: CollectionTooManyReplicasTest.testDownedShards failures 2016-03-05 11:29:43 +05:30
anshum 81feea2505 SOLR-8790: Ignoring failing CollectionsAPISolrJTest test until this is fixed 2016-03-04 19:25:28 -08:00
anshum 437170fa88 SOLR-8789: Remove the *Tests regular expression from the build xml, and instead rename CollectionsAPISolrJTests to CollectionsAPISolrJTest 2016-03-04 16:34:44 -08:00
Varun Thacker 21bf9c6e80 SOLR-8779: Fix missing InterruptedException handling in ZkStateReader 2016-03-04 20:12:00 +05:30
Noble Paul c27dd8e038 SOLR-8750 : Use lambdas in code where SAM type interfaces are used 2016-03-04 18:53:47 +05:30
Noble Paul 517acece6a Merge remote-tracking branch 'origin/master'
Conflicts:
	solr/CHANGES.txt
2016-03-04 16:24:10 +05:30
Noble Paul 0cd24c5d08 SOLR-8728: ReplicaAssigner throws NPE when a partial list of nodes are only participating in replica
placement. splitshard should preassign nodes using rules, if rules are present
2016-03-04 16:22:37 +05:30
Luc Vanlerberghe 40aab73a4c LUCENE-7064: Split MultiPhraseQuery into an immutable class and a Builder
This closes #19
2016-03-04 11:28:36 +01:00
Robert Muir 3ffeccab7e LUCENE-7063: add tests/docs for numericutils, rename confusing methods, remove overlap with LegacyNumericUtils 2016-03-03 21:52:12 -05:00
anshum 44d8ee9115 Fix document exclusion in mlt query parser in Cloud mode for schemas that have non-'id' unique field 2016-03-03 15:27:04 -08:00
anshum 7daad8d7d1 SOLR-8725: Fix precommit check 2016-03-03 13:13:26 -08:00
anshum 9c777ab5ad SOLR-8423: DeleteShard and DeleteReplica should cleanup instance and data directory by default and add support for optionally retaining the directories 2016-03-03 11:54:26 -08:00
Steve Rowe d0279b8d5f SOLR-7010: Remove facet.date client functionality 2016-03-03 14:34:45 -05:00
anshum 6de2b7dbd1 SOLR-8725: Allow hyphen in shard, collection, core, and alias names but not the first char 2016-03-03 10:04:07 -08:00
Steve Rowe a079ff2528 SOLR-8778: Deprecate CSVStrategy's setters, and make its pre-configured strategies immutable 2016-03-03 10:54:45 -05:00
Shalin Shekhar Mangar 93133f54fd SOLR-8722: Don't force a full ZkStateReader refresh on every Overseer operation 2016-03-03 18:20:04 +05:30
Shalin Shekhar Mangar d87d8da17d * SOLR-7516: Improve javadocs for JavaBinCodec, ObjectResolver and enforce the single-usage policy
This closes #17
2016-03-03 18:06:04 +05:30
Shalin Shekhar Mangar 6c06d4bc00 Add section headers in CHANGES.txt 2016-03-03 18:01:14 +05:30
Varun Thacker b440a1deb3 SOLR-8780: Remove unused OverseerCollectionMessageHandler#getClusterStatus method 2016-03-03 17:37:07 +05:30
Shalin Shekhar Mangar a2120730a6 Adding version 6.1.0 2016-03-03 15:39:08 +05:30
David Smiley deb6a4907b SOLR-8764: test schema-latest.xml spatial dist units should be kilometers
(no test uses yet?)
2016-03-02 23:03:44 -05:00
David Smiley 569b6ca9ca LUCENE-7060: Spatial4j 0.6 upgrade. Package com.spatial4j.core -> org.locationtech.spatial4j 2016-03-02 21:05:32 -05:00
thelabdude b17c57f072 SOLR-8145: mention fix in solr/CHANGES.txt 2016-03-02 11:37:23 -07:00
thelabdude 80801a2738 SOLR-8145: Fix position of OOM killer script when starting Solr in the background 2016-03-02 11:22:27 -07:00
Steve Rowe 9427b7402d SOLR-8764: Remove deprecated methods and classes 2016-03-02 09:22:20 -05:00
Mike McCandless 09aa951ad0 remove or cutover all uses of now unsupported versions 2016-03-02 09:05:41 -05:00
nknize 96b195432f Update master version to 7.0.0 2016-03-02 02:37:33 -06:00
Mark Miller 0f4f53a8f5 SOLR-8771: Multi-threaded core shutdown creates executor per core. 2016-03-01 12:13:56 -08:00
Chris Hostetter ff6557cbcb SOLR-8738: Fixed false success response when invalid deleteByQuery requests intially hit non-leader cloud nodes 2016-03-01 10:02:07 -07:00
Noble Paul e44eebf39d SOLR-8375: ReplicaAssigner rejects valid nodes 2016-03-01 10:49:47 +05:30
Noble Paul 79b62ee731 Merge remote-tracking branch 'origin/master' 2016-03-01 09:30:22 +05:30
Noble Paul 1734d03eb9 SOLR-8698: changes the example config to reflect the new behavior 2016-03-01 09:29:30 +05:30
nknize 89db4950b9 LUCENE-7015: Refactor spatial module to spatial-extras
Refactors non GeoPoint* classes from existing spatial module to a new spatial-extras module. dev-tools, build, and project files are updated to include new spatial-extras module.
2016-02-29 16:18:39 -06:00
Mark Miller a9aec24236 SOLR-8696: Straighten out calls to ZkStateReader#createClusterStateWatchersAndUpdate. 2016-02-29 13:09:09 -08:00
Alan Woodward 9a3458f693 SOLR-8758: Add SolrCloudTestCase base class 2016-02-29 18:44:27 +00:00
Tomás Fernández Löbbe a0e72f10a8 SOLR-8671: Added note about date stats 'sum' now using double in the upgrade section 2016-02-29 09:16:01 -08:00
Tomás Fernández Löbbe 20b7453cc8 SOLR-8713: new UI and example solrconfig files point to Reference Guide for Solr Query Syntax instead of the wiki.
This closes #12
2016-02-29 08:22:25 -08:00
Tomás Fernández Löbbe ae4d77ae48 SOLR-8671: Date statistics: make "sum" a double instead of a long/date 2016-02-27 14:02:30 -08:00
Shalin Shekhar Mangar 70440bbbd2 SOLR-8752: Add change log entry 2016-02-27 18:11:33 +05:30
Alan Woodward 5c0240219a SOLR-8712: Variable solr.core.instanceDir was not being resolved 2016-02-27 10:03:01 +00:00
Shalin Shekhar Mangar 9c97f2f3d2 SOLR-8746: Renamed Overseer.getInQueue to getStateUpdateQueue, getInternalQueue to getInternalWorkQueue and added javadocs 2016-02-27 14:06:09 +05:30
Shalin Shekhar Mangar c59ca69ec0 SOLR-8748: OverseerTaskProcessor limits number of concurrent tasks to just 10 even though the thread pool size is 100. The limit has now been increased to 100. 2016-02-27 14:05:07 +05:30
Shalin Shekhar Mangar 41eb5e8542 SOLR-8746: Renamed Overseer.getInQueue to getStateUpdateQueue, getInternalQueue to getInternalWorkQueue and added javadocs 2016-02-27 13:10:51 +05:30
Shalin Shekhar Mangar 06053fc01c SOLR-8752: Add a test for SizeLimitedDistributedMap and improve javadocs 2016-02-27 12:35:58 +05:30
Shalin Shekhar Mangar c2bc93822d SOLR-8697: Fix precommit failure 2016-02-27 12:19:50 +05:30
markrmiller 54e7bb5f58 SOLR-8497: Only mark diectory as done if it was not previously in the cache. 2016-02-26 15:47:12 -05:00
markrmiller efb7bb171b SOLR-8697: Add synchronization around registering as leader and canceling. 2016-02-26 12:32:12 -05:00
Christine Poerschke 0ed625b107 SOLR-8734: fix (maxMergeDocs|mergeFactor) deprecation warnings: in solrconfig.xml <maxMergeDocs|mergeFactor> may not be combined with <mergePolicyFactory> and <maxMergeDocs|mergeFactor> on their own or combined with <mergePolicy> is a warning. 2016-02-26 15:51:46 +00:00
Noble Paul 6c0846107a SOLR-8726 : typo in file name 2016-02-26 15:43:51 +05:30
Jan Høydahl 9bb9b7900f SOLR-8737: Managed synonym lists do not include the original term in the expand 2016-02-26 01:26:30 +01:00
Gregory Chanan de119f0b5d SOLR-8735: Fix CheckHdfsIndexTest test failure 2016-02-25 00:18:22 -08:00
Tomas Fernandez Lobbe 730d10f145 SOLR-8420: Fix long overflow in sumOfSquares for Date statistics
Casted operations to double. Changed the test to support a percentage error given the FUZZY flag in doubles
2016-02-24 19:02:17 -08:00
Noble Paul 405e084a6c SOLR-7362: enabling more logs 2016-02-24 15:53:11 +05:30
Noble Paul bba7b82ab9 Merge remote-tracking branch 'origin/master' 2016-02-24 14:59:42 +05:30
Noble Paul d77cd3287d SOLR-872: move the embedded xml for schema and solconfig for .system collection to individual files 2016-02-24 14:59:07 +05:30
Dawid Weiss 4c9dca8d90 SOLR-8711: follow-up removal of dependencies no longer used. (applying
again, with changes to the sources).

This reverts commit 594fb908f6.
2016-02-24 09:27:06 +01:00
Dawid Weiss 594fb908f6 Revert "SOLR-8711: follow-up removal of dependencies no longer used."
This reverts commit a77d67a926.
2016-02-24 09:08:18 +01:00
markrmiller 18bb8caede SOLR-8720: ZkController#publishAndWaitForDownStates should use #publishNodeAsDown. 2016-02-23 14:51:01 -05:00
markrmiller 8ac4fdd6bb SOLR-8696: Start the Overseer before actions that need the overseer on init and when reconnecting after zk expiration and improve init logic. 2016-02-23 13:59:04 -05:00
markrmiller 7d32456efa SOLR-8497: Merge indexes should mark it's directories as done rather than keep them around in the directory cache. 2016-02-23 13:15:01 -05:00
Noble Paul 9ce2d0d25d SOLR-8698: params.json can now have appends and invariants as well. 'useParams' specified in the requestHandler is always applied 2016-02-23 17:40:49 +05:30
Noble Paul a33236aa02 Merge remote-tracking branch 'origin/master' 2016-02-23 16:15:28 +05:30
Noble Paul 4d9d0c0011 SOLR-8719 renamed classes to make their usage generic 2016-02-23 16:14:49 +05:30
Dawid Weiss a77d67a926 SOLR-8711: follow-up removal of dependencies no longer used. 2016-02-23 10:49:23 +01:00
Noble Paul cf96432630 SOLR-8522: Make it possible to use ip fragments in replica placement rules , such as ip_1, ip_2 etc 2016-02-23 13:31:08 +05:30
Noble Paul e069d31086 SOLR-7362 2016-02-23 11:21:59 +05:30
Dennis Gove a7a6663720 SOLR-8718: Corrects location for note for SOLR-8666 in solr/CHANGES.txt 2016-02-22 20:39:35 -05:00
Noble Paul 982654b795 Merge remote-tracking branch 'origin/master' 2016-02-23 06:32:33 +05:30
Noble Paul eb1f8e2409 SOLR-8377 removed an unnecessary for loop 2016-02-23 06:12:33 +05:30
Dennis Gove d6105334a0 SOLR-8666: Adds header 'zkConnected' to response of SearchHandler and PingRequestHandler
Header is used to notify the client when a connection to zookeeper has been lost and there is a possibility of stale data on the node the request is coming from.
2016-02-22 19:25:17 -05:00
Dennis Gove 2c0a5e3036 SOLR-8599: After a failed connection during construction of SolrZkClient attempt to retry until a connection can be made 2016-02-22 19:25:16 -05:00
yonik 1203264640 SOLR-8691: Cache index fingerprints per searcher 2016-02-22 13:00:38 -05:00
yonik f47e6b2200 SOLR-8690: add solr.disableFingerprint system property 2016-02-22 12:44:30 -05:00
Dawid Weiss ed90697dd2 SOLR-8711: Upgrade Carrot2 clustering dependency to 3.12.0
SOLR-8710: Upgrade morfologik-stemming to version 2.1.0
LUCENE-7040: Upgrade morfologik-stemming to version 2.1.0
2016-02-22 18:23:50 +01:00
Christine Poerschke b14fb50b7f SOLR-8674: solr.tests.mergePolicy[Factory] tests now randomly choose between <mergePolicy> and <mergePolicyFactory>
* This increases <mergePolicy> vs. <mergePolicyFactory> test coverage.
* This temporarily also adds a little test setup complexity but when SOLR-8668 removes support for <mergePolicy> then test setup will return to its original complexity.
2016-02-22 15:22:55 +00:00
Noble Paul 1d0084a9cc Replacing Subversion with GIT 2016-02-22 05:40:44 +05:30
Noble Paul 5a15fed9f5 SOLR-8700 eliminate the java class for implicit plugins 2016-02-21 20:49:55 +05:30
jbernste 2b3529c3b8 SOLR-8708: DaemonStream should catch InterruptedException when reading underlying stream. 2016-02-20 22:35:10 -05:00
markrmiller 2fd90cd489 SOLR-8575: Add missing assert. 2016-02-20 20:35:21 -05:00
jbernste f9127a919a SOLR-8588: Update CHANGES.txt 2016-02-19 20:07:29 -05:00
jbernste b2475bf9fd SOLR-8588: Add TopicStream to the streaming API to support publish/subscribe messaging 2016-02-19 20:03:43 -05:00
markrmiller 3124a4debd SOLR-8693: Improve ZkStateReader logging. 2016-02-19 19:09:58 -05:00
markrmiller 9418369b46 SOLR-8697: Scope ZK election nodes by session to prevent elections from interfering with each other and other small LeaderElector improvements. 2016-02-19 17:06:38 -05:00
markrmiller 771f14cb6e SOLR-8656: PeerSync should use same nUpdates everywhere. 2016-02-19 16:41:49 -05:00
markrmiller 8cd53a076b SOLR-8633: DistributedUpdateProcess processCommit/deleteByQuery call finish on DUP and SolrCmdDistributor, which violates the lifecycle and can cause bugs. 2016-02-19 14:59:46 -05:00
markrmiller e30d638c51 SOLR-8695: Ensure ZK watchers are not triggering our watch logic on connection events and make this handling more consistent. 2016-02-19 14:36:53 -05:00
markrmiller 32fbca6ea7 SOLR-8694: DistributedMap/Queue can create too many Watchers and some code simplification. 2016-02-19 14:33:50 -05:00
markrmiller c4d31798cc SOLR-8701: CloudSolrClient decides that there are no healthy nodes to handle a request too early. 2016-02-19 08:51:19 -05:00
Uwe Schindler 6ccb43a7b7 Fix merge error in CHANGES.txt 2016-02-19 11:01:29 +01:00
anshum eb0e270043 SOLR-8677: Fix assert statement 2016-02-18 18:43:56 -08:00
anshum c7c5b8fe49 SOLR-8677: Fix broken build 2016-02-18 18:06:12 -08:00
Noble Paul 8fe946bde2 Merge remote-tracking branch 'origin/master' 2016-02-18 16:28:19 -08:00
Noble Paul 2977efa922 updatd the test in according with SOLR-7984 2016-02-18 16:27:53 -08:00
anshum a54e819a62 SOLR-8677: Fix broken build 2016-02-18 16:03:58 -08:00
anshum d01230d639 SOLR-8677: Restrict creation of shards with invalid names 2016-02-18 15:18:44 -08:00
Noble Paul 8bcac81a21 SOLR-8692 moved the embedded json out to resources dir 2016-02-18 14:59:09 -08:00
Mike McCandless b8f251d8e9 do not create a 5.6.0 version now since 5.5.0 is the last 5.x feature release 2016-02-18 16:45:57 -05:00
yonik 5d2fb9cf69 doc: explain why peersync fingerprinting is sometimes off 2016-02-18 13:24:01 -05:00
yonik 091889cf79 tests: additional prefix facet tests 2016-02-18 12:19:41 -05:00
Robert Muir b0a43aa1b2 LUCENE-7035: Upgrade icu4j to 56.1/unicode 8. 2016-02-17 20:10:02 -05:00
markrmiller 31437c9b43 SOLR-8416: The collections create API should return after all replicas are active. 2016-02-17 13:37:08 -05:00
Mike McCandless 25931d3624 suppress IW's pending deletes check when creating SpellChecker 2016-02-16 17:41:05 -05:00
markrmiller 0bba332549 SOLR-7339: Jetty 9.3 upgrade. 2016-02-16 16:01:10 -05:00
markrmiller 9184d52f68 SOLR-8683: Always consume the full request on the server, not just in the case of an error. 2016-02-16 16:01:10 -05:00
markrmiller a40118c9df SOLR-8578: Fully consume proxy requests and move CHANGES entry to 6.0. 2016-02-16 13:16:02 -05:00
markrmiller 13dda5debb SOLR-8669: Non binary responses use chunked encoding because we flush the outputstream early. 2016-02-16 13:11:37 -05:00
Uwe Schindler 74421d729b LUCENE-7028: Remove duplicate method in LegacyNumericUtils 2016-02-14 00:49:21 +01:00
Uwe Schindler 779120c6a4 SOLR-5730: Workaround non-working javadocs link (cannot refer to classes from packages in other modules that already exist in lucene-core.jar) 2016-02-13 13:53:17 +01:00
Christine Poerschke f9df240e5c SOLR-5730: rename TestSegmentTerminateEarlyState to SegmentTerminateEarlyTestState 2016-02-12 23:41:30 +00:00
markrmiller 4cc844897e SOLR-8575: Fix HDFSLogReader replay status numbers, a performance bug where we can reopen FSDataInputStream much too often, and an hdfs tlog data integrity bug. 2016-02-12 15:58:06 -05:00
Christine Poerschke 677779086c SOLR-5730: Make Lucene's SortingMergePolicy and EarlyTerminatingSortingCollector configurable in Solr. 2016-02-12 20:16:02 +00:00
Christine Poerschke 77558a649f SOLR-8621: SolrIndexConfig.toMap() fix to distinguish mergePolicyInfo and mergePolicyFactoryInfo, associated SolrIndexConfigTest and TestConfig tweaks. 2016-02-12 19:04:45 +00:00
Christine Poerschke 159ace1b7c SOLR-8621: solrconfig.xml in solr/server/solr/configsets and test-files/solr/configsets/bad-mergepolicy now also use <mergePolicyFactory> instead of <mergePolicy> 2016-02-11 20:41:35 +00:00
jbernste 111f45efa9 SOLR-8529: Improve JdbcTest to not use plain assert statements 2016-02-11 13:37:07 -05:00
jbernste 56b79ece8b SOLR-8527: Improve JdbcTest to cleanup properly on failures 2016-02-11 13:15:29 -05:00
Christine Poerschke b2e47984f4 SOLR-8621: add (test-framework) RandomForceMergePolicyFactory for existing (test-framework) RandomForceMergePolicy 2016-02-11 17:46:44 +00:00
jbernste 739b81063e SOLR-8190: Implement Closeable on TupleStream 2016-02-11 12:46:04 -05:00
Christine Poerschke 360051a414 SOLR-8621: factor out protected abstract WrapperMergePolicyFactory.getMergePolicyInstance method
Here in SOLR-8621:
 * UpgradeIndexMergePolicyFactory extends WrapperMergePolicyFactory
 * (WrapperMergePolicyFactoryTest's) DefaultingWrapperMergePolicyFactory extends WrapperMergePolicyFactory

Elsewhere in SOLR-5730:
 * SortingMergePolicyFactory will extend WrapperMergePolicyFactory
2016-02-11 17:05:17 +00:00
Mike McCandless 12b8721a44 Merge branch 'jira/lucene-5438-nrt-replication' 2016-02-11 11:20:18 -05:00
jbernste 35337e8cf2 SOLR-8461: Update CHANGES.txt 2016-02-11 10:59:26 -05:00
jbernste 8eb58cc000 SOLR-8461: CloudSolrStream and ParallelStream can choose replicas that are not active 2016-02-11 10:54:03 -05:00
markrmiller f6098148ae SOLR-8575: Revert while investigated. (reverted from commit ec4c72310f) 2016-02-11 08:32:37 -05:00
Mike McCandless 84637e99b1 bump version for 5.5.0 release 2016-02-11 04:26:27 -05:00
Varun Thacker 9985a0966b SOLR-8534: Fix SolrJ APIs to add async support 2016-02-10 16:53:52 -08:00
Christine Poerschke 6b6932e8e1 SOLR-8621: WrapperMergePolicyFactory logic tweaks
* fix so that getMergePolicy() can now be called more than once
 * added WrapperMergePolicyFactoryTest.testUpgradeIndexMergePolicyFactory()
 * account for overlap between wrapping and wrapped setters (and disallow it)
** illustration:
   <mergePolicyFactory class="UpgradeMergePolicyFactory">
      <int name="noCFSRatio">0.24</int>
      <str name="wrapped.prefix">mergePolicy</str>
                      <str name="mergePolicy.class">TieredMergePolicyFactory</str>
                      <int name="mergePolicy.noCFSRatio">0.42</int>
   </mergePolicyFactory>
** implementation details: the wrapping MP's setter calls the wrapped MP's setter and in the current code the wrapping MP's value prevails i.e. the 0.24 value in the illustration since the wrapped MP is constructed before the wrapping MP. an end-user however might reasonably assume that the wrapped MP's 0.42 value will prevail. at best configuring the same setter twice within the same overall <mergePolicyFactory> element is ambiguous and so the code now disallows it.
2016-02-10 22:24:15 +00:00
Christine Poerschke 588e3ff084 SOLR-8621: fix mergePolicyFacory vs. mergePolicyFactory typos in comments in solr/contrib and solr/example solrconfig.xml files. 2016-02-10 21:22:17 +00:00
markrmiller a8bc427aac SOLR-8578: Successful or not, requests are not always fully consumed by Solrj clients and we count on HttpClient or the JVM. 2016-02-10 15:32:56 -05:00
Christine Poerschke 5d32609cdc SOLR-8621: add IndexSchema arg to MergePolicyFactory constructor 2016-02-10 16:28:06 +00:00
markrmiller 8299b00868 SOLR-7281: Improve 'best effort', we don't want this best effort method to easily throw exceptions. 2016-02-10 10:27:43 -05:00
Shai Erera a5accccbfc SOLR-8621: fix solrconfig.xml under contrib and example 2016-02-10 16:33:01 +02:00
Noble Paul b889109da1 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-02-09 15:08:56 -08:00
Noble Paul 2184a7baf6 SOLR-6594 Mark old schema APIs as deprecated 2016-02-09 15:08:41 -08:00
Mikhail Khludnev 93750292c2 SOLR-8466: fixing CHANGES.txt moving to 5.5.0 Features. 2016-02-10 01:21:18 +03:00
Mikhail Khludnev eac3bb9b32 SOLR-8466: facet.method=uif for UnInvertedField faceting, like it was with 'fc' earlier. 2016-02-10 01:06:56 +03:00
Christine Poerschke b47eeb2bb3 SOLR-8621: more <mergePolicy> vs. <mergePolicyFactory> test coverage
* added bad-mpf-solrconfig.xml as MergePolicyFactory equivalent of bad-mp-solrconfig.xml (with DummyMergePolicyFactory as equivalent to DummyMergePolicy)

* added solrconfig-logmergepolicyfactory.xml as MergePolicyFactory equivalent of solrconfig-logmergepolicy.xml

* added solrconfig-mergepolicyfactory-nocfs.xml as MergePolicyFactory equivalent of solrconfig-mergepolicy-nocfs.xml

* added solrconfig-indexconfig-mergepolicyfactory.xml as MergePolicyFactory equivalent of solrconfig-indexconfig.xml

* added solrconfig-warmer-randommergepolicyfactory.xml as MergePolicyFactory equivalent of solrconfig-warmer.xml
2016-02-09 17:47:05 +00:00
Jan Høydahl be807919b6 SOLR-3141: Warn in logs when expensive optimize calls are made 2016-02-09 15:37:25 +01:00
Christine Poerschke e9c90037aa SOLR-8621: TestMergePolicyConfig.testTieredMergePolicyConfig now randomly chooses between solrconfig-tieredmergepolicy.xml and solrconfig-tieredmergepolicyfactory.xml; solrconfig-tieredmergepolicyfactory.xml fix so that TestMergePolicyConfig.testTieredMergePolicyConfig passes. 2016-02-09 12:36:24 +00:00
Christine Poerschke 3603760954 SOLR-8621: solr/CHANGES.txt 'Upgrading from 5.4' section now also mentions <mergeFactor> and <maxMergeDocs> deprecation, also useCompoundFile attribute/element. 2016-02-09 10:54:52 +00:00
Mike McCandless 88fea23176 turn off debug prints; add lucene.experimental to javadocs 2016-02-09 05:22:16 -05:00
Uwe Schindler 864df89339 More incorrect usage of default Locale 2016-02-09 08:49:39 +01:00
Uwe Schindler 8dddd88d30 Fix more locale bugs in SQL handler ans streams 2016-02-09 08:32:48 +01:00
markrmiller e78002bdc1 SOLR-7281: Add an overseer action to publish an entire node as 'down'. 2016-02-08 23:24:43 -05:00
Erick Erickson 1f66406cb3 Corrected CHANGES.txt entry for SOLR-2649 2016-02-08 19:50:28 -08:00
Erick Erickson b5823b50db SOLR-8658: Fix test failure introduced in SOLR-8651 2016-02-08 19:38:25 -08:00
markrmiller 899f1fcf74 SOLR-8551: Make collection deletion more robust. 2016-02-08 21:39:01 -05:00
markrmiller ea21b8fae8 SOLR-8615: Just like creating cores, we should use multiple threads when closing cores. 2016-02-08 20:41:04 -05:00
jbernste 784124e100 SOLR-8660: JdbcTest test failure due to Locale specific issue when checking for LIMIT clause. 2016-02-08 18:20:07 -05:00
Shai Erera 71f4e01d9f SOLR-8621: add missing package-info.java 2016-02-08 23:43:15 +02:00
Shai Erera fe2cf25079 SOLR-8621: Fix SolrIndexConfig.toMap() to use mergePolicyFactoryInfo if present 2016-02-08 23:20:13 +02:00
anshum 03d7f80b27 SOLR-8648: Support selective clearing up of stored async collection API responses via DELETESTATUS API 2016-02-08 13:15:46 -08:00
Shai Erera fc5b1ac279 SOLR-8621: deprecate <mergePolicy> in favor of <mergePolicyFactory> 2016-02-08 22:41:51 +02:00
jbernste 23fe5f2dc5 SOLR-8655: DaemonStream should 'put' EOF Tuple on the blocking queue 2016-02-07 20:42:12 -05:00
Erick Erickson 7053a99f49 SOLR-8651: The commitWithin parameter is not passed on for deleteById in UpdateRequest for distributed queries 2016-02-07 17:08:20 -08:00
jbernste a01c518b94 SOLR-8654: SQL: Unlimited SELECT without an ORDER BY should sort by _version_ desc 2016-02-07 18:17:21 -05:00
Erick Erickson f77feb718a SOLR-8642: SOLR allows creation of collections with invalid names 2016-02-07 14:52:40 -08:00
jbernste c2eb76941e SOLR-8502: Improve Solr JDBC Driver to support SQL Clients like DBVisualizer 2016-02-06 21:49:39 -05:00
jbernste 3d47612b04 SOLR-8652: Lower case the limit clause 2016-02-06 21:42:01 -05:00
jbernste 75a81795b8 SOLR-8652: Check if second to last token is limit to test for limit clause 2016-02-06 21:25:05 -05:00
jbernste ba20faa955 SOLR-8652: Implement Statement.setMaxRows() 2016-02-06 21:03:45 -05:00
jbernste dc6b1a68d2 SOLR-8507, SOLR-8638: Add information about database product name, product version, driver name, and driver version. Implement ConnectionImpl setCatalog and setSchema. 2016-02-06 20:25:51 -05:00
Erick Erickson 112a2311df Put CHANGES entry for SOLR-8500 in the wrong section. 2016-02-06 08:46:51 -08:00
Erick Erickson c04f0cb603 Merge remote-tracking branch 'origin/master' 2016-02-06 08:34:30 -08:00
Erick Erickson 3e7fe7867f SOLR-8500: Allow the number of threads ConcurrentUpdateSolrClient StreamingSolrClients configurable by a system property 2016-02-06 08:34:04 -08:00
Mike McCandless d2a5c10326 Merge branch 'master' into lucene-6835
Conflicts:
	lucene/facet/src/test/org/apache/lucene/facet/taxonomy/directory/TestAddTaxonomy.java
	lucene/facet/src/test/org/apache/lucene/facet/taxonomy/writercache/TestCompactLabelToOrdinal.java
2016-02-05 12:38:21 -05:00
Uwe Schindler 4569fd732a Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-02-05 00:07:50 +01:00
Uwe Schindler f6400e9cbb SOLR-8586: Fix forbidden APIS; cleanup of imports 2016-02-05 00:07:23 +01:00
Mark Miller ec4c72310f SOLR-8575: Fix HDFSLogReader replay status numbers and a performance bug where we can reopen FSDataInputStream too often. 2016-02-04 17:54:01 -05:00
Uwe Schindler 0f43705788 LUCENE-7013: Revert changes to package-info.java files (adds newline after license header and before javadocs back) 2016-02-04 23:02:50 +01:00
yonik 629767be06 SOLR-8586: add index fingerprinting and use it in peersync 2016-02-04 14:55:13 -05:00
Shai Erera 813ca77250 LUCENE-7013: Move license header to top of file 2016-02-04 15:51:19 +02:00
Noble Paul f85036cd9c SOLR-8640: CloudSolrClient does not send credentials for update request 2016-02-04 18:59:03 +05:30
Shai Erera 30455f728b LUCENE-7010: add MergePolicyWrapper 2016-02-04 09:24:24 +02:00
Dennis Gove 3528cc32cb SOLR-8409: Ensures that quotes in solr params (eg. q param) are properly handled 2016-02-03 20:42:48 -05:00
Mike McCandless 9cf74f791c merge master 2016-02-03 17:03:23 -05:00
Mike McCandless 845eec1036 cutover more places back to deleteFile 2016-02-03 15:44:08 -05:00
Erick Erickson 2c0a66bfbc Took out duplicate mention of SOLR-8308 (was only in trunk) 2016-02-02 15:01:19 -08:00
Mike McCandless 84f44589f6 migrate current patch from svn 2016-02-02 15:53:16 -05:00
Erick Erickson 70f87420ab SOLR-8308: Core gets inaccessible after RENAME operation with special characters 2016-02-02 11:23:48 -08:00
jbernste 70ad8316f4 SOLR-8631: Throw UnsupportedOperationException for DatabaseMetaDataImpl.getTypeInfo() 2016-02-02 13:24:20 -05:00
jbernste 2419a3873a SOLR-8510: Implement DatabaseMetaDataImpl.getSchemas() 2016-02-02 13:19:06 -05:00
jbernste c136bd7dc7 SOLR-8625: SQL: Wrong error msg if stmt param is missing 2016-02-01 16:52:01 -05:00
jbernste edf665988d SOLR-8508: Implement DatabaseMetaDataImpl.getCatalogs() 2016-02-01 16:21:13 -05:00
Steve Rowe 064c0ac00f SOLR-8607: The Schema API refuses to add new fields that match existing dynamic fields 2016-02-01 09:15:17 -05:00
Christine Poerschke 8e27c14aed SOLR-8600: add & use ReRankQParserPlugin parameter [default] constants, changed ReRankQuery.toString to use StringBuilder. 2016-02-01 12:00:39 +00:00
David Smiley 4cdce3db77 SOLR-7968: Make QueryComponent extensible 2016-01-31 22:25:37 -05:00
jbernste 14a2c16ca4 SOLR-8285: Update CHANGES.txt 2016-01-31 13:31:27 -05:00