Commit Graph

4716 Commits

Author SHA1 Message Date
Uwe Schindler f092795fe9 LUCENE-5097: Analyzer now has an additional tokenStream(String fieldName, String text) method, so wrapping by StringReader for common use is no longer needed. This method uses an internal reuseable reader, which was previously only used by the Field class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500862 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 17:55:48 +00:00
Grant Ingersoll 33d014f3aa SOLR-5010: add copy field support to the REST API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500737 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 14:00:23 +00:00
Shalin Shekhar Mangar 6e638c8460 SOLR-4978: Time is stripped from datetime column when imported into Solr date field if convertType=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500666 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 11:30:40 +00:00
Shalin Shekhar Mangar e98616b8f1 SOLR-4788: Multiple Entities DIH delta import: dataimporter.[entityName].last_index_time is empty
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500652 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 11:11:58 +00:00
Erick Erickson 89ea939a4a Fix broken test checked in with SOLR-4982
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500354 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 02:25:49 +00:00
Alan Woodward 1402e51c70 Move SOLR-4948 CHANGES.txt entry to 4.4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500316 13f79535-47bb-0310-9956-ffa450edef68
2013-07-06 19:30:36 +00:00
Erick Erickson 3b640360fd Fix for SOLR-4982, creating cores with sysprops does not dereference them properly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500284 13f79535-47bb-0310-9956-ffa450edef68
2013-07-06 14:45:47 +00:00
Uwe Schindler 0f3e2dd245 Fix broken generics
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500243 13f79535-47bb-0310-9956-ffa450edef68
2013-07-06 11:48:02 +00:00
Uwe Schindler f134d0856b SOLR-5009: CHANGES.txt now only list SOLR-5009 as part of SOLR-4948
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500166 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 23:15:07 +00:00
Uwe Schindler 852b1c79f3 SOLR-5009: fix issue number
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500157 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 22:56:45 +00:00
Uwe Schindler 568f6a398a SOLR-5009: Don't create multiple SolrResourceLoaders for same Solr home, wasting resources and slowing down startup. This fixes the problem where the loader was not correctly closed, making tests fail on Windows.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500156 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 22:45:28 +00:00
Robert Muir a278bb6628 SOLR-5002: optimize numDocs(Query,DocSet) when filterCache is null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500102 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 19:03:16 +00:00
Grant Ingersoll b119be488a SOLR-5003: add rowidOffset as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500097 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 18:51:16 +00:00
Grant Ingersoll 218856ac6d SOLR-5003: add rowid (line number) option to CSV Loader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500046 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 15:30:42 +00:00
Mark Robert Miller a69b1b0e3d SOLR-5007: clean up resource management
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499894 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 01:00:50 +00:00
Mark Robert Miller 40f9475570 SOLR-4916: Fix NOTICE - take Solr entry out of Lucene section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499842 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 18:55:06 +00:00
Shalin Shekhar Mangar dcbc79ce15 SOLR-4693: A "deleteshard" collections API that unloads all replicas of a given shard and then removes it from the cluster state. It will remove only those shards which are INACTIVE or have no range (created for custom sharding).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499655 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 05:04:21 +00:00
Steven Rowe e76d6599d9 SOLR-5000: ManagedIndexSchema doesn't persist uniqueKey tag after calling addFields method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499578 13f79535-47bb-0310-9956-ffa450edef68
2013-07-03 22:07:51 +00:00
Mark Robert Miller 7dc5d67fe4 SOLR-4916: Merge out separate hdfs solrconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499472 13f79535-47bb-0310-9956-ffa450edef68
2013-07-03 16:49:04 +00:00
Dawid Weiss efc6826ed8 LUCENE-5089: Update to Morfologik 1.6.0. MorfologikAnalyzer and MorfologikFilter no longer support multiple "dictionaries" as there is only one dictionary available.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499352 13f79535-47bb-0310-9956-ffa450edef68
2013-07-03 12:14:50 +00:00
Jan Høydahl e2fc82a978 SOLR-4986: Upgrade to Tika 1.4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499338 13f79535-47bb-0310-9956-ffa450edef68
2013-07-03 11:49:59 +00:00
Stefan Matheis d34a8fdaba SOLR-4815: Admin-UI - DIH: Let "commit" be checked by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499252 13f79535-47bb-0310-9956-ffa450edef68
2013-07-03 08:21:49 +00:00
Jan Høydahl 756e541620 SOLR-4452: Hunspell stemmer should not merge duplicate dictionary entries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499164 13f79535-47bb-0310-9956-ffa450edef68
2013-07-03 00:36:19 +00:00
Erick Erickson 42ca89d233 Fixing another file separator issue, test only
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499074 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 19:44:46 +00:00
Robert Muir 618cae1092 SOLR-4985: fix luceneMatchVersion in example config
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499017 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 16:59:02 +00:00
Shalin Shekhar Mangar b7203642fe SOLR-3369: shards.tolerant=true is broken for group queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498992 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 16:10:16 +00:00
Alan Woodward f38c5163cc SOLR-4948: Tidy up CoreContainer construction logic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498990 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 15:50:49 +00:00
Jan Høydahl 42b3251408 SOLR-4412: LanguageIdentifier lcmap for language field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498959 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 14:38:47 +00:00
Robert Muir 5f678a0e23 SOLR-4977: add back this null check, getConfig calls ensureOpen...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498957 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 14:37:55 +00:00
Robert Muir 28b372ad47 SOLR-4977: remove deprecated option
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498956 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 14:36:44 +00:00
Jan Høydahl 0a2107b5d7 SOLR-4412: Added comments about variant to schema.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498948 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 14:17:12 +00:00
Robert Muir 6b1cbf2d40 LUCENE-5087: Add getMultiValuedSeparator to PostingsHighlighter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498945 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 14:08:26 +00:00
Robert Muir 7b5c09d061 SOLR-4977: Add option to send infostream to the logging system
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498936 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 13:34:12 +00:00
Shalin Shekhar Mangar c100f376f0 SOLR-4933: Retry splitshard three times before giving up
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498923 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 13:22:50 +00:00
Mark Robert Miller 1c81ad7022 SOLR-4655: Add CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498767 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 03:31:00 +00:00
Mark Robert Miller e6497c1a9a SOLR-4933: if shard split fails with 500, wait a while to see if it succeeds on a retry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498763 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 03:10:43 +00:00
Mark Robert Miller 1829c3a811 SOLR-4981: Don't try and sync after SyncStrategy is closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498760 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 02:39:37 +00:00
Yonik Seeley 65d565b188 tests: force FS in the test method rather than for all replication test methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498704 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 21:33:19 +00:00
Yonik Seeley ecd53b8018 tests: disable MockDirectoryFactory for replication
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498659 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 20:09:12 +00:00
Steven Rowe 953cc51fda SOLR-4897: make add-unknown-fields-to-the-schema the default update.chain for all defined /update request handlers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498602 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 17:38:29 +00:00
Steven Rowe 96cc600172 SOLR-4897: add CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498562 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 16:52:07 +00:00
Steven Rowe 96077f9dff SOLR-4897: Create new example config set for schemaless mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498558 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 16:43:00 +00:00
Steven Rowe ff5f4d5be8 SOLR-4894: Add AddSchemaFieldsUpdateProcessorFactory: dynamically add fields to the schema if an input document contains unknown fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498555 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 16:34:09 +00:00
Yonik Seeley d96faa4a3a SOLR-4926: SolrDeletionPolicy.getLatestCommit can be null before IW is used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498554 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 16:33:55 +00:00
Mark Robert Miller 8227df4c04 SOLR-4981: Share HttpClient across SolrServers and shut it down on close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498540 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 16:10:52 +00:00
Mark Robert Miller b48deb09df remove stale comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498526 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 15:40:11 +00:00
Erick Erickson c8310ea09d SOLR-4974, tighten up shutdown logic. Inspired by SOLR-4960
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497999 13f79535-47bb-0310-9956-ffa450edef68
2013-06-29 18:40:49 +00:00
Robert Muir 92c42511c7 SOLR-4976: infostream doesn't work with merged segment warmer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497968 13f79535-47bb-0310-9956-ffa450edef68
2013-06-29 01:27:52 +00:00
Robert Muir 25b562d059 LUCENE-5080: fix CMS setters that depended on each other
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497967 13f79535-47bb-0310-9956-ffa450edef68
2013-06-29 01:13:27 +00:00
Mark Robert Miller 6235e48896 SOLR-4967: Supporting passing on multi value params when forwarding allowed params in DistributedUpdateProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497812 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 15:25:11 +00:00
Uwe Schindler b9729cd055 SOLR-4966: Fix problem with binary detection in Apache Rat by excluding the images folder
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497595 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 22:37:29 +00:00
Mark Robert Miller e547a5c03a SOLR-4973: Adding getter method for defaultCollection on CloudSolrServer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497582 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 22:13:52 +00:00
Uwe Schindler 15d3d0f46c Remove obsolete sha1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497572 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 21:37:01 +00:00
Mark Robert Miller 87eb3cc3e3 SOLR-4969: Enable ChaosMonkeyNothingIsSafeTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497543 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 20:00:38 +00:00
Mark Robert Miller 280e96e81f SOLR-4972: Add PUT command to ZkCli tool.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497499 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 19:03:40 +00:00
Mark Robert Miller 4567a2f6cc SOLR-4916: Fix test to close properly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497468 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 17:26:33 +00:00
Mark Robert Miller 181296ff41 SOLR-4916: Do not run hdfs tests on FreeBSD because they do not play nice with blackhole
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497458 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 17:17:49 +00:00
Mark Robert Miller 874e966970 SOLR-4916: Do not run hdfs tests on Windows as it requires cygwin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497451 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 17:08:50 +00:00
Uwe Schindler 32f4a55a18 More strict RAT checking (unfortunately the analysis supermodule does not import common-build). This will detect missing license headers in build.xml, too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497415 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 16:06:54 +00:00
Stefan Matheis f9a9649f71 SOLR-4966: CSS, JS and other files in webapp without license
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497311 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 11:40:44 +00:00
Steven Rowe d6d65851cf SOLR-4892: Add field update processors to parse/convert String-typed fields to Date, Number, and Boolean
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497165 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 00:44:27 +00:00
Mark Robert Miller 4ac141d204 SOLR-4916: add assume false to test for java 8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497159 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 00:31:35 +00:00
Mark Robert Miller 8bcc141fb9 SOLR-4916: Update NOTICE file and remove log4j from test-framework dependencies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497133 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 22:11:33 +00:00
Uwe Schindler 97f3c83b63 Remove license files no longer in use
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497131 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 22:06:08 +00:00
Yonik Seeley 811079b8c6 SOLR-4965: skip IW.commit if no changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497075 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 20:22:41 +00:00
Mark Robert Miller b9e1537a7e SOLR-4916: Add support to write and read Solr index files and transaction log files to and from HDFS.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497072 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 20:18:33 +00:00
Yonik Seeley bd6177d473 SOLR-4926: get latest commit from deletion policy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497054 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 19:33:36 +00:00
Mark Robert Miller bd1246fad6 SOLR-4926: Fixed rare replication bug that normally only manifested when using compound file format.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497020 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 17:36:45 +00:00
Grant Ingersoll cbe235516d SOLR-4921: UI now supports adding documents to a collection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1496994 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 16:27:43 +00:00
David Wayne Smiley 2239a52453 SOLR-2345: refactor out GeoDistValueSourceParser from HaversineConstFunction
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1496731 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 04:44:26 +00:00
Yonik Seeley c672b56305 SOLR-4960: fix race in CoreContainer.getCore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1496620 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 19:57:17 +00:00
Shai Erera 3cf2f34181 LUCENE-5078: Allow TfIDFSimilarity implementations to encode norm values into more than a single byte
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1496579 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 18:39:28 +00:00
Alan Woodward 450534ff3a Revert 1496505
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1496564 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 17:59:31 +00:00
Yonik Seeley d6b40cc39a SOLR-4960: race condition in shutdown of CoreContainer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1496546 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 17:18:46 +00:00
Alan Woodward f47bb580ee SOLR-4948: Tidy up CoreContainer construction logic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1496505 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 14:55:26 +00:00
Stefan Matheis 6ae55f1417 SOLR-4955: Admin UI - Show address bar on top for Schema + Config
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1495848 13f79535-47bb-0310-9956-ffa450edef68
2013-06-23 17:12:13 +00:00
Stefan Matheis bff085d540 SOLR-4949: UI Analysis page dropping characters from input box
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1495829 13f79535-47bb-0310-9956-ffa450edef68
2013-06-23 15:25:46 +00:00
Stefan Matheis c1e35f1b82 SOLR-4611: Admin UI - Analysis-Urls with empty parameters create empty result table
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1495826 13f79535-47bb-0310-9956-ffa450edef68
2013-06-23 15:00:59 +00:00
Stefan Matheis 9dab69c257 SOLR-4949: UI Analysis page dropping characters from input box
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1495822 13f79535-47bb-0310-9956-ffa450edef68
2013-06-23 14:14:45 +00:00
Chris M. Hostetter be9bf006c2 SOLR-4942: test improvements to randomize use of compound files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1495668 13f79535-47bb-0310-9956-ffa450edef68
2013-06-22 06:00:18 +00:00
Erick Erickson fab1b8babf test fix for SOLR-4935, path separator issue (second)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1495661 13f79535-47bb-0310-9956-ffa450edef68
2013-06-22 04:23:37 +00:00
Erick Erickson 3b33ded21a test fix for SOLR-4935, path separator issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1495621 13f79535-47bb-0310-9956-ffa450edef68
2013-06-21 22:17:30 +00:00
Steven Rowe 6e2d5fd21a SOLR-4893: javadoc for the new fieldNameMatchesSchemaField selector
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1495574 13f79535-47bb-0310-9956-ffa450edef68
2013-06-21 20:06:36 +00:00
Erick Erickson 86b76721e1 SOLR-4935 additional improvements for persisting solr.xml when manipulating cores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1495528 13f79535-47bb-0310-9956-ffa450edef68
2013-06-21 18:05:18 +00:00
Shalin Shekhar Mangar 5b32c4fad8 SOLR-4944 -- Disabling the test until we can fix it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1495295 13f79535-47bb-0310-9956-ffa450edef68
2013-06-21 06:28:56 +00:00
Adrien Grand 543d33f941 LUCENE-5063: Compress integer and long field caches and remove FieldCache.get(Byte|Short)s, default parsers and related class/methods (merged from r1494753 and r1495146).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1495156 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 20:07:57 +00:00
Chris M. Hostetter b3e02db3a9 SOLR-4941: Fix handling of <mergePolicy> init arg "useCompoundFile" -> IndexWriterConfig
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1494837 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 01:36:34 +00:00
Stefan Matheis 31d3dc8dec SOLR-4719 : Admin UI - Default to wt=json on Query-Screen
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1494772 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 20:55:19 +00:00
Stefan Matheis f38354e796 SOLR-4456: Admin UI: Displays dashboard even if Solr is down
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1494765 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 20:34:16 +00:00
Stefan Matheis f5a79d5162 SOLR-3838: Admin UI - Multiple filter queries are not supported in Query UI
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1494762 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 20:26:39 +00:00
Chris M. Hostetter 0a2d1a484e SOLR-4934: Fix handling of <mergePolicy> init arg "useCompoundFile" needed after changes in LUCENE-5038
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1494348 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 22:31:47 +00:00
Mark Robert Miller 625600da1c make ulog final and clean up a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1494330 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 21:52:14 +00:00
Mark Robert Miller e1005a0645 SOLR-4926: remove some silliness
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1494160 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 14:59:16 +00:00
Erick Erickson 0b6fa118f5 SOLR-4932 some extra parameters persisted to solr.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493982 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 01:30:49 +00:00
Shalin Shekhar Mangar 8233c923a1 SOLR-4931: SolrDeletionPolicy onInit and onCommit methods changed to override exact signatures (with generics) from IndexDeletionPolicy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493871 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 18:37:52 +00:00
Mark Robert Miller 6b06ac1026 SOLR-4923: do not test if not sending to leaders first
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493861 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 17:58:07 +00:00
Mark Robert Miller 4f05d88704 SOLR-4923: add missing credit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493829 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 16:13:38 +00:00
Mark Robert Miller 094b37b845 SOLR-4923: add optimization CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493782 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 14:37:49 +00:00
Mark Robert Miller fc9c0a8f14 SOLR-4923: Commits to non leaders as part of a request that also contain updates can execute out of order.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493779 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 14:31:22 +00:00
Erick Erickson 26416ba2e3 SOLR-4910, corrected typo in CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493622 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 01:44:59 +00:00
Erick Erickson 05eb306423 SOLR-4910, improvements to persisting solr.xml and misc other fixes, see CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493618 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 00:33:31 +00:00
Noble Paul 37981de101 SOLR-4925 Collection create throws NPE when 'numShards' param is missing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492808 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 18:42:54 +00:00
Simon Willnauer b7763af7df LUCENE-5038: Fix test, useCompoundFile doesn't exists anymore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492770 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 17:23:53 +00:00
Simon Willnauer e83c3f7a8b LUCENE-5038: Refactor CompoundFile settings in MergePolicy and IndexWriterConfig
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492701 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 15:11:14 +00:00
Mark Robert Miller af2128c683 SOLR-4915: The root cause should be returned to the user when a SolrCore create call fails.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492693 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 14:49:39 +00:00
Shalin Shekhar Mangar 14d7d11d59 SOLR-4920: JdbcDataSource incorrectly suppresses exceptions when retrieving a connection from a JNDI context and falls back to trying to use DriverManager to obtain a connection. Additionally, if a SQLException is thrown while initializing a connection, such as in setAutoCommit(), the connection will not be closed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492537 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 06:47:47 +00:00
Adrien Grand e021451d6c LUCENE-5042: Fix the n-gram tokenizers and filters.
This commit fixes n-gram tokenizers and filters so that they handle
supplementary characters correctly and adds the ability to pre-tokenize the
stream in tokenizers.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492185 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 13:17:49 +00:00
Steven Rowe fc4d7d3550 SOLR-4792: Skip target '-validate-maven-dependencies' in solr/webapp/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491970 13f79535-47bb-0310-9956-ffa450edef68
2013-06-11 21:25:02 +00:00
Mark Robert Miller eef4c01c99 fix script classpath
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491470 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 14:40:18 +00:00
Mark Robert Miller 4c57013878 SOLR-4224: Refactor JavaBinCodec input stream definition to enhance reuse.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491459 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 14:10:27 +00:00
Mark Robert Miller 5c052874e8 SOLR-4899: When reconnecting after ZooKeeper expiration, we need to be willing to wait forever, not just for 30 seconds.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491449 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 13:41:57 +00:00
Mark Robert Miller 84b3a0e40b SOLR-4789: CoreAdminHandler should write core.properties files in discovery mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491446 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 13:39:34 +00:00
Mark Robert Miller d35702de9a SOLR-4805,SOLR-4843: SolreCore#reload should not call preRegister and publish a DOWN state to ZooKeeper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491310 13f79535-47bb-0310-9956-ffa450edef68
2013-06-09 22:51:21 +00:00
Steven Rowe b0aef6e46d SOLR-4893: Extend FieldMutatingUpdateProcessor.ConfigurableFieldNameSelector to enable checking whether a field matches any schema field.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491102 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 23:52:47 +00:00
Robert Muir 92ec6ec337 SOLR-4792: stop shipping a war in 5.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491031 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 19:08:17 +00:00
Robert Muir 290ae62a44 LUCENE-4933: collapse Exact/SloppySimScorer into SimScorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1490971 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 12:42:36 +00:00
Chris M. Hostetter d08b2810fd SOLR-4890: remove /non/existent/dir/yields/warning from example
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1490889 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 00:53:32 +00:00
Chris M. Hostetter d342f49051 SOLR-4906: fix UpdateRequestProcessorChain class javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1490782 13f79535-47bb-0310-9956-ffa450edef68
2013-06-07 18:56:46 +00:00
Steven Rowe f28d9b855e SOLR-4891: Fix corruption of BigInteger values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1489914 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 15:27:31 +00:00
Steven Rowe a819fcbf8a SOLR-4891: JsonLoader should preserve field value types from the JSON content stream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1489676 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 00:47:43 +00:00
Chris M. Hostetter 9f5d970641 SOLR-4744: hackish attempt to get basic non cloud functionality to work again
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1489222 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 23:01:20 +00:00
Shalin Shekhar Mangar 2456fe59c0 SOLR-4744: Update failure on sub shard is not propagated to clients by parent shard
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1489138 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 20:02:30 +00:00
Chris M. Hostetter 0800ccd3c2 SOLR-4853: Fixed SolrJettyTestBase so it may be reused by end users
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1489081 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 17:58:01 +00:00
Chris M. Hostetter e38d831c4f SOLR-4858: svn add missing test class, and remove nocommit that was overriding randomization of updateLog in SolrTestCaseJ4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1488431 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 23:42:51 +00:00
Yonik Seeley b3acf03c7e SOLR-4858: increase ulog test coverage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1488365 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 19:40:51 +00:00
Yonik Seeley 145772accb SOLR-4858: call ulog.init on core reopen
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1488349 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 18:37:24 +00:00
Uwe Schindler 7239a57a51 SOLR-4881: Fix DocumentAnalysisRequestHandler to correctly use EmptyEntityResolver to prevent loading of external entities like UpdateRequestHandler does
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487976 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 18:58:58 +00:00
Uwe Schindler fecb6fb0a2 SOLR-4877, LUCENE-5023: Removed SolrIndexSearcher#getDocSetNC()'s special case for handling TermQuery to prevent NullPointerException if reader does not have fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487914 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 16:22:29 +00:00
Shalin Shekhar Mangar 2c1af23df7 SOLR-4870: RecentUpdates.update() does not increment numUpdates loop counter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487897 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 15:34:21 +00:00
Shawn Heisey b4bf678713 SOLR-4228: fix maven test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487602 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 19:21:14 +00:00
Stefan Matheis d4d127d5d1 SOLR-4867: Admin UI - setting loglevel on root throws RangeError (backport for 4.3.1)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487595 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 18:57:11 +00:00
Shalin Shekhar Mangar b9b4ded14c SOLR-4855: Move entry in change log to 4.3.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487552 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 17:16:30 +00:00
Shalin Shekhar Mangar f9a5dc2c88 SOLR-4855: DistributedUpdateProcessor doesn't check for peer sync requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487538 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 16:40:28 +00:00
Shawn Heisey a79ffdfeee SOLR-4868: fix inability to set root logger in Log4JWatcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487294 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 06:02:17 +00:00
Shalin Shekhar Mangar ee096e5cf8 SOLR-4863: Removed non-existent attribute sourceId from dynamic JMX stats to fix AttributeNotFoundException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487236 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 04:55:13 +00:00
Shawn Heisey a41bfba673 SOLR-4228: Add full ping functionality to SolrPing in SolrJ
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487189 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 01:46:19 +00:00
Chris M. Hostetter 277c65f9b9 additional examples of the switch parser inspired by a recent email thread
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487166 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 23:42:48 +00:00
Stefan Matheis 5ad879d348 SOLR-4867: Admin UI - setting loglevel on root throws RangeError
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487096 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 20:21:29 +00:00
Jan Høydahl d7f397056b SOLR-4785: Fixed bug with missing boost on toplevel query
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1486898 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 12:09:13 +00:00
Tommaso Teofili eee9bd713f SOLR-4865 - improved UIMA URP logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1486792 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 07:35:33 +00:00
Mark Robert Miller 2d716bfa97 SOLR-4745: Do not pass a SolrCore in ZkController.preRegister()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1485835 13f79535-47bb-0310-9956-ffa450edef68
2013-05-23 19:35:52 +00:00
Mark Robert Miller 6edd7326fd SOLR-4814: If a SolrCore cannot be created it should remove any information it published about itself from ZooKeeper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1485831 13f79535-47bb-0310-9956-ffa450edef68
2013-05-23 19:17:46 +00:00
Erick Erickson db6899a0ed SOLR-4849, test failures due to windows pathing issues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1485403 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 20:23:40 +00:00
Erik Hatcher 6a9fc2aa55 SOLR-4842: merge an additional test case from branch_4x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484889 13f79535-47bb-0310-9956-ffa450edef68
2013-05-21 17:44:34 +00:00
Erik Hatcher 850edd0251 SOLR-4842: merge from branch_4x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484884 13f79535-47bb-0310-9956-ffa450edef68
2013-05-21 17:33:34 +00:00
Mark Robert Miller 2e716bad60 test logging: key by hashCode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484795 13f79535-47bb-0310-9956-ffa450edef68
2013-05-21 13:23:03 +00:00
Shawn Heisey 946de09d26 SOLR-4048: improve and clean up findRecursive
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484386 13f79535-47bb-0310-9956-ffa450edef68
2013-05-20 07:39:55 +00:00
Shawn Heisey 927308b528 SOLR-4048: add findRecursive method to NamedList
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484135 13f79535-47bb-0310-9956-ffa450edef68
2013-05-18 16:16:18 +00:00
Shalin Shekhar Mangar 5c77220c72 Moving issues to 4.3.1 in change log before backport
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483661 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 06:15:38 +00:00
Koji Sekiguchi 420bb8c36e SOLR-4751: fix replication problem of files in sub directory of conf
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483620 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 00:28:54 +00:00
Yonik Seeley 069387266e SOLR-4829: fix tlog leaks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483561 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 20:49:59 +00:00
Steven Rowe 439c28f123 Make the Solr NOTICE.txt be a superset of Lucene's NOTICE.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483489 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 18:26:01 +00:00
Uwe Schindler d6565f839e LUCENE-5003: Fix linting javadocs with Java 8 and Eclipse JDT's ECJ compiler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483323 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 12:46:26 +00:00
Robert Muir f8c39032e0 fix test leak
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483140 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 01:13:56 +00:00
Mark Robert Miller 971fae640f SOLR-4825: Port SolrLogFormatter to log4j
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483088 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 21:18:57 +00:00
Mark Robert Miller b56b7edd50 fix test for windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1482983 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 18:05:05 +00:00
Mark Robert Miller 93d7c7ae6b SOLR-4734: Leader election fails with an NPE if there is no UpdateLog
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1482955 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 17:01:49 +00:00
Robert Muir 9728aaca9f send test logs to stderr again like before (makes it easier to separate from debugging SOPs)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1482922 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 15:53:57 +00:00
Robert Muir ca404e3ec0 SOLR-4448: Allow the solr internal load balancer to be more easily pluggable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1482600 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 21:29:52 +00:00
Chris M. Hostetter a1e29c7415 SOLR-4813: Fix SynonymFilterFactory to allow init parameters for tokenizer factory used when parsing synonyms file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1482474 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 17:21:50 +00:00
Robert Muir 93201959b8 SOLR-4785: add gbowyer's tests to unbreak build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481977 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 17:23:03 +00:00
Robert Muir 5b27bf880b filter out 'hidden' directories with a regex filter instead
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481954 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 16:29:40 +00:00
Mark Robert Miller c8178bd351 tests: improve test fail msg for easier debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481774 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 10:16:42 +00:00
Mark Robert Miller e64b4aa347 SOLR-4796: zkcli.sh should honor JAVA_HOME
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481753 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 09:36:53 +00:00
Mark Robert Miller ce5f508ff5 SOLR-4234: Add support for binary files in ZooKeeper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481675 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 00:30:25 +00:00
Jan Høydahl 1cd6be0712 SOLR-4785: New MaxScoreQParserPlugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481651 13f79535-47bb-0310-9956-ffa450edef68
2013-05-12 21:23:37 +00:00
Shawn Heisey 6e6ce33a94 SOLR-4807: zkcli fix for log4j and Windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481220 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 22:29:30 +00:00
Shalin Shekhar Mangar aec783468c SOLR-4806: Shard splitting does not abort if WaitForState times out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481145 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 19:01:20 +00:00
Shawn Heisey 3f0814fb79 SOLR-4760: fix typo in re-added bracket
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481129 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 18:19:06 +00:00
Erick Erickson 08a140dcf5 SOLR-4790, Defining a core with the same name should throw an error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481079 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 16:26:47 +00:00
Erick Erickson 2f4474d5ad added to CHANGES.txt for SOLR-4791
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481038 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 14:53:59 +00:00
Mark Robert Miller caf6b7f3c9 SOLR-4751: revert for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481030 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 14:35:11 +00:00
Erick Erickson fddfe20f9d Test fix for SOLR-4760
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480998 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 12:52:25 +00:00
Jan Høydahl 3a53c33984 SOLR-4563: RSS DIH-example not working
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480993 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 12:36:39 +00:00
Koji Sekiguchi 1ce5ec4b99 SOLR-4751: fix replication problem of files in sub directory of conf
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480988 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 12:07:29 +00:00
Shalin Shekhar Mangar d9140ea03d Move bug fixes to 4.3.1 changelog
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480888 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 06:05:23 +00:00
Shawn Heisey f3bb1d7d6f SOLR-4760: Include core name in logs when loading schema.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480882 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 05:51:39 +00:00
Shalin Shekhar Mangar fa5752b7f5 Preparing changelogs for a 4.3.1 release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480772 13f79535-47bb-0310-9956-ffa450edef68
2013-05-09 21:10:38 +00:00
Robert Muir d118a98365 sync up NOTICE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480522 13f79535-47bb-0310-9956-ffa450edef68
2013-05-09 03:09:16 +00:00
Chris M. Hostetter ca6a3a1b5f SOLR-4803: Fixed core discovery mode (ie: new style solr.xml) to treat 'collection1' as the default core name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480515 13f79535-47bb-0310-9956-ffa450edef68
2013-05-09 01:20:50 +00:00
Shalin Shekhar Mangar 5ef9e9eff4 SOLR-4797: Shard splitting creates sub shards which have the wrong hash range in cluster state. This happens when numShards is not a power of two and router is compositeId
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480478 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 21:57:31 +00:00
Dawid Weiss 84d08b269c LUCENE-4987: Upgrade randomized testing to version 2.0.10:
Test framework may fail internally due to overly aggresive J9 optimizations. 




