Commit Graph

6957 Commits

Author SHA1 Message Date
Varun Thacker 73283d1455 SOLR-7541: Removed CollectionsHandler#createNodeIfNotExists. All calls made to this method now call ZkCmdExecutor#ensureExists as they were doing the same thing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679568 13f79535-47bb-0310-9956-ffa450edef68
2015-05-15 14:04:31 +00:00
Shalin Shekhar Mangar 7288912750 SOLR-7532: Removed occurrences of the unused 'commitIntervalLowerBound' property for updateHandler elements from Solr configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679522 13f79535-47bb-0310-9956-ffa450edef68
2015-05-15 09:58:44 +00:00
Anshum Gupta 47911f0b84 SOLR-7275: Setting requestType for context object in case of a /get request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679497 13f79535-47bb-0310-9956-ffa450edef68
2015-05-15 06:11:05 +00:00
Noble Paul 0ba7aca779 SOLR-7508: SolrParams.toMultiMap() does not handle arrays
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679494 13f79535-47bb-0310-9956-ffa450edef68
2015-05-15 05:51:29 +00:00
Anshum Gupta d0251d9b10 SOLR-7547: Short circuit SolrDispatchFilter for static content request. Right now it creates a new HttpSolrCall object and tries to process it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679493 13f79535-47bb-0310-9956-ffa450edef68
2015-05-15 05:50:54 +00:00
Noble Paul fba2134157 SOLR-7544: CollectionsHandler refactored to be more modular
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679397 13f79535-47bb-0310-9956-ffa450edef68
2015-05-14 16:25:52 +00:00
Joel Bernstein 6503e980c3 SOLR-7377,SOLR-7524:Make Streaming Expressions Java 7 Compatible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679376 13f79535-47bb-0310-9956-ffa450edef68
2015-05-14 14:10:34 +00:00
Noble Paul bbc8484653 SOLR-7531: some more tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679318 13f79535-47bb-0310-9956-ffa450edef68
2015-05-14 06:27:39 +00:00
Anshum Gupta acb40f6225 SOLR-7275: Authorization framework for Solr. It defines an interface and a mechanism to create, load and use an Authorization plugin.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679316 13f79535-47bb-0310-9956-ffa450edef68
2015-05-14 06:20:04 +00:00
Chris M. Hostetter 3c6f6678b1 SOLR-6968: perf tweak: eliminate use of SPARSE storage option since it has some pathologically bad behavior for some set sizes (particularly when merging shard responses)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679241 13f79535-47bb-0310-9956-ffa450edef68
2015-05-13 16:54:46 +00:00
Steven Rowe 761df41537 SOLR-7542: Schema API: Can't remove single dynamic copy field directive
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679225 13f79535-47bb-0310-9956-ffa450edef68
2015-05-13 15:19:57 +00:00
Noble Paul 54c6e5f835 SOLR-7531: added a test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679223 13f79535-47bb-0310-9956-ffa450edef68
2015-05-13 15:16:06 +00:00
Noble Paul 038c2b0cb7 SOLR-7531: config API shows a few keys merged together
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679221 13f79535-47bb-0310-9956-ffa450edef68
2015-05-13 14:53:03 +00:00
Shawn Heisey b75b546110 SOLR-7243: Return more informative error from CloudSolrServer when available.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679099 13f79535-47bb-0310-9956-ffa450edef68
2015-05-12 21:32:14 +00:00
Joel Bernstein e50f4d94c7 SOLR-7377: Streaming Expressions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678743 13f79535-47bb-0310-9956-ffa450edef68
2015-05-11 12:37:18 +00:00
Ramkumar Aiyengar 216fd8d46a SOLR-7514: SolrClient.getByIds fails with ClassCastException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678648 13f79535-47bb-0310-9956-ffa450edef68
2015-05-10 22:25:29 +00:00
Yonik Seeley f41a65a457 SOLR-7522: single valued numeric field faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678535 13f79535-47bb-0310-9956-ffa450edef68
2015-05-10 03:13:36 +00:00
Yonik Seeley fb63b4c3db SOLR-7519: SlotAcc resize ability with Resizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678522 13f79535-47bb-0310-9956-ffa450edef68
2015-05-09 20:50:55 +00:00
Chris M. Hostetter d479fd7be1 SOLR-7461: stats.field now supports individual local params for 'countDistinct' and 'distinctValues', 'calcdistinct' is still supported as an alias for both options
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678422 13f79535-47bb-0310-9956-ffa450edef68
2015-05-08 18:44:03 +00:00
Anshum Gupta d42d7e68b5 SOLR-7500: Remove pathPrefix field that was accidentally left over while cleaning up
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678269 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 22:57:11 +00:00
Noble Paul 105222b3a8 SOLR-4392: Make it possible to specify AES encrypted password in dataconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678250 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 18:31:35 +00:00
Chris M. Hostetter 06ac78ae55 SOLR-6968: New 'cardinality' option for stats.field, uses HyperLogLog to efficiently estimate the cardinality of a field w/bounded RAM
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678245 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 17:58:58 +00:00
Chris M. Hostetter 6e14814eaa SOLR-4392: revert r1678195 which breaks forbidden-api
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678242 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 17:44:44 +00:00
Noble Paul d8b66aa10c SOLR-6220: renamed tag names disk to freedisk, and the system property prefix to sysprop.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678222 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 14:41:35 +00:00
Noble Paul 32d8a07281 SOLR-7502: start script should not try to create config set for .system collection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678208 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 13:53:57 +00:00
Noble Paul 3e20086499 SOLR-4392: Make it possible to specify AES encrypted password in dataconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678195 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 13:33:23 +00:00
Adrien Grand be399a96d5 LUCENE-6463: Share more logic between approximated queries.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678181 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 12:39:20 +00:00
Anshum Gupta 2cec2feec8 SOLR-7500: Remove pathPrefix from SolrDispatchFilter as Solr no longer runs as a part of a bigger webapp.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678082 13f79535-47bb-0310-9956-ffa450edef68
2015-05-06 19:57:47 +00:00
Anshum Gupta 1276be5967 SOLR-7484: Cleaning up redundant switch cases from the code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678071 13f79535-47bb-0310-9956-ffa450edef68
2015-05-06 19:30:07 +00:00
Timothy Potter 0fa9cf7c5c SOLR-7102: bin/solr should activate cloud mode if ZK_HOST is set
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677925 13f79535-47bb-0310-9956-ffa450edef68
2015-05-06 05:38:01 +00:00
Timothy Potter 74ebcfd134 SOLR-6878: support adding symmetric synonym lists using the managed synonym API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677923 13f79535-47bb-0310-9956-ffa450edef68
2015-05-06 05:18:47 +00:00
Anshum Gupta 09f3cf8680 SOLR-7484: Refactor SolrDispatchFilter to extract all Solr specific implementation detail to HttpSolrCall and also extract methods from within the current SDF.doFilter(..) logic making things easier to manage. HttpSolrCall converts the processing to a 3-step process i.e. Construct, Init, and Call so the context of the request would be available after Init and before the actual call operation.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677644 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 18:07:35 +00:00
Anshum Gupta ec1b05188f SOLR-6220: Fix javadocs for precommit to pass
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677642 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 17:52:55 +00:00
Noble Paul ed975f1577 SOLR-6220: use closeable in try block
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677635 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 16:46:43 +00:00
Anshum Gupta 1ed601dfed SOLR-6220: Fixes forbidden method invocation String#getBytes() in RuleEngineTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677622 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 16:10:22 +00:00
Noble Paul 7a771c84a2 SOLR-6220: Rule Based Replica Assignment during collection creation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677607 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 14:40:05 +00:00
Shawn Heisey 62b73edde1 SOLR-7409: Sort datimport handlers in the admin UI
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677365 13f79535-47bb-0310-9956-ffa450edef68
2015-05-03 04:42:11 +00:00
Timothy Potter 1e83e33962 SOLR-7487: Fix check-example-lucene-match-version Ant task to check luceneMatchVersion in solr/server/solr/configsets instead of example and harden error checking / validation logic.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677228 13f79535-47bb-0310-9956-ffa450edef68
2015-05-01 20:55:28 +00:00
Yonik Seeley cc371b4cdf SOLR-7494: fix unique() function for high cardinality fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677091 13f79535-47bb-0310-9956-ffa450edef68
2015-05-01 02:15:02 +00:00
Yonik Seeley 89b84f7f46 SOLR-7477: fix test to process empty buckets for distrib search
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677011 13f79535-47bb-0310-9956-ffa450edef68
2015-04-30 15:12:31 +00:00
Noble Paul bd8b77f9bb SOLR-7231: DIH-TikaEntityprocessor, create lat-lon field from Metadata
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677001 13f79535-47bb-0310-9956-ffa450edef68
2015-04-30 14:20:51 +00:00
Yonik Seeley 7736e49b3e SOLR-7477: more tests for excludeTags
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676945 13f79535-47bb-0310-9956-ffa450edef68
2015-04-30 10:06:07 +00:00
Shalin Shekhar Mangar fd769b3b7f Reduce redundancy in assert and log more information to help in debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676936 13f79535-47bb-0310-9956-ffa450edef68
2015-04-30 09:26:56 +00:00
Yonik Seeley da36d92056 tests: fix intermittent failure in TestJsonFacets.testComplex
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676786 13f79535-47bb-0310-9956-ffa450edef68
2015-04-29 16:35:00 +00:00
Mark Robert Miller 7e261a7ec0 SOLR-7349: Additional updates.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676765 13f79535-47bb-0310-9956-ffa450edef68
2015-04-29 14:59:33 +00:00
Yonik Seeley 0d1c739cd8 SOLR-7477: tests - processEmpty buckets to try and get distrib counts to match
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676763 13f79535-47bb-0310-9956-ffa450edef68
2015-04-29 14:51:08 +00:00
Yonik Seeley ecc3a5a786 SOLR-7477: implement facet excludeTags
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676743 13f79535-47bb-0310-9956-ffa450edef68
2015-04-29 13:28:33 +00:00
Adrien Grand 701b7ddf3a LUCENE-6427: Added assertion about the presence of ghost bits in (Fixed|Long)BitSet.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676617 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 20:37:15 +00:00
Mark Robert Miller 094c323872 SOLR-7349: Re-enable ant clean dist
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676553 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 14:56:26 +00:00
Mark Robert Miller 1a7cf2fc85 SOLR-7349: Update cloud-dev scripts for Jetty 9.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676546 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 14:32:55 +00:00