git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480457 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 21:04:04 +00:00
Yonik Seeley 72065147d7 SOLR-4798: use correct router during index splitting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480383 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 18:10:56 +00:00
Robert Muir e19e272d62 SOLR-4791: Use URLClassLoader.close() to try to release jar files from URLClassLoader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480362 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 17:21:46 +00:00
Erick Erickson dcc27e14b6 Fix for SOLR-4791, sharedLib in solr.xml doesn't work
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480228 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 11:34:23 +00:00
Chris M. Hostetter a039f476c8 SOLR-4622: Hardcoded SolrCloud defaults for hostContext and hostPort that were deprecated in 4.3 have been removed completely.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480160 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 04:52:38 +00:00
Shalin Shekhar Mangar 3ffb10b13e SOLR-4795: Sub shard leader should not accept any updates from parent after it goes active
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480113 13f79535-47bb-0310-9956-ffa450edef68
2013-05-07 22:02:13 +00:00
James Dyer 67e922c392 SOLR-3240: add "spellcheck.collateMaxCollectDocs" (removing dead code).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1479645 13f79535-47bb-0310-9956-ffa450edef68
2013-05-06 17:17:57 +00:00
James Dyer 7141cb35a7 SOLR-3240: add "spellcheck.collateMaxCollectDocs" for estimating collation hit-counts.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1479638 13f79535-47bb-0310-9956-ffa450edef68
2013-05-06 16:49:46 +00:00
Adrien Grand fa76c30147 LUCENE-4963: Completely remove deprecated options in 5.0.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1479171 13f79535-47bb-0310-9956-ffa450edef68
2013-05-04 20:25:51 +00:00
Adrien Grand 8a7f2b6cc4 LUCENE-4963: Deprecate broken TokenFilter options.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1479148 13f79535-47bb-0310-9956-ffa450edef68
2013-05-04 18:18:08 +00:00
Jan Høydahl ec7317a8d6 SOLR-4784: Make class LuceneQParser public
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1479055 13f79535-47bb-0310-9956-ffa450edef68
2013-05-04 07:44:39 +00:00
Greg Bowyer 46dc9aa52c SOLR-4616: Add Changes.txt entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1478944 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 19:31:36 +00:00
Michael McCandless a7bcad65eb LUCENE-4976: fix Solr IndexDeletionPolicy impls to handle empty commits onInit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1478855 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 16:12:22 +00:00
Adrien Grand b895ebde43 LUCENE-4946: Refactor SorterTemplate (now Sorter).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1478785 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 13:37:45 +00:00
Uwe Schindler 3c9b859e85 SOLR-4711: Ignore the always failing tests when executes with Java 8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1478701 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 09:53:12 +00:00
Greg Bowyer e6bb37d297 SOLR-4616: Make HitRatio into a float in mbeans
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1478450 13f79535-47bb-0310-9956-ffa450edef68
2013-05-02 17:11:26 +00:00
Alan Woodward f35a93ef67 SOLR-4778: Move LogWatcher init code out of CoreContainer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1478152 13f79535-47bb-0310-9956-ffa450edef68
2013-05-01 19:25:52 +00:00
Shalin Shekhar Mangar 429a056988 SOLR-4776: Solrj doesn't return 'between' count in range facets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1477637 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 14:04:47 +00:00
Erick Erickson 13c05812fc SOLR-4773, discovery mode needed a change to instanceDir
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1477621 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 13:27:03 +00:00
Erik Hatcher d8d4072cf2 SOLR-4759: Velocity template cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476858 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 23:30:57 +00:00
Steven Rowe aa73a22aca SOLR-4729: exit loop after finding expected dynamic field definition in LukeRequestHandlerTest.testCatchAllCopyField()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476496 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 05:37:05 +00:00
Steven Rowe f42d02cc21 SOLR-4729: Remove CHANGES.txt entry from 4.4.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476493 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 05:20:13 +00:00
Steven Rowe feee17c344 SOLR-4729: Move CHANGES.txt entry to 4.3.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476491 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 05:17:26 +00:00
Steven Rowe e53378bac6 SOLR-4771: Throw a more specific exception when SLF4J logging jars cannot be found on the classpath.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476362 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 19:52:54 +00:00
Mark Robert Miller 2db8c9aa1b SOLR-4754: our config parser seems to have been changed to return "" when it used to return null on an empty value and broke default host detection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476347 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 19:10:31 +00:00
Chris M. Hostetter e7829139fc SOLR-4705: move CHANGES to 4.3.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476328 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 18:10:27 +00:00
Chris M. Hostetter 3e45d17a90 SOLR-4705: Fixed bug causing NPE when querying a single replica in SolrCloud using the shards param
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476310 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 17:34:08 +00:00
Steven Rowe 18c22df8de SOLR-4768: The Solr war produced by generate-maven-artifacts should not contain logging jars
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476237 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 14:53:24 +00:00
Mark Robert Miller 79f996a31b SOLR-4757: Change the example to use the new solr.xml format and core discovery by directory structure.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476227 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 14:32:35 +00:00
Simon Willnauer 2bcdaaa114 LUCENE-4961: Filters should return null if they don't accept documents
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476185 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 13:30:06 +00:00
Robert Muir 7cfcb26b92 SOLR-4761: add option to plug in mergedSegmentWarmer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476026 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 02:18:25 +00:00
Mark Robert Miller f3feb297d6 SOLR-4765: The new Collections API test deleteCollectionWithDownNodes fails often with a server 500 error.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1475869 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 17:46:52 +00:00
Mark Robert Miller 7b783b312c SOLR-4756: Change some of our existing tests to use the new solr.xml format and core discovery by directory structure.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1471545 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 17:16:21 +00:00
Mark Robert Miller ffbaa58de0 SOLR-4753: add assert so that tests fail when SolrCores are closed too many times
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1471114 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 19:44:52 +00:00
Shawn Heisey dea93395d0 SOLR-4547: Move logging of filenames on commit from INFO to DEBUG.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1471105 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 19:20:39 +00:00
Mark Robert Miller 03a855bac2 SOLR-4752: There are some minor bugs in the Collections API parameter validation.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1471091 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 18:48:45 +00:00
Uwe Schindler 8bf0797a22 LUCENE-4949: Make the version prefix ("SNAPSHOT") separately configurable to enable Jenkins use its BUILD_ID variable, cleanup code duplication
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470975 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 14:17:17 +00:00
Steven Rowe c8f3000300 SOLR-4729: LukeRequestHandler: Using a dynamic copyField source that is not also a dynamic field triggers error message 'undefined field: "(glob)"'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470820 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 05:56:05 +00:00
Mark Robert Miller 16012cfd99 SOLR-4749: Record solrcloud attribs even when not in zk mode.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470772 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 01:21:32 +00:00
Mark Robert Miller 7a70a0d6a3 SOLR-4749: Fix a few issues.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470766 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 01:07:05 +00:00
Mark Robert Miller 33abacf125 SOLR-4749: Clean up and refactor CoreContainer code around solr.xml and SolrCore management.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470758 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 00:09:30 +00:00
Steven Rowe 7410b25972 SOLR-3251: TestManagedSchema: Explicitly close managed-schema FileInputStream so that Windows can delete the file in the @After-annotated method that cleans up the temp directory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470723 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 21:25:52 +00:00
Mark Robert Miller 168047c4ec SOLR-4749: Clean up and refactor CoreContainer code around solr.xml and SolrCore management.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470709 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 20:39:24 +00:00
Steven Rowe eed3533439 SOLR-3251: Wait longer before failing when modified schema doesn't show up right away
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470686 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 19:54:03 +00:00
Mark Robert Miller 898058005a SOLR-4749: Remove nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470678 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 19:41:07 +00:00
Mark Robert Miller 87e248f2d5 SOLR-4749: Clean up and refactor CoreContainer code around solr.xml and SolrCore management.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470674 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 19:35:10 +00:00
Robert Muir 13be62c316 SOLR-4738: Upgrade jetty to 8.1.10.v20130312
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470626 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 17:25:11 +00:00
Robert Muir 89b08baab7 SOLR-2079: Add option to pass HttpServletRequest in the SolrQueryRequest context map
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470614 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 16:44:16 +00:00
James Dyer a24f93e728 SOLR-4333: edismax to not double-escape colons if already escaped by client application
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470577 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 15:31:04 +00:00
Robert Muir 60ffa638b6 SOLR-4748: remove more bogus files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470563 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 15:00:35 +00:00
Robert Muir 79e22bd13a SOLR-4748: remove bogus files in licenses/ directory and fix the build to fail again when this happens
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470558 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 14:49:54 +00:00
Steven Rowe 28b7111dc7 SOLR-3251: Dynamically add fields to schema.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470539 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 14:26:55 +00:00
Yonik Seeley db21fb0bbd SOLR-4746: fix JSON output for distributed grouping top level
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470523 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 14:08:10 +00:00
Mark Robert Miller 8aa09aeca0 SOLR-4741: Deleting a collection should set DELETE_DATA_DIR to true.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470255 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 02:42:05 +00:00
Mark Robert Miller 328cb6c744 don't return in a finally block
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470198 13f79535-47bb-0310-9956-ffa450edef68
2013-04-20 17:16:25 +00:00
Ryan McKinley 8795ba0c43 SOLR-4358: HttpSolrServer now supports forcing multipart requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469946 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 16:35:26 +00:00
Mark Robert Miller 496c2d0365 SOLR-4737: Update sha1 file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469678 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 03:50:24 +00:00
Mark Robert Miller 40717e3439 SOLR-4716,SOLR-4584: SolrCloud request proxying does not work on Tomcat and perhaps other non Jetty containers.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469672 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 03:30:35 +00:00
Mark Robert Miller 34417d7bf1 SOLR-4737: Update Guava to 14.01
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469663 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 02:06:36 +00:00
Chris M. Hostetter 0e0378eed5 SOLR-4729: testcase for catchall copyField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469529 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 19:13:36 +00:00
Chris M. Hostetter f6d497e9e7 improve upgrading instructions for 4.3 ... grouped by theme, and more focused on what people need to be concerned with instead of just cut/paste the changes entry for each jira.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469508 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 18:11:37 +00:00
Mark Robert Miller 3ec4cf018b fix CHANGES - this was in 4.2.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469346 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 14:38:06 +00:00
Robert Muir 7f2917c529 SOLR-4730: make wiki link more prominent in release documentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469125 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 01:43:27 +00:00
Mark Robert Miller 673aaeb813 SOLR-4662: Discover SolrCores by directory structure rather than defining them in solr.xml. Also, change the format of solr.xml to be closer to that of solrconfig.xml. This version of Solr will ship the example in the old style, but you can manually try the new style. Solr 4.4 will ship with the new style, and Solr 5.0 will remove support for the old style.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469089 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 22:49:48 +00:00
Chris M. Hostetter ad47f73895 SOLR-4661: Admin UI Replication details now correctly displays the current replicable generation/version of the master
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469073 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 21:13:20 +00:00
Robert Muir 6cce8ceb60 add 4.4 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469033 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 19:22:39 +00:00
Chris M. Hostetter 836cb113f1 SOLR-4487: HttpSolrServer now includes the true http status code in SolrExceptions that it throws
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468705 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 01:24:53 +00:00
Ryan McKinley 5fc7f74c8c SOLR-4358: reverting sending the name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468680 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 23:31:10 +00:00
Uwe Schindler d3f02004d4 Merged revision(s) 1468638 from lucene/dev/branches/branch_4x:
LUCENE-4937: Fix incorrect sorting of float/double values (+/-0, NaN).

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468640 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 22:12:44 +00:00
Ryan McKinley 4ee9cdff7a SOLR-4358: HttpSolrServer sends the stream name and exposes useMultiPartPost
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468571 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 19:26:12 +00:00
Ryan McKinley 6b1e7726e7 SOLR-4671: CSV writer now supports pseudo fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468549 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 18:34:22 +00:00
Ryan McKinley dd28755d00 Merged revision(s) 1468522 from lucene/dev/branches/branch_4x:
SOLR-4717, SOLR-1351: adding Uri to CHANGES.txt
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468523 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 17:30:45 +00:00
Ryan McKinley a18dd62903 SOLR-1351, SOLR-4717 -- facet same field multiple ways
........
Merged revision(s) 1468511 from lucene/dev/branches/branch_4x:


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468513 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 17:16:01 +00:00
Ryan McKinley 4642adae86 SOLR-4717: SimpleFacets uses localParams (merge from 4x)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468486 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 16:13:44 +00:00
Shalin Shekhar Mangar 51cbaae610 SOLR-3755: Increasing read timeout for cloud client
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468430 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 14:24:50 +00:00
Shalin Shekhar Mangar 358e9709cf SOLR-3755: Reverting r1467855 because it can mask timeout related problems in ChaosMonkeyShardSplitTest. Increasing read timeouts instead.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468392 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 12:26:50 +00:00
Erick Erickson fecbb50d7e Changes for SOLR-4662, finalizing the new form of solrxml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468284 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 00:34:49 +00:00
Chris M. Hostetter e72896f0f3 SOLR-4629: use explicit sort in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468256 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 22:24:16 +00:00
Mark Robert Miller 77c25415a7 SOLR-4710: You cannot delete a collection fully from ZooKeeper unless all nodes are up and functioning correctly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468247 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 22:07:12 +00:00
Shalin Shekhar Mangar 9431cb06bd SOLR-3755: Make sure sub shard leader is live before forwarding requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468078 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 13:58:19 +00:00
Shalin Shekhar Mangar 7114859f09 SOLR-3755: Treat no live SolrServers available as a recoverable error and count document to avoid spurious failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467855 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 05:39:21 +00:00
Shalin Shekhar Mangar f975a02658 SOLR-3755: Refactored ShardSplitTest and ChaosMonkeyShardSplitTest to share code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467799 13f79535-47bb-0310-9956-ffa450edef68
2013-04-14 16:14:21 +00:00
Uwe Schindler b1391bef1c Update link in SysReq page (the old one is still valid and redirects, but to specific)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467761 13f79535-47bb-0310-9956-ffa450edef68
2013-04-14 10:44:04 +00:00
Shalin Shekhar Mangar 763568f95f SOLR-3755: Added debugging code to test to track test failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467728 13f79535-47bb-0310-9956-ffa450edef68
2013-04-14 06:42:42 +00:00
Chris M. Hostetter 8dd71d2dbe SOLR-4629: TestReplicationHandler improvements
- new testEmptyCommits
 - numFound assertion refactoring
 - reduce excessive test sleeping in rQuery
 - new "wait" option to make fetchindex block
 - refactor core reload test to wait for the startAt time to change




git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467723 13f79535-47bb-0310-9956-ffa450edef68
2013-04-14 03:35:43 +00:00
Erik Hatcher dfd50b7438 merge from r1467413
* SOLR-4680: Correct example spellcheck configuration's queryAnalyzerFieldType and
  use "text" field instead of narrower "name" field (ehatcher, Mark Bennett)

* SOLR-4702: Fix example /browse "Did you mean?" suggestion feature. (ehatcher, Mark Bennett)

(note, I don't have JDK7 available currently, but merge from 4x r1467413 looks good)



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467416 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 19:01:18 +00:00
Robert Muir a79c85d338 LUCENE-4896: make PassageFormatter abstract
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1467397 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 18:25:34 +00:00
Robert Muir eaef2538cc spelling and formatting fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466928 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 15:46:57 +00:00
Shalin Shekhar Mangar 4c0f248b19 SOLR-4695: Fix core admin SPLIT action to be useful with non-cloud setups. Fixing change log entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466858 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 12:51:49 +00:00
Shalin Shekhar Mangar a043c9a4d5 SOLR-4685: Fix core admin SPLIT action to be useful with non-cloud setups
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466855 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 12:49:55 +00:00
Steven Rowe c91f22b0b0 SOLR-4658:
- Fix class name shortening issues, for SimilarityFactory's, FieldType's, and analysis factories: persisted class names' original forms are preserved in both shortened form (e.g. 'solr.TextField') and fully qualified form (e.g. 'org.apache.solr.schema.TextField')
- luceneMatchVersion on analysis factories is now persisted only when explicitly specified in the original; previously the default value was persisted when it was absent in the original
- Add MockTokenFilterFactory

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466720 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 22:36:19 +00:00
Mark Robert Miller f9d36d9fda SOLR-4699: The System admin handler should not assume a file system based data directory location.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466649 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 19:52:33 +00:00
Shalin Shekhar Mangar e27b3f24c0 SOLR-3755: Set update log to buffer before core is published
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466506 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 15:08:39 +00:00
Erick Erickson ae84b6a178 =SOLR-4663, SOLR-4347, SOLR-1905. Warn for bad core configs, persist transient cores correctly, do not persist implicit properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466291 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 23:46:24 +00:00
Yonik Seeley b7e58e8efb tests: test negative numbers in TestRandomFaceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466152 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 17:41:55 +00:00
Yonik Seeley 1c112f238e SOLR-4581: remove nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466149 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 17:37:47 +00:00
Shalin Shekhar Mangar 2715fc2910 SOLR-3755: Make ChaosMonkeyShardSplitTest more consistent with ShardSplitTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466093 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 15:59:35 +00:00
Shalin Shekhar Mangar 6a7ff16d94 SOLR-3755: Mark indexDir to be deleted while unloading sub-shard cores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466090 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 15:57:00 +00:00
Yonik Seeley 2c34cb858e SOLR-4581: make float/double bits sort correctly for faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466078 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 15:19:27 +00:00
Robert Muir a6c5fe9f3a SOLR-4677: Improve Solrs use of spec version
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466031 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 13:51:01 +00:00
Shalin Shekhar Mangar ccf99d3e6c SOLR-4530: DIH: Provide configuration to use Tika's IdentityHtmlMapper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465879 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 04:40:12 +00:00
Mark Robert Miller 1a9de4ba0a SOLR-4691: zkcli.sh/bat is broken because it cannot find the logging jars.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465836 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 00:15:43 +00:00
Shalin Shekhar Mangar fcb859806b SOLR-3755: Set update log to buffering mode in preRegister before the core can accept any requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465760 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 20:00:15 +00:00
Chris M. Hostetter 71397bebd4 SOLR-4672: Requests attempting to use SolrCores which had init failures now result in 500 error responses with the details about the init failure, instead of 404 error responses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465749 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 19:56:16 +00:00
Shalin Shekhar Mangar 873b2308b6 SOLR-3755: A new collections api to add additional shards dynamically by splitting existing shards
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465661 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 15:16:31 +00:00
Mark Robert Miller e0cd09fe00 SOLR-4667: Our logging configuration files should set ZooKeeper logging to WARN
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465531 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 02:39:01 +00:00
Adrien Grand 2951c6ebf6 LUCENE-4911: Synchronize Solr stopwords list.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465259 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 15:23:21 +00:00
Robert Muir b1b1247a65 SOLR-4684: add encoder config to PostingsSolrHighlighter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465258 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 15:14:46 +00:00
Robert Muir 609c2f2065 SOLR-4683: add BreakIterator config to PostingsSolrHighlighter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465249 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 14:17:40 +00:00
Robert Muir 57bf443834 SOLR-4675: Improve PostingsHighlighter integration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465228 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 11:48:47 +00:00
Shalin Shekhar Mangar 9176726895 SOLR-4682: CoreAdminRequest.mergeIndexes can not merge multiple cores or indexDirs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465196 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 05:58:18 +00:00
Andrzej Bialecki 0b999ebb46 SOLR-4648 Add PreAnalyzedUpdateProcessorFactory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1464889 13f79535-47bb-0310-9956-ffa450edef68
2013-04-05 08:46:12 +00:00
Chris M. Hostetter 03c9371830 SOLR-4128: test proving this works now (apperas to have been fixed in SOLR-4036)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1464802 13f79535-47bb-0310-9956-ffa450edef68
2013-04-05 00:55:34 +00:00
Adrien Grand 9588a84dec LUCENE-4874: Don't override non abstract methods that have an impl through
other abstract methods in FilterAtomicReader and related classes.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1464710 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 19:48:45 +00:00
Robert Muir e78fd1cec9 LUCENE-4905: make maxPassages per-field in postingshighlighter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1464685 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 19:20:18 +00:00
Mark Robert Miller 68a1ca91c5 SOLR-4664: ZkStateReader should update aliases on construction.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1464020 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 13:58:10 +00:00
Dawid Weiss 160cec5c95 SOLR-4653: Solr configuration should log inaccessible/ non-existent relative paths in lib dir=...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463836 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 06:40:59 +00:00
Uwe Schindler e529be4006 SOLR-4652: Fix broken behavior with shared libraries in resource loader for solr.xml plugins.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463794 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 23:44:45 +00:00
Erick Erickson aefecd26a4 SOLR-4656, additional parameters for limiting work when highlighting multivalued fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463543 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 13:44:58 +00:00
Steven Rowe 6de43dea0a LUCENE-4877: more param parsing verbs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463335 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 23:45:33 +00:00
Erick Erickson 932923ee4b Fix for SOLR-4615, pull solr.properties out prior to deciding on the new mechanism
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463316 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 22:04:32 +00:00
Chris M. Hostetter 3d184a2452 SOLR-4622: deprecate hardcoded hostContext and hostPort defaults
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463242 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 18:27:50 +00:00
James Dyer 54f8c01026 SOLR-3758: SpellCheckComponent to work properly with distributed grouping
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463219 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 17:43:27 +00:00
Robert Muir 29b5142e79 LUCENE-4877: throw exception for invalid arguments in analysis factories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463191 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 16:30:00 +00:00
Steven Rowe b1e4ba6843 SOLR-4658: In preparation for REST API requests that can modify the schema, a "managed schema" is introduced.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463182 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 16:16:03 +00:00
Robert Muir 48a28acbfd LUCENE-4861: make BreakIterator per-field in PostingsHighlighter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463083 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 04:39:49 +00:00
Erick Erickson 42b081cd5c SOLR-4657, core left open during stress tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463068 13f79535-47bb-0310-9956-ffa450edef68
2013-03-31 23:31:08 +00:00
Adrien Grand 1f964c5764 LUCENE-4876: Deeply clone IndexWriterConfigs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462656 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 21:56:46 +00:00
Steven Rowe 11068128d1 SOLR-4650: make BadCopyFieldTest extend AbstractBadConfigTestBase, which handles exceptions properly and deletes the core init'd to test config
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462522 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 16:18:22 +00:00
Robert Muir abea806409 SOLR-4641: Schema should throw exceptoin on illegal field parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462502 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 15:46:58 +00:00
Erick Erickson a6e3ba52c0 SOLR-4549 - Hardening tests after SOLR-4196
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462495 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 14:55:07 +00:00
Steven Rowe 167a4b84c3 SOLR-4650: copyField doesn't work with source globs that don't match any explicit or dynamic fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462396 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 04:33:34 +00:00
Shawn Heisey 33c3778360 SOLR-4651: remove dist-excl-slf4j build target
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462306 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 21:24:29 +00:00
Steven Rowe 20cf1b7226 remove upgrading section attribution
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462289 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 20:13:31 +00:00
Mark Robert Miller b09717828d SOLR-3706: add example/resources to solrj test classpath - without this, it's not finding a log4j config
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462260 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 18:56:07 +00:00
Chris M. Hostetter 1ad382f304 SOLR-3956: Fixed group.facet=true to work with negative facet.limit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462227 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 17:37:23 +00:00
Mark Robert Miller 175b33d5c7 SOLR-3706: remove log dependencies from core, exclude example log jars from test classpath, add versions to example log jars
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462145 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 15:14:29 +00:00
Steven Rowe 2fe1c91963 SOLR-4649: The Solr .war should not include (test-scope-only) cglib-nodep and objenesis jars
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461769 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 18:31:18 +00:00
Mark Robert Miller 51b597832e SOLR-3706: straighten out license files and jar checksums
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461717 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 17:16:26 +00:00
Mark Robert Miller 612b179d09 SOLR-3706: Ship setup to log with log4j.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461587 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 14:09:38 +00:00
Stefan Matheis d8df3a2d55 SOLR-4405: Admin UI - admin-extra files are not rendered into the core-menu
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461447 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 08:40:22 +00:00
Steven Rowe ad9a5b91e0 SOLR-4623: Fix classname shortening:
- Rename FieldType.normalizeSPIname() to getShortName()
- Stop shortening analyzer classnames
- Stop outputting analyzer classname from FieldType.getAnalyzerProperties() when the analyzer is TokenizerChain 
- In FieldType.getShortName(), tighten the set of package prefixes that will be shortened to 'org.apache.lucene.analysis.(whatever)', 'org.apache.solr.analysis.', and 'org.apache.solr.schema.'

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461418 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 05:30:26 +00:00
Steven Rowe 77e9e58300 SOLR-4623: When serializing similarity factories, don't reduce class names of Similarity's wrapped with the anonymous factory to 'solr.<SimpleClassName>'; also, only reduce the class name of sim factories located in the org.apache.solr.search.similarities package, rather than that of any sim factory under packages org.apache.lucene.** and org.apache.solr.**
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461378 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 23:51:17 +00:00
Steven Rowe 61875d4c8f LUCENE-4879: Finish solr upgrade: upgrade randomizedtesting-runner and junit4-ant dependencies in solr/test-framework/ivy.xml; and add junit4-ant 2.0.9 SHA1 to solr/licenses/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461280 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 19:40:56 +00:00
Steven Rowe 396300149d LUCENE-4879: Add randomizedtesting-runner 2.0.9 SHA1 to solr/licenses/; Maven configuration: upgrade randomizedtesting-runner from 2.0.8 to 2.0.9.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461161 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 14:59:37 +00:00
Mark Robert Miller 2b6e3dd7ad SOLR-4644: try passing test.distrib.skip.servers on - if we hit a replica, we want it passed to the leader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460980 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 06:01:44 +00:00
Mark Robert Miller b4e22c267d SOLR-4642: QueryResultKey is not calculating the correct hashCode for filters.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460803 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 18:16:14 +00:00
Mark Robert Miller d1cbd22a65 tests: a little more debug logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460761 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 16:55:57 +00:00
Steven Rowe 5c7ca6aa48 SOLR-4623: Provide REST API read access to all elements of the live schema. Add a REST API request to return the entire live schema, in JSON, XML, and schema.xml formats. Move REST API methods from package org.apache.solr.rest to org.apache.solr.rest.schema, and rename base functionality REST API classes to remove the current schema focus, to prepare for other non-schema REST APIs. Change output path for copyFields and dynamicFields from "copyfields" and "dynamicfields" (all lowercase) to "copyFields" and "dynamicFields", respectively, to align with all other schema REST API outputs, which use camelCase.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460519 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 04:29:33 +00:00
Mark Robert Miller a7a799c403 SOLR-4640: CachingDirectoryFactory can fail to close directories in some race conditions.
SOLR-4637: Replication can sometimes wait until shutdown or core unload until removing some tmp directories.
SOLR-4638: DefaultSolrCoreState#getIndexWriter(null) is a way to avoid creating the IndexWriter earlier than necessary, but it's not implemented quite right.
SOLR-4597: fixes, improvements
SOLR-4629: Stronger testing.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460510 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 02:34:42 +00:00
Yonik Seeley aba19484b9 SOLR-3819: make grouped faceting respect filter exclusions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460141 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 13:36:15 +00:00
Mark Robert Miller a8537b0323 remove cruft
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460077 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 02:40:41 +00:00
Mark Robert Miller f7cdbe2fc6 remove cruft
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460076 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 02:40:12 +00:00
Mark Robert Miller 9bfed46053 SOLR-4636: If opening a reader fails for some reason when opening a SolrIndexSearcher, a Directory can be left unreleased.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460071 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 01:32:02 +00:00
Uwe Schindler bf368745b9 SOLR-4634: Fix scripting engine tests to work with Java 8's "Nashorn" Javascript implementation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460069 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 00:53:25 +00:00
Uwe Schindler 55478afcb7 LUCENE-4808: Undo the workaround for compilation in Java 8, the bug is fixed in b82
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460039 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 22:41:55 +00:00
Mark Robert Miller 3cc1919645 tests: harden
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459846 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 15:31:51 +00:00
Michael McCandless 0e830fbae4 LUCENE-4860: per-field control over scoring and formatting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459816 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 14:50:11 +00:00
Mark Robert Miller 3a8318ccd1 simplify
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459646 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 06:55:01 +00:00
Mark Robert Miller be4edb9ca4 tests: make test a little nastier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459638 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 05:34:34 +00:00
Mark Robert Miller efe78df1e8 tests: raise timeout from 15 to 30
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459624 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 04:39:25 +00:00
Mark Robert Miller 39f1b02fd2 SOLR-4629: More Replication testing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459618 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 04:07:17 +00:00
Mark Robert Miller 324806c7b1 tests: improve logging around sync slice test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459616 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 03:39:27 +00:00
Mark Robert Miller 3dab717eaf tests: raise fudge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459611 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 02:10:33 +00:00
Mark Robert Miller a5fd71f0ee tests: try waiting for collection first
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459596 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 00:05:37 +00:00
Mark Robert Miller f6fa8c215d SOLR-4624: remove leftover forceNew params.
SOLR-4626: getIndexWriter(null) should also respect pauseWriter.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459570 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 23:03:21 +00:00
Mark Robert Miller 5b3cdaca44 SOLR-4624: CachingDirectoryFactory does not need to support forceNew any longer and it appears to be causing a missing close directory bug. forceNew is no longer respected and will be removed in 4.3.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459565 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 22:44:14 +00:00
Yonik Seeley 7584c40c7a SOLR-4625: fix boosts and phrase slops on sub parsers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459537 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 21:31:19 +00:00
Yonik Seeley 27f5cd5fb8 SOLR-4608: use default update processor chain during log replay and peersync
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459424 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 17:56:31 +00:00
Jan Høydahl 810f740409 SOLR-4621: SYSTEM_REQUIREMENTS.txt points to non-existing BUILD.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459263 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 12:30:20 +00:00
Michael McCandless 9946aeffb0 LUCENE-4856: If there are no matches for a given field, return the first maxPassages sentences
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458889 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 15:36:14 +00:00
Chris M. Hostetter ad81236c7d SOLR-4589: Fixed CPU spikes and poor performance in lazy field loading of multivalued fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458887 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 15:33:55 +00:00
Mark Robert Miller a26e0dd616 SOLR-4617: SolrCore#reload needs to pass the deletion policy to the next SolrCore through it's constructor rather than setting a field after.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458880 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 15:18:19 +00:00
Mark Robert Miller 40456eb8e2 tests: a bit more testing on proxy request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458602 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 01:27:21 +00:00
Mark Robert Miller 7e3ae01860 SOLR-4311: move CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458509 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 20:56:28 +00:00
Mark Robert Miller 0ab805492f move CHANGES entries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458444 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 18:25:42 +00:00
Mark Robert Miller 40cb21ab0c SOLR-4297: Move CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458392 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 16:38:09 +00:00
Mark Robert Miller 52d2d3fd6f SOLR-4604: Move CHANGES entry.
SOLR-4605: Move CHANGES entry.
SOLR-4609: Move CHANGES entry.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458155 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 05:49:25 +00:00
Mark Robert Miller 7b7e433c3e SOLR-4601: Move CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458150 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 05:40:21 +00:00
Mark Robert Miller e0dfdc65a6 SOLR-4602: Move CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458148 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 05:35:16 +00:00
Mark Robert Miller 09af43986a SOLR-4597: Move CHANGES entry.
SOLR-4598: Move CHANGES entry.
SOLR-4599: Move CHANGES entry.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458144 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 05:14:19 +00:00
Mark Robert Miller fb480979e0 SOLR-4596: Move CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458141 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 04:58:39 +00:00
Mark Robert Miller a6661a5a45 SOLR-4594: Move CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458136 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 04:51:09 +00:00
Mark Robert Miller 253773b26c SOLR-4573: Move CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458131 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 04:40:29 +00:00
Mark Robert Miller 1df2d12ec5 SOLR-4595: Move CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458128 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 04:32:59 +00:00
Mark Robert Miller 2dd012f5bb SOLR-4592: Move CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458125 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 04:18:39 +00:00
Mark Robert Miller 6d59bca940 SOLR-4585: Move CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458121 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 04:12:30 +00:00
Mark Robert Miller 4d8837a245 SOLR-4569: Move CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458118 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 03:59:46 +00:00
Mark Robert Miller 72730b1dd8 SOLR-4570: Move CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458115 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 03:47:27 +00:00
Mark Robert Miller 4d60d4c619 SOLR-4568: Move CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458109 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 03:19:56 +00:00
Mark Robert Miller 7a2b03017a SOLR-4574: Move CHANGES entry.
SOLR-4576:  Move CHANGES entry.
SOLR-4577:  Move CHANGES entry.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458105 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 03:13:56 +00:00
Mark Robert Miller 83adfe539e SOLR-4578: Move CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458099 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 03:06:34 +00:00
Mark Robert Miller 7158d983b1 SOLR-4555: Move CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458054 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 22:52:30 +00:00
Mark Robert Miller 482e95cb91 SOLR-4475: Move CHANGES entry.
SOLR-4551: Move CHANGES entry.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458033 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 22:01:33 +00:00
Michael McCandless dfaddf1aa8 LUCENE-4853: PostingsHighlighter: add method that takes int[] docIDs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458014 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 21:29:26 +00:00
Mark Robert Miller 12c2d46446 SOLR-4609: The Collections API should only send the reload command to ACTIVE cores.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457864 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 17:03:42 +00:00
Robert Muir 1e656d42c5 SOLR-4606: set the random seed used to shuffle shards within tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457821 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 15:40:41 +00:00
Mark Robert Miller dfc1718c4c SOLR-4597: Because of Windows, we have to wait to delete the data dir after the SolrCore is closed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457816 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 15:36:40 +00:00
Robert Muir edc777e22e SOLR-4607: use noggit 0.5 release jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457811 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 15:28:35 +00:00
Mark Robert Miller d5bcb41586 SOLR-4605: Rollback does not work correctly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457784 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 14:52:49 +00:00
Robert Muir c04a4a5c96 SOLR-4544: Refactor HttpShardHandlerFactory so load-balancing logic can be customized
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457754 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 13:21:41 +00:00
Uwe Schindler 9a54942863 LUCENE-4747: Fix nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457747 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 13:07:24 +00:00
Uwe Schindler 6231597974 LUCENE-4747: Move to Java 7 in trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457734 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 12:28:52 +00:00
Mark Robert Miller 0756041335 SOLR-4604: remove previous init code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457648 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 05:31:29 +00:00
Mark Robert Miller 5f618b8000 SOLR-4604: UpdateLog#init is over called on SolrCore#reload
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457646 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 05:27:15 +00:00
Mark Robert Miller f33c2917e3 SOLR-4604: SolrCore is not using the UpdateHandler that is passed to it in SolrCore#reload.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457640 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 04:49:48 +00:00
Mark Robert Miller 5aca9b9dab SOLR-4603: CachingDirectoryFactory should use an IdentityHashMap for byDirectoryCache.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457638 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 04:38:12 +00:00
Steven Rowe 4cc5cd56ec Move SOLR-4567 from 4.3 to 4.2.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457629 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 03:40:49 +00:00
Steven Rowe 2315bb4d46 Move SOLR-4537 from 4.3 to 4.2.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457614 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 00:51:37 +00:00
Steven Rowe d612e1139c Add 4.2.1 sections to Solr and Lucene CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457608 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 00:22:26 +00:00
Mark Robert Miller d2275c3145 SOLR-4601: clean up test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457591 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 23:31:07 +00:00
Mark Robert Miller c12d7e22f1 SOLR-4601: A Collection that is only partially created and then deleted will leave pre allocated shard information in ZooKeeper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457585 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 23:18:02 +00:00
Mark Robert Miller 720ded1e46 SOLR-4602: ZkController#unregister should cancel it's election participation before asking the Overseer to delete the SolrCore information.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457584 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 23:16:59 +00:00
Mark Robert Miller 4ba86e84ae fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457557 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 20:46:28 +00:00
Mark Robert Miller 2d406a50b2 SOLR-4597: Additional work.
SOLR-4598: The Core Admin unload command's option 'deleteDataDir', should use the DirectoryFactory API to remove the data dir. 

SOLR-4599: CachingDirectoryFactory calls close(Directory) on forceNew if the Directory has a refCnt of 0, but it should call closeDirectory(CacheValueValue).

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457556 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 20:41:17 +00:00
Mark Robert Miller 025e30b992 SOLR-4597: CachingDirectoryFactory#remove should not attempt to empty/remove the index right away but flag for removal after close.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457494 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 17:36:59 +00:00
Mark Robert Miller 0dece6b609 SOLR-4555: improve solution
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457475 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 16:11:15 +00:00
Mark Robert Miller 20cb1cdca9 tests: higher timeout, more specific fail msg, remove unused import
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457455 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 14:35:59 +00:00
Mark Robert Miller 2549f2e1ef SOLR-4596: DistributedQueue should ensure its full path exists in the constructor.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457310 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 21:17:10 +00:00
Mark Robert Miller 826ab5a532 SOLR-4594: StandardDirectoryFactory#remove accesses byDirectoryCache without a lock
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457293 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 19:02:19 +00:00
Mark Robert Miller c216ff7d82 SOLR-4595: CachingDirectoryFactory#close can throw a concurrent modification exception.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457292 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 19:01:11 +00:00
Mark Robert Miller 13c5526d07 SOLR-4573: Accessing Admin UI files in SolrCloud mode logs warnings.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457281 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 17:53:31 +00:00
Mark Robert Miller 87a6c98b7c SOLR-4592: DefaultSolrCoreState#doRecovery needs to check the CoreContainer shutdown flag inside the recoveryLock sync block.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457199 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 04:06:05 +00:00
Mark Robert Miller 243db2c376 tests: more logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457146 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 22:09:49 +00:00
Stefan Matheis 7710b18b1f SOLR-4311: Admin UI - Optimize Caching Behaviour
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457143 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 21:55:09 +00:00
Mark Robert Miller 0d191235dc tests: use filesystem dir until I figure out why ephemerals dirs are having trouble
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457134 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 21:40:01 +00:00
Mark Robert Miller 596616b469 don't use package as var name - the police will be all over that
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457132 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 21:33:36 +00:00
Stefan Matheis 5b6b0776ef SOLR-4311: Admin UI - Optimize Caching Behaviour
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457099 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 20:36:01 +00:00
Erick Erickson 05c544ec19 SOLR-4318 NPE when doing a wildcard query on a TextField with the default analysis chain
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457032 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 17:40:16 +00:00
Mark Robert Miller 62fd532bae SOLR-4585: The Collections API validates numShards with < 0 but should use <= 0.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456979 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 15:03:02 +00:00
Erick Erickson 78081caf97 Added comments for deprecating solr.xml (SOLR-4196 etc)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456938 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 12:59:53 +00:00
Steven Rowe 67083534ff LUCENE-4642:
* TokenizerFactory.create(Reader) is made final, and calls the AttributeFactory-accepting version with AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY
* TokenizerFactory.create(AttributeFactory, Reader) is made abstract
* Added AttributeFactory-accepting constructors to all Tokenizer's with existing TokenizerFactory subclasses that didn't already have them
* Removed create(Reader) from all TokenizerFactory subclasses

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456768 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 04:41:50 +00:00
Mark Robert Miller c14131d4e7 SOLR-4569: CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456733 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 00:39:54 +00:00
Mark Robert Miller 841d757232 SOLR-4570: Even if an explicit shard id is used, ZkController#preRegister should still wait to see the shard id in it's current ClusterState.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456731 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 00:31:55 +00:00
Mark Robert Miller 4609e9017f SOLR-4571: SolrZkClient#setData should return Stat object.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456727 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 00:04:22 +00:00
Mark Robert Miller b6719269fa SOLR-4568: The lastPublished state check before becoming a leader is not working correctly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456723 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 23:44:21 +00:00
Mark Robert Miller a9fd4c7a3f SOLR-4574: The Collections API will silently return success on an unknown ACTION parameter.
SOLR-4576: Collections API validation errors should cause an exception on clients and otherwise act as validation errors with the Core Admin API.
SOLR-4577: The collections API should return responses (success or failure) for each node it attempts to work with. 

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456683 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 21:01:00 +00:00
Robert Muir 2c64eb9019 LUCENE-4607: add DISI/Spans.cost
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456670 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 20:48:23 +00:00
Erick Erickson d7a71a3a29 Fixed silly sensitivity to file separators (Windows/Unix). Bah.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456659 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 20:37:38 +00:00
Robert Muir 53fd6a8919 LUCENE-4827: expose bm25 parameters in PassageScorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456597 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 18:25:18 +00:00
Mark Robert Miller 3943f0f8c4 SOLR-4578: CoreAdminHandler#handleCreateAction gets a SolrCore and does not close it in SolrCloud mode when a core with the same name already exists.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456596 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 18:25:10 +00:00
Stefan Matheis 07dd466743 SOLR-4371: Admin UI - Analysis Screen shows empty result
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456521 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 16:40:37 +00:00
Erick Erickson 55cb4b443f Fix for SOLR-4575, solr.core.* no longer respected when evaluating config files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456468 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 15:11:51 +00:00
Erick Erickson 43af8ee91b SOLR-4543 added note to CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456435 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 13:53:57 +00:00
Erick Erickson 89a08a3b31 Fix for SOLR-4543, setting shardHandlerFactory in solr.xml/solr.properties does not work
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456433 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 13:47:35 +00:00
Shalin Shekhar Mangar 8f92803353 SOLR-4297: Atomic update request containing null=true sets all subsequent fields to null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456322 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 04:56:45 +00:00
Steven Rowe 37e0f23758 SOLR-4567: Beef up copyField tests, and assert schema conforms to test assumptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456288 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 00:11:06 +00:00
Mark Robert Miller c04f1ba800 SOLR-4566: revert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455943 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 14:00:32 +00:00
Mark Robert Miller ccb85cd5cd SOLR-4566: Fix DocCollection to return all shards not just active shards.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455911 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 12:45:22 +00:00
Mark Robert Miller fd1e30a471 change runtime exception to service unavailable solrexception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455904 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 12:28:39 +00:00
Robert Muir c64b374f96 use test-framework seed for randomness and dont share across threads
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455899 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 12:13:08 +00:00
Steven Rowe 651a15492b SOLR-4567: copyField source glob matching explicit field(s) stopped working in Solr 4.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455832 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 08:01:50 +00:00
Mark Robert Miller ba800da0e6 logging: this should not be warn anymore - changing to debug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455753 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 23:29:28 +00:00
Steven Rowe 092545884e LUCENE-4642: Add create(AttributeFactory) to TokenizerFactory and subclasses with ctors taking AttributeFactory, and remove Tokenizer's and subclasses' ctors taking AttributeSource.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455670 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 19:04:06 +00:00
Erick Erickson 22401bab04 Fix for SOLR-4557, fixes for reload testing. Also made a series of changes to make reloading cores more robust
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455606 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 16:42:26 +00:00
Robert Muir b25cc528d9 LUCENE-4819: move Sorted(set)DocValuesTermsEnum to codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455391 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 02:17:27 +00:00
Erick Erickson 325ab7dfe1 Fix for assumption in the test harness uncovered by SOLR-4317
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455368 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 00:12:48 +00:00
Chris M. Hostetter a5c4101d9b SOLR-4538: Date Math expressions were being truncated to 32 characters when used in field:value queries in the lucene QParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455269 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 18:14:24 +00:00
James Dyer e9f2108093 SOLR-4361: DIH to allow handler parameters with dots in the name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455245 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 17:37:17 +00:00
Erick Erickson f5b524f434 fix for SOLR-4317, don't requre 'collection1' in test harness. Thanks Tricia.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455196 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 15:46:52 +00:00
Robert Muir 1600711a61 LUCENE-4819: revert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454996 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 04:40:47 +00:00
Mark Robert Miller 5ea281a9d6 SOLR-4555: When forceNew is used with CachingDirectoryFactory#get, the old CachValue should have it's path set to null.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454993 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 04:20:14 +00:00
Robert Muir dd0855c4fe LUCENE-4819: move Sorted(set)DocValuesTermsEnum to codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454968 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 00:59:10 +00:00
Mark Robert Miller a0ef70931c SOLR-4554: There are some test fails because of a wait loop that causes lingering threads.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454932 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 22:19:48 +00:00
Mark Robert Miller a60156aae3 tests: this timeout needs to be even higher for apache freebsd, and this test currently requires 4 shards because I have seen shard1 get one node and shard2 get two
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454926 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 21:37:52 +00:00
Mark Robert Miller cea9a4e66b SOLR-4553: attempt to harden #testNodeWithoutCollectionForwarding
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454921 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 21:14:24 +00:00
Mark Robert Miller 3da40d53df SOLR-4550: Create a stress test for CachingDirectoryFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454918 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 20:56:49 +00:00
Mark Robert Miller 2fa013d7df SOLR-4475: Fix various places that still assume File based paths even when not using a file based DirectoryFactory.
SOLR-4551: CachingDirectoryFactory needs to create CacheEntry's with the fullpath not path.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454913 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 20:14:31 +00:00
Mark Robert Miller 5b85ec9eb1 tests: raise timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454868 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 16:04:45 +00:00