Commit Graph

4172 Commits

Author SHA1 Message Date
Shalin Shekhar Mangar 49911c619b SOLR-7389: Expose znodeVersion property for each of the collections returned for the clusterstatus operation in the collections API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681776 13f79535-47bb-0310-9956-ffa450edef68
2015-05-26 15:24:35 +00:00
Anshum Gupta 9caddd385e SOLR-7468: Enabling debug logging for kerberos connections during tests and trying to fix # of jettys (shards)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681597 13f79535-47bb-0310-9956-ffa450edef68
2015-05-25 15:45:08 +00:00
Mark Robert Miller a545b66008 SOLR-7589: A few improvements to the ObjectReleaseTracker to make test fail debugging a little easier.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681585 13f79535-47bb-0310-9956-ffa450edef68
2015-05-25 12:42:41 +00:00
Timothy Potter b0a8ce42f5 SOLR-7587: First attempt at fixing the dead-lock; moved call to UpdateLog.onFirstSearcher to end of the SolrCore constructor as it only needs to run once per core initialization
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681486 13f79535-47bb-0310-9956-ffa450edef68
2015-05-24 16:43:03 +00:00
Shawn Heisey 88b5ea4935 SOLR-7585: Fix NoSuchElementException in LFUCache
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681449 13f79535-47bb-0310-9956-ffa450edef68
2015-05-24 13:20:04 +00:00
Anshum Gupta 5a96141d7f SOLR-7468: Close the cloud client created for test in a finally block.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681413 13f79535-47bb-0310-9956-ffa450edef68
2015-05-24 05:28:43 +00:00
Erick Erickson 6d4f9b8b35 SOLR-6372: Cross Data Center Replication disabling noisy tests until we figure it out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681361 13f79535-47bb-0310-9956-ffa450edef68
2015-05-23 16:04:07 +00:00
Ramkumar Aiyengar 9afe4cb687 SOLR-7545: Replace some hardcoded occurrences of default URL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681305 13f79535-47bb-0310-9956-ffa450edef68
2015-05-23 09:59:34 +00:00
Chris M. Hostetter c97a92dcc3 SOLR-7335: Fix doc boosts to no longer be multiplied in each field value in multivalued fields that are not used in copyFields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681249 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 23:45:24 +00:00
Anshum Gupta 71c454caed SOLR-7468: Fix the Kerberos test to use a reconfigured client always.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681198 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 19:21:11 +00:00
Erick Erickson 375899fdbd SOLR-6273: Cross Data Center Replication
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681186 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 18:58:29 +00:00
Timothy Potter df514f0cd0 SOLR-7582: Allow auto-commit to be set with system properties in data_driven_schema_configs and enable auto soft-commits for the bin/solr -e cloud example using the Config API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681177 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 18:06:25 +00:00
Timothy Potter b267655b34 Revert changes committed under wrong JIRA #, should have been SOLR-7582, not 7583
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681175 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 18:02:10 +00:00
Timothy Potter 6b8eafe625 SOLR-7583: Allow auto-commit to be set with system properties in data_driven_schema_configs and enable auto soft-commits for the bin/solr -e cloud example using the Config API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681173 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 17:58:47 +00:00
Timothy Potter 11bf206e0d SOLR-6820: Increase the default number of buckets to 65536 instead of 256
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681169 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 17:44:57 +00:00
Noble Paul f9f2b12a57 SOLR-7531: updateHandler.autoCommit.openSearcher returned in the wrong hierarchy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681103 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 13:12:36 +00:00
Anshum Gupta c243dacfff SOLR-7468: Kerberos plugin for authentication framework. This will enable using Kerberos for authentication in Solr.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681001 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 06:26:10 +00:00
Anshum Gupta 38876c2209 SOLR-7274: Stop forwarding Authorization, Host, and Accept headers for SPNego to work. Also fixed an exception forwarding from SDF and reconfigure SDF's httpClient after authentication has been initialized.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680931 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 17:21:44 +00:00
David Wayne Smiley 7dfc6f4cdc SOLR-5855: Re-use the document's term vectors in DefaultSolrHighlighter.
Also refactored DefaultSolrHighlighter's methods to be a little nicer.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680871 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 13:30:22 +00:00
Noble Paul e996532668 SOLR-7577: Add support for rules in CREATESHARD and ADDREPLICA
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680870 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 13:24:32 +00:00
David Wayne Smiley 961960f1c2 SOLR-7379: Spatial RptWithGeometrySpatialField (based on CompositeSpatialStrategy)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680862 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 13:04:33 +00:00
Yonik Seeley 5735b57b84 move FacetMerger public to make javadoc happy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680726 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 03:53:08 +00:00
Yonik Seeley ee50e94c01 SOLR-7578: pass merge context to facet mergers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680681 13f79535-47bb-0310-9956-ffa450edef68
2015-05-20 21:32:51 +00:00
Yonik Seeley dbce914d9f SOLR-7446: make FacetMerger abstract
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680668 13f79535-47bb-0310-9956-ffa450edef68
2015-05-20 20:23:01 +00:00
Tomas Eduardo Fernandez Lobbe 4c3bbde8e9 SOLR-7463: Add missing test file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680665 13f79535-47bb-0310-9956-ffa450edef68
2015-05-20 19:45:17 +00:00
Tomas Eduardo Fernandez Lobbe 1f1dc2e27a SOLR-7463: Stop forcing MergePolicy's ''noCFSRatio'' based on the IWC ''useCompoundFile'' configuration. Use the MP's default if not specifically set
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680663 13f79535-47bb-0310-9956-ffa450edef68
2015-05-20 19:32:14 +00:00
Timothy Potter 1a93333d50 SOLR-7332: Initialize the highest value for all version buckets with the max value from the index or recent updates to avoid unnecessary lookups to the index to check for reordered updates when processing new documents.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680639 13f79535-47bb-0310-9956-ffa450edef68
2015-05-20 16:52:37 +00:00
Timothy Potter 645f15bae0 SOLR-6820: Make the number of version buckets used by the UpdateLog configurable as increasing beyond the default 256 has been shown to help with high volume indexing performance in SolrCloud
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680586 13f79535-47bb-0310-9956-ffa450edef68
2015-05-20 14:51:44 +00:00
Timothy Potter 144b4e8f12 SOLR-7333: Make the poll queue time configurable and use knowledge that a batch is being processed to poll efficiently
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680436 13f79535-47bb-0310-9956-ffa450edef68
2015-05-20 01:03:23 +00:00
Anshum Gupta 8936a16554 SOLR-7274: Pluggable authentication module in Solr. This defines an interface and a mechanism to create, load, and use an Authentication plugin.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680391 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 21:10:16 +00:00
Alan Woodward a0561676a0 LUCENE-6371: Add collection API to Spans, remove payload methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680205 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 09:02:38 +00:00
Gregory Chanan 88941936ca SOLR-7552: Support using ZkCredentialsProvider/ZkACLProvider in custom filter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680120 13f79535-47bb-0310-9956-ffa450edef68
2015-05-18 23:11:39 +00:00
Noble Paul aecf45429c SOLR-5132: Added a new collection action MODIFYCOLLECTION
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680052 13f79535-47bb-0310-9956-ffa450edef68
2015-05-18 16:23:19 +00:00
Erik Hatcher 64274166b8 SOLR-7546: bin/post (and SimplePostTool in -Dauto=yes mode) now sends rather than skips files without a known content type, as application/octet-stream, provided it still is in the allowed filetypes setting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680047 13f79535-47bb-0310-9956-ffa450edef68
2015-05-18 15:51:44 +00:00
Noble Paul 315e20eee6 sync other replicas only in Cloud mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680018 13f79535-47bb-0310-9956-ffa450edef68
2015-05-18 12:52:37 +00:00
Yonik Seeley e7833fb40b SOLR-7553: tests - fix QueryEqualityTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679897 13f79535-47bb-0310-9956-ffa450edef68
2015-05-17 20:57:23 +00:00
Yonik Seeley b1b8169c91 SOLR-7553: hll function for hyperloglog
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679876 13f79535-47bb-0310-9956-ffa450edef68
2015-05-17 16:07:33 +00:00
Joel Bernstein e1e622b48f SOLR-7472: SortingResponseWriter does not log fl parameters that don't exist.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679618 13f79535-47bb-0310-9956-ffa450edef68
2015-05-15 18:35:04 +00:00
Timothy Potter 5e447065a2 SOLR-7503: Recovery after ZK session expiration should happen in parallel for all cores using the thread-pool managed by ZkContainer instead of a single thread.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679607 13f79535-47bb-0310-9956-ffa450edef68
2015-05-15 17:17:46 +00:00
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
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
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
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 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
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
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
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
David Wayne Smiley 736a9b6934 LUCENE-6445: Highlighter TokenSources simplification
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676540 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 14:11:54 +00:00
Mark Robert Miller 3b868b3897 SOLR-7359: Add additional testing for FSHDFSUtils#recoverFileLease.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676531 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 13:36:02 +00:00
Mark Robert Miller 4809642e63 SOLR-7437: Make HDFS transaction log replication factor configurable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676520 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 12:48:44 +00:00
Mark Robert Miller b70ecaa3fd SOLR-7478: UpdateLog#close shuts down it's executor with interrupts before running it's close logic, possibly preventing a clean close.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676501 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 11:50:11 +00:00
Yonik Seeley 921b4aeeee SOLR-7480: private doAdd should be protected in AtomicUpdateDocumentMerger
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676399 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 01:53:58 +00:00
Chris M. Hostetter 3c1130402a SOLR-7470: Fix sample data to eliminate file order dependency for successful indexing, also fixed SolrCloudExampleTest to help catch this in the future
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676337 13f79535-47bb-0310-9956-ffa450edef68
2015-04-27 17:09:26 +00:00
Mark Robert Miller b5532c68ab SOLR-7457: Make DirectoryFactory publishing MBeanInfo extensible.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676151 13f79535-47bb-0310-9956-ffa450edef68
2015-04-26 22:12:59 +00:00
Yonik Seeley 62ee80ad89 SOLR-7473: implement facet range mincount
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676107 13f79535-47bb-0310-9956-ffa450edef68
2015-04-26 14:16:49 +00:00
Mark Robert Miller 3862c52b58 SOLR-7425: Improve MDC based logging format.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676103 13f79535-47bb-0310-9956-ffa450edef68
2015-04-26 13:22:07 +00:00
Yonik Seeley 4ebb2a4b1d SOLR-7446: refactor range faceting to use slots
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676077 13f79535-47bb-0310-9956-ffa450edef68
2015-04-26 01:14:47 +00:00
Ramkumar Aiyengar 0c7715812e SOLR-5213: Log when shard splitting unexpectedly leads to documents going to zero or multiple sub-shards
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676075 13f79535-47bb-0310-9956-ffa450edef68
2015-04-26 00:06:08 +00:00
Mark Robert Miller 40dda65fb2 SOLR-7391: Use a time based expiration cache for one off HDFS FileSystem instances.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676070 13f79535-47bb-0310-9956-ffa450edef68
2015-04-25 21:02:37 +00:00
Yonik Seeley 87fa97760e SOLR-7446: refactor range faceting to create range list first
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676066 13f79535-47bb-0310-9956-ffa450edef68
2015-04-25 20:35:03 +00:00
Mark Robert Miller 3aff74f937 SOLR-7118: Raise fail tolerance.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676062 13f79535-47bb-0310-9956-ffa450edef68
2015-04-25 20:01:21 +00:00
Tomas Eduardo Fernandez Lobbe 7e4c096642 SOLR-7471: Stop requiring docValues for interval faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675994 13f79535-47bb-0310-9956-ffa450edef68
2015-04-25 05:07:06 +00:00
Mark Robert Miller ed9e1fc1b5 SOLR-7311: Add some infrastructure and tests to make sure Solr works well in the face of Name Node high availability and failover.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675883 13f79535-47bb-0310-9956-ffa450edef68
2015-04-24 15:08:11 +00:00
Yonik Seeley 558d85f892 SOLR-7387: fix distrib terms facet sorting buckets by min,max,avg,unique
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675707 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 19:35:09 +00:00
Tomas Eduardo Fernandez Lobbe 68ac99b511 SOLR-7406: Add facet.range.method parameter with options 'filter' and 'dv' for range faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675706 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 19:27:34 +00:00
Noble Paul 551562bed6 SOLR-7157: initParams must support tags other than appends, defaults and, invariants
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675591 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 12:34:35 +00:00
Ramkumar Aiyengar 852e04e3d0 SOLR-7081: TestMiniSolrCloudCluster.testBasics tidies up after itself, adds collection create/delete/create test case.
TestMiniSolrCloudCluster.testBasics now re-creates the server it removed for test purposes,
thus restoring the original NUM_SERVERS count. TestMiniSolrCloudCluster.testBasics now also deletes
the collection it created for test purposes (this revision adds MiniSolrCloudCluster.deleteCollection
and AbstractDistribZkTestBase.waitForCollectionToDisappear methods).

Sometimes TestMiniSolrCloudCluster.testBasics runs its create-collection/search-collection/delete-collection
logic twice, thus creating a create/delete/create-collection test case.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675590 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 12:29:52 +00:00
David Wayne Smiley 9d1c2019a8 LUCENE-6422: New spatial PackedQuadPrefixTree. Thanks Nick!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675538 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 04:08:31 +00:00
Yonik Seeley dd68aaf7e0 tests: test date docvalues w/ json facets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675458 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 19:19:52 +00:00
Yonik Seeley a02b9a08a1 SOLR-7417: implement unique() for numeric fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675427 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 17:22:27 +00:00
Noble Paul 8c5fcd1ff6 SOLR-7176: zkcli script can perfrom the CLUSTERPROP command without a running Solr cluster
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675331 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 11:12:33 +00:00
Shai Erera 5afa59c004 SOLR-7408: Let SolrCore be the only thing which registers/unregisters a config directory listener
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675274 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 08:25:26 +00:00
Shalin Shekhar Mangar 3c1c7279dc SOLR-7440: DebugComponent does not return the right requestPurpose for pivot facet refinements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675258 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 04:25:13 +00:00
Yonik Seeley f8025175d5 SOLR-7443: Implement range faceting over date fields in facet module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675246 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 02:23:09 +00:00
Anshum Gupta 2482af467d SOLR-7418: Check and raise a SolrException instead of an NPE when an invalid doc id is sent to the MLTQParser in Cloud mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675230 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 00:09:33 +00:00
Adrien Grand c6821e1a19 LUCENE-6446: Simplified Explanation API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675109 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 12:55:41 +00:00
Shalin Shekhar Mangar 2aed77e893 SOLR-6665: Add AwaitsFix annotation to the new test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675067 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 09:04:17 +00:00
Shalin Shekhar Mangar 9eae452cfb SOLR-6665: ZkController.publishAndWaitForDownStates can return before all local cores are marked as 'down' if multiple replicas with the same core name exist in the cluster
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675030 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 05:49:39 +00:00
Uwe Schindler 5b4fe002ba LUCENE-6420: Use forbidden-apis annotation @SuppressForbidden; cleanup maven build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674926 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 15:22:06 +00:00
Steven Rowe 0bc9c7821d SOLR-7419: document intentional overflow in SolrQueryTimeoutImpl thread local
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674866 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 14:25:52 +00:00
Shalin Shekhar Mangar da1cd63a22 SOLR-7421: RecoveryAfterSoftCommitTest fails frequently on Jenkins due to full index replication taking longer than 30 seconds
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674733 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 04:44:02 +00:00
Mark Robert Miller ea83cc6678 SOLR-7426: SolrConfig#getConfigOverlay does not clean up it's resources.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674666 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 18:44:21 +00:00
Yonik Seeley 3b94724907 SOLR-7422: "type" param for JSON Facet API for flatter structure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674519 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 14:27:26 +00:00
Timothy Potter beea9c2733 SOLR-7421: Marking test as a BadApple for now until we can figure out what is causing replication to take so long for a small index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674512 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 14:11:26 +00:00
Shalin Shekhar Mangar e541bccd45 SOLR-7420: Overseer stats are not reset on loss of ZK connection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674458 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 08:42:57 +00:00
Shalin Shekhar Mangar 8573f64b9c SOLR-6087: SolrIndexSearcher makes no DelegatingCollector.finish() call when IndexSearcher throws an expected exception. This closes #57.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674443 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 04:43:19 +00:00
Shalin Shekhar Mangar f258d2f9d4 SOLR-6886: Removed redundant size check and added missing calls to DelegatingCollection.finish inside Grouping code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674430 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 03:32:36 +00:00
Tomas Eduardo Fernandez Lobbe 61bdfdd635 SOLR-7412: Fixed range.facet.other parameter for distributed requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674182 13f79535-47bb-0310-9956-ffa450edef68
2015-04-17 01:35:30 +00:00
Yonik Seeley 4e73212034 SOLR-7411: fix threadsafety bug in SearchHandler introduced in SOLR-7380
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674163 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 22:47:11 +00:00
Adrien Grand f4c0546567 LUCENE-6425: Replaced Query.extractTerms with Weight.extractTerms.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674091 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 15:14:35 +00:00
Shai Erera dee02e6151 SOLR-7401: fix copy/paste bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673888 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 17:33:48 +00:00
Shai Erera 86b191c550 SOLR-7401: fixed NPE when concurrently creating and deleting collections
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673813 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 15:05:06 +00:00
Tommaso Teofili 06a1248a4d SOLR-7376 - adjusted RawValueTransformerFactoryimpl to use StorableField#stringValue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673731 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 11:29:02 +00:00
Tommaso Teofili 4187f7c507 SOLR-7376 - commented code using old IndexableField API, just using Object#toString
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673665 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 07:14:49 +00:00
Ryan McKinley 6e96326e20 Merged revision(s) 1673654 from lucene/dev/branches/branch_5x:
SOLR-7376: adding missing files
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673655 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 06:15:20 +00:00
Ryan McKinley 63edfb11c6 Merged revision(s) 1673647 from lucene/dev/branches/branch_5x:
SOLR-7376: Return raw XML or JSON
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673649 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 04:57:39 +00:00
Shalin Shekhar Mangar 382f9e45e0 SOLR-7381: MDC keys are now exposed in thread names automatically so that a thread dump can give hints on what the thread was doing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673469 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 17:03:38 +00:00
Varun Thacker 71fca8a60d SOLR-6637: improve CHANGES entry + fix wrong usage of path in snapshooter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673420 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 13:15:49 +00:00
Shalin Shekhar Mangar 293efe55c1 SOLR-7381: Set node name in MDC inside ZkController as soon as we discover it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673411 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 11:45:20 +00:00
Noble Paul bdefedfa42 Do not throw cached Exception, create new
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673364 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 05:34:29 +00:00
Noble Paul e666070542 Reduce logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673362 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 05:26:11 +00:00
Shalin Shekhar Mangar 53c80b10cf SOLR-7385: The clusterstatus API now returns the config set used to create a collection inside a 'configName' key
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673360 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 05:25:12 +00:00
Shalin Shekhar Mangar 0e54a26d18 SOLR-7372: Enable maxRamMB to be configured via the Config APIs on filterCache and queryResultCache
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673358 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 05:12:52 +00:00
David Wayne Smiley 99e12a9ea3 SOLR-6692: highlighter refactorings...
* extract method getDocPrefetchFieldNames
 * trim field names in getHighlightFields instead of later on
 * lazy-create FVH (could be expensive for wildcard queries)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673328 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 01:04:00 +00:00
David Wayne Smiley f295b3a890 SOLR-6692: Highlighter NPE bugfix when highlight nonexistent field.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673281 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 21:11:40 +00:00
Shalin Shekhar Mangar dfba8c322b SOLR-7384: Disable the failing tests until the root cause is fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673262 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 19:04:55 +00:00
David Wayne Smiley 414b1ea098 SOLR-6692: When using hl.maxMultiValuedToMatch with hl.preserveMulti, only count matched snippets.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673216 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 14:53:56 +00:00
David Wayne Smiley f5071289e7 SOLR-6692: hl.maxAnalyzedChars should apply cumulatively on a multi-valued field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673200 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 14:08:07 +00:00
David Wayne Smiley c6482c1488 SOLR-6692: Don't round highlight fragment scores for ordering purposes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673185 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 13:48:57 +00:00
David Wayne Smiley 0a0dcefb95 SOLR-6692: Made standard highlighter more extensible
Private methods are now protected, removed bad constructor, and refactored out getFieldValues() and getResponseForFragments() for both clarity and sub-class extension utility.  Some refactoring of doHighlightingByHighlighter to clarify logic.  These changes should have ZERO effect on highlights.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673183 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 13:35:35 +00:00
Shalin Shekhar Mangar 4a4d96600a SOLR-7384: Fix spurious failures in FullSolrCloudDistribCmdsTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673176 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 13:05:34 +00:00
Noble Paul 185f8ea2c6 SOLR-7110: Optimize JavaBinCodec to minimize string Object creation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673149 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 10:32:04 +00:00
Shalin Shekhar Mangar 2c9ae41b78 SOLR-7381: Improve logging by adding node name in MDC in SolrCloud mode and adding MDC to all thread pools
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673116 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 06:09:53 +00:00
Noble Paul 9ba13dea31 SOLR-7380: SearchHandler should not try to load runtime components in inform()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673007 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 13:24:23 +00:00
Shalin Shekhar Mangar b3660ae4ed SOLR-7362: Added @BadApple annotation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672991 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 08:41:31 +00:00
Shalin Shekhar Mangar 1e21a487d1 Fix typos
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672828 13f79535-47bb-0310-9956-ffa450edef68
2015-04-11 05:14:40 +00:00
Shalin Shekhar Mangar a382e6f61f SOLR-7372: Limit memory consumed by LRUCache with a new 'maxRamMB' config parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672811 13f79535-47bb-0310-9956-ffa450edef68
2015-04-11 04:23:31 +00:00
Michael McCandless 249d0d25fe LUCENE-5989: allow passing BytesRef to StringField to make it easier to index arbitrary binary tokens
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672781 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 22:24:46 +00:00
Varun Thacker 3464197249 SOLR-6637: can't assume a local filesystem when dealing with paths
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672620 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 11:52:43 +00:00
Ryan McKinley a2d29b8e12 Merged revision(s) 1672531 from lucene/dev/branches/branch_5x:
SOLR-7373: let AbstractSpatialFieldType set the context
........



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672533 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 03:38:22 +00:00
Ryan McKinley 6bed01b2ae Merged revision(s) 1672518 from lucene/dev/branches/branch_5x:
SOLR-7164: update lucene field also
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672532 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 03:37:50 +00:00
Yonik Seeley 858718d17a SOLR-7371: don't cache size for now and tolerate small alignment errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672421 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 16:52:16 +00:00
Shalin Shekhar Mangar c400bde439 SOLR-7371: Fix NPE when scores are null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672402 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 15:49:12 +00:00
Shalin Shekhar Mangar 32c78bc382 SOLR-7371: Make DocSet implement Accountable to estimate memory usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672391 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 15:10:17 +00:00
Mark Robert Miller 64ed335455 SOLR-7370: FSHDFSUtils#recoverFileLease tries to recover the lease every one second after the first four second wait.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672379 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 14:56:26 +00:00
Yonik Seeley d46bed3c32 SOLR-7238: remove buggy SolrQueryRequest.forward
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672369 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 14:43:02 +00:00
Steven Rowe 4c83c2200c SOLR-7366: fix regression in ManagedIndexSchema's handling of ResourceLoaderAware objects used by field types, causing example XML docs to not be indexable via bin/post; add a test indexing example docs that fails without the patch and succeeds with it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672238 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 04:42:30 +00:00
Mark Robert Miller f3d352501a SOLR-7066: autoAddReplicas feature has bug when selecting replacement nodes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672201 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 21:49:21 +00:00
Michael McCandless c08d81cc39 LUCENE-6410: remove unused 'reuse' parameter to Terms.iterator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672155 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 19:48:07 +00:00
Shawn Heisey 7e9b7448d1 SOLR-7355: Switch from ConcurrentLinkedHashMap to Caffeine. Trunk-only change, as it requires java 8.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672133 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 18:23:19 +00:00
Alan Woodward 3c0ff1de91 SOLR-1387: Move contains() method to SimpleFacets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672106 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 15:28:13 +00:00
Timothy Potter 6a5f9aa34e SOLR-6944: Change to using BadApple annotation on ReplicationFactorTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672101 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 15:16:22 +00:00
Timothy Potter a986e4099e SOLR-6944: ReplicationFactorTest continues to fail in most every build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671997 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 03:03:17 +00:00
Timothy Potter 35f0e80a02 SOLR-6944: see if NoHttpResponse exceptions are due to the socket timeout being set too low in the SocketProxy, change from 10 to 100 seconds
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671861 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 14:49:56 +00:00
Varun Thacker fe0ab10d4e SOLR-7358: TestRestoreCore fails in Windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671858 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 14:38:52 +00:00
Timothy Potter e2bc6dc8ec SOLR-7338: A reloaded core will never register itself as active after a ZK session expiration, also fixes SOLR-6583
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671554 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 15:42:12 +00:00
Noble Paul bb29c9cd2a SOLR-7168: Close stream aftyer reading it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671481 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 04:51:58 +00:00
Yonik Seeley 56b7843b56 SOLR-7350: fix facet module docvalues support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671472 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 03:16:29 +00:00
Varun Thacker f7d633a56e SOLR-6637: Better error handling when retrieving checksums (Fixes Policeman Jenkins Failure #2134)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671400 13f79535-47bb-0310-9956-ffa450edef68
2015-04-05 14:59:02 +00:00
Shai Erera 2d15d935f0 SOLR-7336: Add State enum to Replica
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671240 13f79535-47bb-0310-9956-ffa450edef68
2015-04-04 07:02:20 +00:00
Ramkumar Aiyengar 796416d43c Remove unnecessary svn:executable from some files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671175 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 21:56:33 +00:00
Robert Muir 363fc49258 merge trunk up to r1671137
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1671151 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 20:13:06 +00:00
Varun Thacker 79bf72708b SOLR-6637: Solr should have a way to restore a core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671022 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 09:46:54 +00:00
Robert Muir 5ea36eb992 merge trunk up to r1670923
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670929 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 15:37:39 +00:00
Shalin Shekhar Mangar 658a131002 Log the file name for which checksum can't be read
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670818 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 05:29:22 +00:00
Shalin Shekhar Mangar 26c1920bfc Fixed comment to match collection setup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670817 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 05:27:54 +00:00
Noble Paul 9baabd177c SOLR-6615: Refactor code to use String constants
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670813 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 04:08:05 +00:00
Noble Paul b9a883625b SOLR-7337: ZkController.registerConfListenerForCore should add the dir name it can't find to the message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670808 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 02:00:41 +00:00
Robert Muir 6f70221d21 merge trunk up to r1670679
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670680 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 15:30:34 +00:00
Timothy Potter f951625286 SOLR-7266: The IgnoreCommitOptimizeUpdateProcessor blocks commit requests from replicas needing to recover.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670678 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 15:29:42 +00:00
Robert Muir 8ba1496a83 merge trunk up to r1670672
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670673 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 15:24:20 +00:00
Varun Thacker ddfb4d9d00 Fix QueryResponse to deal with the expanded section when using the XMLResponseParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670569 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 06:55:06 +00:00
Shai Erera 208d0c79eb SOLR-7325: Change Slice state into enum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670566 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 05:42:47 +00:00
Robert Muir 41ba046a93 LUCENE-6271: merge trunk changes up to r1670529
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670533 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 01:10:11 +00:00
Ryan McKinley 33fc7b5046 Merged revision(s) 1670525-1670526 from lucene/dev/branches/branch_5x:
SOLR-7331: revert unintentional change
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670527 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 00:37:43 +00:00
Ryan McKinley 183c5dd933 Merged revision(s) 1670522 from lucene/dev/branches/branch_5x:
SOLR-7329: show core in logging UI
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670523 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 00:24:35 +00:00
Varun Thacker 02b8907124 LUCENE-6378: Fix all RuntimeExceptions to throw the underlying root cause
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670453 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 19:54:37 +00:00
Ryan Ernst 0f23c7ef49 LUCENE-6271: fix more nocommits in postings tests and solr uses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670384 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 16:38:50 +00:00
Noble Paul 72e8c75c29 SOLR-6924: The config API forcefully refreshes all replicas in the collection to ensure all are
updated

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670381 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 16:18:18 +00:00
Varun Thacker b13658aa5d SOLR-7324: IndexFetcher does not need to call isIndexStale if full copy is already needed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670359 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 15:04:09 +00:00
Ryan Ernst 05cf3fde0d LUCENE-6271: sync up with trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670257 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 05:22:40 +00:00
Gregory Chanan 21f4106873 SOLR-7272: Use OverseerCollectionProcessor.ROUTER and DocCollection.DOC_ROUTER consistently
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670178 13f79535-47bb-0310-9956-ffa450edef68
2015-03-30 19:07:41 +00:00
Varun Thacker c7427a2fd1 SOLR-7202: Remove deprecated string action types in Overseer, OverseerCollectionProcessor - deletecollection, createcollection, reloadcollection, removecollection, removeshard
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669748 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 11:47:17 +00:00
Noble Paul 1619ebd662 formatting fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669726 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 01:41:50 +00:00
Yonik Seeley a4274dff9a SOLR-7214: optimize multi-valued counts-only case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669712 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 00:02:40 +00:00
Noble Paul e0ff3a6b0c SOLR-7226: fixed the commented out testcase due to failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669634 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 17:50:14 +00:00
David Wayne Smiley ef0209189e SOLR-5911: term vector payload support
in schema & TermVectorComponent & LukeRequestHandler

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669492 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 02:01:38 +00:00
Noble Paul 493d3fd2f0 SOLR-7226: adding an experimental warning and removing a check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669491 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 01:39:08 +00:00
Alan Woodward dada4c8943 SOLR-7307: Rename test file to make Eclipse happy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669427 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 20:24:24 +00:00
Yonik Seeley e041664f2a SOLR-7212: tests - fix package mismatch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669424 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 19:59:40 +00:00
Yonik Seeley a46dcb70e8 SOLR-7212: tests - fix package mismatch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669423 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 19:57:00 +00:00
Shalin Shekhar Mangar 58953ff02c SOLR-6673: Fix NPE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669374 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 17:33:04 +00:00
Noble Paul ad913e4013 SOLR-7226: Make /query/* jmx/* , requestDispatcher/*, <listener> <initParams> properties in solrconfig.xml editable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669368 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 16:39:14 +00:00
Yonik Seeley f2874dd9d3 SOLR-7212: Parameter substitution / macro expansion across entire request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669354 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 15:29:38 +00:00
Alan Woodward 377c53e668 SOLR-1387: Add facet.contains and facet.contains.ignoreCase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669335 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 12:22:50 +00:00
Alan Woodward 5048456a7a SOLR-7307: Add constructors to EmbeddedSolrServer taking Path or NodeConfig
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669305 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 09:21:01 +00:00
Noble Paul 0656e8ac44 SOLR-6924: removing double listening of nodes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669245 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 00:33:49 +00:00
Shalin Shekhar Mangar ed325dc91c SOLR-6673: Log collection, shard, replica, core name for update and search requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669236 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 21:42:41 +00:00
Noble Paul f0ea6a662d Formatting fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669204 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 18:43:13 +00:00
Noble Paul a14e40d75d SOLR-6924: conf node listening made more robust to take care of session expiry and reconnect
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669195 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 18:19:44 +00:00
Yonik Seeley 3a8d0c2f38 SOLR-7306: percentiles for new facet module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669189 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 18:02:26 +00:00
Shalin Shekhar Mangar 29c1de0fa8 SOLR-7305: BlendedInfixLookupFactory swallows root IOException when it occurs. This closes #137
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669180 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 17:41:51 +00:00
Steven Rowe 029b34be9e SOLR-6141: fix TestBulkSchemaAPI (expected exception message changed)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669173 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 17:32:30 +00:00
Joel Bernstein e233f14f82 SOLR-7082: Streaming Aggregation for SolrCloud
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669164 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 17:17:45 +00:00
Steven Rowe 9b255d6cc4 SOLR-6141: fix TestBulkSchemaConcurrent; fix field deletion to fail when a dynamic copy field directive has the field as its source; don't attempt to decrement a SchemaField's count in copyFieldTargetCounts if it's not present in the map.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669055 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 06:25:24 +00:00
Yonik Seeley fd3c09a2fc docs: change facet module name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669029 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 00:28:42 +00:00
Ramkumar Aiyengar 83c0c952b6 SOLR-7291: Test indexing on ZK disconnect with ChaosMonkey tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669026 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 00:03:33 +00:00
Noble Paul f678ac5d9d SOLR-6673: MDC based logging of collection, shard, replica, core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668992 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 21:01:44 +00:00
Yonik Seeley f1ab009e1f SOLR-7254: invalid start/rows should throw 400 rather than 500 error code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668976 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 20:05:23 +00:00
Shalin Shekhar Mangar ad482ef4a5 SOLR-7294: Migrate API fails with 'Invalid status request: notfoundretried 6times' message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668956 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 19:04:40 +00:00
Varun Thacker 2cba11bfa6 SOLR-7248: In legacyCloud=false mode we should check if the core was hosted on the same node before registering it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668931 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 16:35:30 +00:00
Chris M. Hostetter 5ac2c238cf SOLR-6350: StatsComponent now supports Percentiles
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668922 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 15:33:19 +00:00
Mark Robert Miller 57b47fed01 SOLR-7134: Replication can still cause index corruption.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668779 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 03:19:37 +00:00
Mark Robert Miller 84adc8604d SOLR-7289: Tests should not ignore all leaking threads and instead just ignore the known leaking threads.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668771 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 02:16:13 +00:00
Mark Robert Miller bb434bfad0 SOLR-6414: HTrace may be used by hdfs client.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668680 13f79535-47bb-0310-9956-ffa450edef68
2015-03-23 16:34:27 +00:00
Mark Robert Miller 0476534d96 SOLR-6414: Update to Hadoop 2.6.0.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668652 13f79535-47bb-0310-9956-ffa450edef68
2015-03-23 14:16:33 +00:00
Yonik Seeley e893b4dd54 tests: clean up statics
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668446 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 19:08:44 +00:00
Mark Robert Miller 28abd3f23d SOLR-7092: Do a little better at clean up in new test code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668412 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 17:12:07 +00:00
Mark Robert Miller 4e01da3843 SOLR-7284: HdfsUpdateLog is using hdfs FileSystem.get without turning off the cache.
SOLR-7286: Using HDFS's FileSystem.newInstance does not guarantee a new instance.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668411 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 17:09:40 +00:00
Mark Robert Miller 8edc462ec1 SOLR-7141: RecoveryStrategy: Raise time that we wait for any updates from the leader before they saw the recovery state to have finished.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668396 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 16:04:46 +00:00
Yonik Seeley 6fa33cf6f0 tests: clean up statics
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668382 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 15:01:13 +00:00
Mark Robert Miller 8e6f93c6ff SOLR-7285: ActionThrottle will not pause if getNanoTime first returns 0.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668370 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 13:44:35 +00:00
Mark Robert Miller 0a8dfe05dc SOLR-7092: Stop the HDFS lease recovery retries in HdfsTransactionLog on close and try to avoid lease recovery on closed files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668311 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 19:08:53 +00:00
Ramkumar Aiyengar f15330c32d SOLR-7245: Temporary ZK election or connection loss should not stall indexing due to LIR
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668274 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 14:13:17 +00:00
Ryan McKinley 54ba78e4de Merged revision(s) 1668195 from lucene/dev/branches/branch_5x:
SOLR-7278: oh my... sorry
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668197 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 05:19:43 +00:00
Yonik Seeley 29053fd238 SOLR-7216: JSON request API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668168 13f79535-47bb-0310-9956-ffa450edef68
2015-03-20 22:18:03 +00:00
Ryan McKinley e2feb7a2e5 Merged revision(s) 1668149 from lucene/dev/branches/branch_5x:
SOLR-7278: Make ValueSourceAugmenter easier to extend
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668151 13f79535-47bb-0310-9956-ffa450edef68
2015-03-20 21:14:40 +00:00
Shalin Shekhar Mangar b2046cf20c SOLR-7162: Remove unused SolrSortField interface
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668132 13f79535-47bb-0310-9956-ffa450edef68
2015-03-20 19:56:42 +00:00
Yonik Seeley 7294349918 change println of core descriptor to log
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668118 13f79535-47bb-0310-9956-ffa450edef68
2015-03-20 19:08:50 +00:00
Yonik Seeley 60f161fd9b SOLR-7262: fix broken thread safety for request handler registry introduced by SOLR-7073
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667799 13f79535-47bb-0310-9956-ffa450edef68
2015-03-19 16:11:36 +00:00
Uwe Schindler c568473f09 Merged revision(s) 1667784 from lucene/dev/branches/branch_5x:
Forward port this fix from the Java 9 bugfix, because the cast was actually wrong.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667794 13f79535-47bb-0310-9956-ffa450edef68
2015-03-19 15:35:53 +00:00
Steven Rowe 7cde848e37 SOLR-6141: fix schema update lock usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667579 13f79535-47bb-0310-9956-ffa450edef68
2015-03-18 15:54:47 +00:00
Yonik Seeley 695a0f0af0 SOLR-7217: autodetect POST body for curl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667457 13f79535-47bb-0310-9956-ffa450edef68
2015-03-18 05:56:13 +00:00
Yonik Seeley bf00c1a0a7 SOLR-7259: fix thread safety of lazy loaded plugins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667431 13f79535-47bb-0310-9956-ffa450edef68
2015-03-18 01:53:41 +00:00
Shalin Shekhar Mangar 8d64c08c1a SOLR-7258: Forbid MessageFormat.format and MessageFormat single-arg constructor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667414 13f79535-47bb-0310-9956-ffa450edef68
2015-03-17 21:52:05 +00:00
Noble Paul fd8a588bc5 fix formatting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667347 13f79535-47bb-0310-9956-ffa450edef68
2015-03-17 16:13:16 +00:00
Noble Paul 4c4d8ee994 fixing formatting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667339 13f79535-47bb-0310-9956-ffa450edef68
2015-03-17 15:54:16 +00:00
Steven Rowe ff83497b27 SOLR-6141: Schema API: Remove fields, dynamic fields, field types and copy fields; and replace fields, dynamic fields and field types
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667175 13f79535-47bb-0310-9956-ffa450edef68
2015-03-17 05:13:36 +00:00
Yonik Seeley e18c94f1db tests: clean up static fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667034 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 15:20:19 +00:00
Yonik Seeley 3dc5ed33c5 SOLR-7214: JSON Facet API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666856 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 04:40:23 +00:00
Yonik Seeley b2698e5fcf tests: fix request reuse and request close bugs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666834 13f79535-47bb-0310-9956-ffa450edef68
2015-03-15 20:06:22 +00:00
Yonik Seeley f0cc3bfb00 tests: fix request reuse and request close bugs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666830 13f79535-47bb-0310-9956-ffa450edef68
2015-03-15 19:40:30 +00:00
Yonik Seeley 1da43c81b3 tests: fix invalid test that assumed reusable request where params would never change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666828 13f79535-47bb-0310-9956-ffa450edef68
2015-03-15 19:14:45 +00:00
Shalin Shekhar Mangar 5caf937f26 SOLR-7109: Indexing threads stuck during network partition can put leader into down state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666825 13f79535-47bb-0310-9956-ffa450edef68
2015-03-15 18:40:50 +00:00
Yonik Seeley c7a69e7acc SOLR-6770: reformat - fix bad indentation and funky formatting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666816 13f79535-47bb-0310-9956-ffa450edef68
2015-03-15 17:58:29 +00:00
Ramkumar Aiyengar 7e8f6b7fd1 SOLR-6275: Remove nanoTime speed test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666754 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 21:58:26 +00:00
Noble Paul 40a1d7e22c SOLR-6892: Improve the way update processors are used and make it simpler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666436 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 13:13:15 +00:00
Chris M. Hostetter c9d344f09d SOLR-7239: improved performance of min & max in StatsComponent, as well as situations where local params disable all stats
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666294 13f79535-47bb-0310-9956-ffa450edef68
2015-03-12 20:38:02 +00:00
Timothy Potter f3bc0ad731 SOLR-7173: Fix ReplicationFactorTest on Windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666266 13f79535-47bb-0310-9956-ffa450edef68
2015-03-12 17:58:29 +00:00
Yonik Seeley 5fa7505968 SOLR-7218: Use ^= for constant score query
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666183 13f79535-47bb-0310-9956-ffa450edef68
2015-03-12 13:29:40 +00:00
David Wayne Smiley 9cf30e5ed2 LUCENE-4942: Fix BytesRefIteratorTokenStream's attribute clone method.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665949 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 17:46:59 +00:00
David Wayne Smiley 5a0e0e007a SOLR-7228 fix test: remove weird leading unicode char from source file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665947 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 17:23:58 +00:00
Ryan McKinley e8eaf479c3 Merged revision(s) 1665899 from lucene/dev/branches/branch_5x:
SOLR-7228: fix test
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665900 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 15:19:01 +00:00
Chris M. Hostetter cf8c363f8e SOLR-6349: real fix for out of order stats facet's
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665730 13f79535-47bb-0310-9956-ffa450edef68
2015-03-10 22:25:29 +00:00
Ryan McKinley 09bd503fb2 Merged revision(s) 1665723 from lucene/dev/branches/branch_5x:
SOLR-7228: expose Analyzer for AbstractSpatialPrefixTreeFieldType


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665724 13f79535-47bb-0310-9956-ffa450edef68
2015-03-10 22:13:10 +00:00
Chris M. Hostetter 37ba6f6a27 SOLR-6349 + SOLR-6682: test workaround since (deprecated) stats.facet doesn't garuntee order of list
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665635 13f79535-47bb-0310-9956-ffa450edef68
2015-03-10 17:48:58 +00:00
Chris M. Hostetter 10dd59701c SOLR-6349 + SOLR-6682: Added support for stats.field localparams to enable/disable individual stats; Fix response when using EnumField with StatsComponent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665579 13f79535-47bb-0310-9956-ffa450edef68
2015-03-10 15:34:06 +00:00
Shalin Shekhar Mangar ca8e4be1d3 Move null check to the right spot
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665563 13f79535-47bb-0310-9956-ffa450edef68
2015-03-10 14:21:51 +00:00
Joel Bernstein ae6a62b2ef SOLR-7224: HashQParserPlugin test failures due to java.util.concurrent.RejectedExecutionException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665517 13f79535-47bb-0310-9956-ffa450edef68
2015-03-10 13:05:17 +00:00
Joel Bernstein 9563a30751 SOLR-7082: Streaming Aggregation for SolrCloud
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665391 13f79535-47bb-0310-9956-ffa450edef68
2015-03-10 01:38:57 +00:00
Alan Woodward b4ee7b6eb4 SOLR-7180: MiniSolrCloudCluster starts up and shuts down its jetties in parallel
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665353 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 20:51:28 +00:00
Noble Paul 31a3e55508 SOLR-7126: Secure loading of runtime external jars
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665207 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 12:23:59 +00:00
Alan Woodward a8fd826f4a SOLR-4044: CloudSolrClient.connect() can take a timeout parameter to wait for the cluster
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665174 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 10:31:48 +00:00
Alan Woodward 1968413943 SOLR-7206: MiniSolrCloudCluster should deal with SSL mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665159 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 09:15:57 +00:00
Shalin Shekhar Mangar 059e5259c6 SOLR-5846: EnumField supports DocValues functionality
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665107 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 01:29:28 +00:00
Shalin Shekhar Mangar 66e5099e15 SOLR-6841: Visualize lucene segment information in Admin UI
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665105 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 00:54:48 +00:00
Noble Paul 8571b92efd SOLR-7073: renamed PluginRegistry to PluginBag
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665076 13f79535-47bb-0310-9956-ffa450edef68
2015-03-08 20:21:22 +00:00
Noble Paul 45196378d3 SOLR-7073: rename the .jar files to .jar.bin so that the build scripts don't fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665063 13f79535-47bb-0310-9956-ffa450edef68
2015-03-08 18:09:25 +00:00
Ramkumar Aiyengar 65b033712b SOLR-6359: Allow customization of the number of records and logs kept by UpdateLog
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664825 13f79535-47bb-0310-9956-ffa450edef68
2015-03-07 11:40:37 +00:00
Noble Paul a0ff7fdef2 SOLR-7126: honor the enable.runtime.lib flag
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664802 13f79535-47bb-0310-9956-ffa450edef68
2015-03-07 07:23:11 +00:00
Noble Paul b221a53496 SOLR-7073: Add an API to add a jar to a collection's classpath
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664797 13f79535-47bb-0310-9956-ffa450edef68
2015-03-07 05:55:35 +00:00
Noble Paul 29b23f9166 SOLR-7073: test files required for the feature
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664795 13f79535-47bb-0310-9956-ffa450edef68
2015-03-07 05:46:57 +00:00
Alan Woodward a43843701d SOLR-7155: Add optional collection parameter to all SolrClient methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664310 13f79535-47bb-0310-9956-ffa450edef68
2015-03-05 11:29:24 +00:00
Alan Woodward 739e9b489d SOLR-7179: Stop using sysprops to configure test jettys
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664292 13f79535-47bb-0310-9956-ffa450edef68
2015-03-05 09:54:06 +00:00
Ramkumar Aiyengar de381d2816 SOLR-6804: Untangle SnapPuller and ReplicationHandler
This closes #110


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664126 13f79535-47bb-0310-9956-ffa450edef68
2015-03-04 19:45:09 +00:00
Noble Paul 82e72c8d19 SOLR-7126: Utility classes for Crypto
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664116 13f79535-47bb-0310-9956-ffa450edef68
2015-03-04 19:12:53 +00:00
Noble Paul 4becc8868c SOLR-7126: adding crypto keys and test data
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664107 13f79535-47bb-0310-9956-ffa450edef68
2015-03-04 18:44:01 +00:00
Ramkumar Aiyengar b29aef7954 SOLR-6275: Improve accuracy of QTime reporting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663829 13f79535-47bb-0310-9956-ffa450edef68
2015-03-03 23:24:50 +00:00
Noble Paul 2576931e6a SolrResourceLoader.assertAwareCompatibility() could be static
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663701 13f79535-47bb-0310-9956-ffa450edef68
2015-03-03 13:24:49 +00:00
Erick Erickson 3ae3d32bcb SOLR-6657: DocumentDictionaryFactory requires weightField to be mandatory, but it shouldn't
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663525 13f79535-47bb-0310-9956-ffa450edef68
2015-03-03 04:53:41 +00:00
Chris M. Hostetter 821ab8b0d9 SOLR-7171: BaseDistributedSearchTestCase now clones getSolrHome() for each subclass, and consistently uses getSolrXml()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663381 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 18:07:55 +00:00
Robert Muir a9915c6616 LUCENE-6317: Fix readStringStringMap API, reduce memory usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663157 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 20:30:49 +00:00
Shalin Shekhar Mangar eb8079c050 SOLR-7178: OverseerAutoReplicaFailoverThread compares Integer objects using ==
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662935 13f79535-47bb-0310-9956-ffa450edef68
2015-02-28 13:28:18 +00:00
Adrien Grand 68f87360dd LUCENE-6303: Do not cache filters twice in SolrIndexSearcher.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662914 13f79535-47bb-0310-9956-ffa450edef68
2015-02-28 10:29:23 +00:00
Adrien Grand e4d88cab5c LUCENE-6303: CachingWrapperFilter -> CachingWrapperQuery, FilterCache -> QueryCache and added caching to IndexSearcher.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662774 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 18:09:01 +00:00
Shalin Shekhar Mangar 3cf40619ca SOLR-7128: Make sure fields aren't duplicated in shard requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662729 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 15:50:07 +00:00
Adrien Grand 544f5bf1e7 LUCENE-6300: Remove multi-term filters.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662682 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 14:12:02 +00:00
Noble Paul 0a169719c7 SOLR-7168: Test failure :Could not remove the files in windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662677 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 13:05:04 +00:00
Alan Woodward d7eefdd7a7 SOLR-7151: SolrClient query methods throw IOException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662670 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 12:17:51 +00:00
Michael McCandless 62130ae70c LUCENE-6299: IndexWriter was failing to enforce the 2.1 billion doc limit in one index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662571 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 21:23:53 +00:00
Noble Paul bd44478442 SOLR-7168:TestSolrConfigHandler failure ,Could not remove the following files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662541 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 19:14:03 +00:00
Michael McCandless 4e53fae38e LUCENE-6299: commit rob's last patch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6299@1662504 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 17:34:00 +00:00
Alan Woodward 46ede7622e SOLR-7166: Encapsulate JettySolrRunner config
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662449 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 14:05:24 +00:00
Noble Paul f511424d43 SOLR-7130: Make stale state notification work without failing the requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662439 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 13:04:28 +00:00
Shalin Shekhar Mangar 7cf4eedf59 SOLR-7164: Fix failing TestSolr4Spatial by closing SolrCore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662368 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 06:59:28 +00:00
Shalin Shekhar Mangar 936aa1dcfc SOLR-7128: Two phase distributed search is fetching extra fields in GET_TOP_IDS phase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662366 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 06:47:52 +00:00
Ryan McKinley 5eda9e0c77 SOLR-7164: fix README for BBoxFieldType
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662357 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 05:06:51 +00:00
Ryan McKinley 47662fff60 SOLR-7164: BBoxFieldType defaults sub fields to not-stored
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662355 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 04:38:36 +00:00
Mark Robert Miller f2c9067e59 SOLR-7113: Multiple calls to UpdateLog#init is not thread safe with respect to the HDFS FileSystem client object usage.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662324 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 23:19:08 +00:00
Adrien Grand 0e505bcc00 LUCENE-6289: Replace DocValuesRangeFilter with DocValuesRangeQuery.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662244 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 15:26:04 +00:00
Alan Woodward c5507b0c21 SOLR-7160: Decouple CoreContainer config from xml representation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662232 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 14:45:51 +00:00
Shalin Shekhar Mangar 6ae36bc6e9 SOLR-7147: Introduce new TrackingShardHandlerFactory for monitoring what requests are sent to shards during tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662209 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 13:33:55 +00:00
Alan Woodward 732f9aeecc SOLR-7145: SolrRequest is now parametrized by its response type
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662198 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 11:14:02 +00:00
Shalin Shekhar Mangar caf9037242 SOLR-7156: Fix test failures due to resource leaks on windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662174 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 07:44:27 +00:00
David Wayne Smiley 7e060ae688 SOLR-7116: Distrib facet refinement shouldn't re-compute other facet types
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662167 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 04:42:11 +00:00
Ryan Ernst a411d8af6c LUCENE-6271: initial patch, postings() funcs switched over to not return null, callers marked with nocommits that check against null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1662157 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 01:17:13 +00:00
Adrien Grand 2cd3fb807d LUCENE-6286: Removed IndexSearcher methods that take a Filter object.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662059 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 17:43:10 +00:00
Shalin Shekhar Mangar a43ebd6870 SOLR-7142: Fix TestFaceting.testFacets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661685 13f79535-47bb-0310-9956-ffa450edef68
2015-02-23 14:39:09 +00:00
Adrien Grand bed131f180 LUCENE-6270: Replace TermsFilter with TermsQuery.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661395 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 16:49:55 +00:00
Alan Woodward 299c492dd3 LUCENE-6272: Scorer extends DocIdSetIterator directly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661376 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 15:02:46 +00:00
Adrien Grand 3dc3e57847 LUCENE-6269: Remove BooleanFilter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661366 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 14:08:09 +00:00
Robert Muir 7c36d012f6 LUCENE-6265: add extrasfs to return bonus files/subdirs with directories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661251 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 00:09:35 +00:00
Robert Muir 8607f76503 LUCENE-6266: Remove unnecessary Directory parameters from SIS/SIPC/SI
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661172 13f79535-47bb-0310-9956-ffa450edef68
2015-02-20 18:11:44 +00:00
Adrien Grand bd89330adf LUCENE-6268: Replace FieldValueFilter and DocValuesRangeFilter with equivalent queries that support approximations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661156 13f79535-47bb-0310-9956-ffa450edef68
2015-02-20 16:36:46 +00:00
Alan Woodward f013c438ee SOLR-7125: Allow upload and download of configs via CloudSolrClient
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660919 13f79535-47bb-0310-9956-ffa450edef68
2015-02-19 15:58:55 +00:00
Erick Erickson 6d68694ce5 SOLR-7032: Clean up tests remnanat of old-style solr.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660790 13f79535-47bb-0310-9956-ffa450edef68
2015-02-19 04:11:48 +00:00
Anshum Gupta d17e0ec7f4 SOLR-7104: Propagate property prefix params for ADDREPLICA
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660551 13f79535-47bb-0310-9956-ffa450edef68
2015-02-18 01:00:33 +00:00
Anshum Gupta 8a254abccd SOLR-6956: Fixing the mocked OCP in OverseerCollectionProcessorTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660544 13f79535-47bb-0310-9956-ffa450edef68
2015-02-18 00:05:00 +00:00
Shalin Shekhar Mangar aa2bc27bac SOLR-6956: A better message for DeleteReplicaTest failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660453 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 17:31:24 +00:00
Shalin Shekhar Mangar 26fdf474dd SOLR-6956: OverseerCollectionProcessor and replicas on the overseer node can sometimes operate on stale cluster state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660449 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 17:10:43 +00:00
Robert Muir 69300ee467 LUCENE-6246: Fix DocsEnum -> PostingsEnum transition (phase 1)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660366 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 12:46:55 +00:00
Shalin Shekhar Mangar f89cab00d1 SOLR-7118: Use the right schema fields to avoid spurious failures and other misc fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660313 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 08:18:51 +00:00
Ryan Ernst 1dc2cbf25e LUCENE-6245: Force Filter subclasses to implement toString API from Query
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659982 13f79535-47bb-0310-9956-ffa450edef68
2015-02-15 19:07:30 +00:00
Shalin Shekhar Mangar 8c1c170468 SOLR-6917: TestDynamicLoading should wait for .system collection to recover and JarRepository should always choose an active replica
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659893 13f79535-47bb-0310-9956-ffa450edef68
2015-02-15 08:21:13 +00:00
David Wayne Smiley 59769898df SOLR-7005: don't add facet.heatmap.format=png to shard requests unless heatmaps are in use
Not a bug; just a small cleanup.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659872 13f79535-47bb-0310-9956-ffa450edef68
2015-02-15 02:18:13 +00:00
Noble Paul 02a391b284 SOLR-6924: messageformat requires strings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659860 13f79535-47bb-0310-9956-ffa450edef68
2015-02-14 21:46:08 +00:00
Shalin Shekhar Mangar 0ad390fee0 SOLR-7112: Fix DeleteInactiveReplicaTest.deleteLiveReplicaTest test failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659850 13f79535-47bb-0310-9956-ffa450edef68
2015-02-14 19:44:51 +00:00
Timothy Potter 429588097c SOLR-6832: Queries be served locally rather than being forwarded to another replica
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659748 13f79535-47bb-0310-9956-ffa450edef68
2015-02-14 02:37:34 +00:00
Timothy Potter e7ebd44f12 SOLR-6311: SearchHandler should use path when no qt or shard.qt parameter is specified
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659694 13f79535-47bb-0310-9956-ffa450edef68
2015-02-13 21:39:57 +00:00
Robert Muir 04e297adee LUCENE-6241: FSDirectory.listAll doesnt filter out subdirectories anymore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659621 13f79535-47bb-0310-9956-ffa450edef68
2015-02-13 17:30:54 +00:00
David Wayne Smiley 2919db8728 LUCENE-6215: Move NumberRangePrefixTreeStrategy into correct package
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659615 13f79535-47bb-0310-9956-ffa450edef68
2015-02-13 17:19:33 +00:00
Adrien Grand 82eff4eb4d LUCENE-1518: Make Filter extend Query.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659585 13f79535-47bb-0310-9956-ffa450edef68
2015-02-13 15:59:03 +00:00
Shalin Shekhar Mangar ef71f3d1bd SOLR-6214: Fix mistake in failure message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659203 13f79535-47bb-0310-9956-ffa450edef68
2015-02-12 10:30:57 +00:00
Shalin Shekhar Mangar 17bfed1212 SOLR-6214: Snapshots numberToKeep param only keeps n-1 backups
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659180 13f79535-47bb-0310-9956-ffa450edef68
2015-02-12 09:37:14 +00:00
Shalin Shekhar Mangar 9ace7e1694 SOLR-7103: Remove unused method params in faceting code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659175 13f79535-47bb-0310-9956-ffa450edef68
2015-02-12 09:24:37 +00:00
Shalin Shekhar Mangar a94083c06b Fixed typos and used diamond operator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659164 13f79535-47bb-0310-9956-ffa450edef68
2015-02-12 08:10:04 +00:00
Shalin Shekhar Mangar 90584151cd Fixed typos in comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659160 13f79535-47bb-0310-9956-ffa450edef68
2015-02-12 07:31:02 +00:00
Shalin Shekhar Mangar f2a0440c25 SOLR-6775: Do not attempt cleanup of temp directory because it is handled by test framework
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659149 13f79535-47bb-0310-9956-ffa450edef68
2015-02-12 05:03:58 +00:00
Mark Robert Miller d0ca43081f SOLR-7101: JmxMonitoredMap can throw an exception in clear when queryNames fails.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659116 13f79535-47bb-0310-9956-ffa450edef68
2015-02-12 01:13:21 +00:00
Noble Paul 067b01c1b3 javadocs error fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659008 13f79535-47bb-0310-9956-ffa450edef68
2015-02-11 17:14:03 +00:00
Noble Paul cb87848acd formatting fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658961 13f79535-47bb-0310-9956-ffa450edef68
2015-02-11 13:53:23 +00:00
Noble Paul 5c6d796fca formatting fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658932 13f79535-47bb-0310-9956-ffa450edef68
2015-02-11 11:25:24 +00:00
Noble Paul 67c81fb7b9 formatting fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658924 13f79535-47bb-0310-9956-ffa450edef68
2015-02-11 11:10:28 +00:00
Noble Paul 2eb8ae20a8 SOLR-6533: formatting fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658917 13f79535-47bb-0310-9956-ffa450edef68
2015-02-11 10:41:13 +00:00
Noble Paul 648eebbe92 SOLR-6533: logging added and formatting fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658916 13f79535-47bb-0310-9956-ffa450edef68
2015-02-11 10:40:03 +00:00
Tomas Eduardo Fernandez Lobbe 78e1153dcb SOLR-7019: Support changing field key when using interval faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658860 13f79535-47bb-0310-9956-ffa450edef68
2015-02-11 01:42:13 +00:00
David Wayne Smiley ac50da1613 SOLR-7005: New facet.heatmap on spatial RPT fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658614 13f79535-47bb-0310-9956-ffa450edef68
2015-02-10 02:31:02 +00:00
Timothy Potter f3279129a6 SOLR-7094: Better error reporting of JSON parse issues when indexing docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658595 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 22:41:29 +00:00
Robert Muir 12b30db6ce LUCENE-4797: fix remaining html violations, engage linter in solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658539 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 19:02:32 +00:00
Adrien Grand 87b7393360 LUCENE-6224: cut over more package.htmls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658525 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 18:47:17 +00:00
Mark Robert Miller 77df3e2333 SOLR-6920, SOLR-6640: Make constant and fix logging.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658519 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 18:39:36 +00:00
Noble Paul 2eaad8e89b SOLR-5890: Delete silently fails if not sent to shard where document was
added

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658486 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 18:00:25 +00:00
Alan Woodward e0ff51383c LUCENE-6226: Revert for more API discussions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658375 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 12:02:03 +00:00
Alan Woodward ef2141f6bf LUCENE-6226: Query.createWeight() takes a param indicating which postings values should be read from the index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658373 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 11:46:07 +00:00
Mark Robert Miller f2bf0e2235 SOLR-7033, SOLR-5961: RecoveryStrategy should not publish any state when closed / cancelled and there should always be a pause between recoveries even when recoveries are rapidly stopped and started as well as when a node attempts to become the leader for a shard.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658236 13f79535-47bb-0310-9956-ffa450edef68
2015-02-08 18:31:07 +00:00
Mark Robert Miller 908da87486 SOLR-6920, SOLR-6640: Rename method to filesToAlwaysDownloadIfNoChecksums.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658129 13f79535-47bb-0310-9956-ffa450edef68
2015-02-08 03:53:41 +00:00
Mark Robert Miller f0e9183c29 SOLR-6920, SOLR-6640: Do not log an error when a file does not exist for comparison.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658089 13f79535-47bb-0310-9956-ffa450edef68
2015-02-07 18:12:13 +00:00
Mark Robert Miller 704626ac47 SOLR-6920, SOLR-6640: When we so not have a checksum for a file, always download files under 100kb and other small improvements.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658078 13f79535-47bb-0310-9956-ffa450edef68
2015-02-07 17:00:08 +00:00
Mark Robert Miller dfeca5ca16 SOLR-6920, SOLR-6640: A replicated index can end up corrupted when small files end up with the same file name and size.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657969 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 21:38:57 +00:00
Adrien Grand bd3753e965 LUCENE-6220: Fix ArrayStoreException in grouping tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657921 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 18:52:20 +00:00
Adrien Grand e4436aa7fe LUCENE-6220: Move needsScores to Query.createWeight.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657874 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 15:54:53 +00:00
Alan Woodward c13216934c LUCENE-4524: Replace DocsEnum and DocsAndPositionsEnum with PostingsEnum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657800 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 13:25:22 +00:00
Noble Paul fc3df31e2d SOLR-7083:Support managing all named components in solrconfig such as
requestHandler, queryParser, queryResponseWriter, valueSourceParser, 
  transformer, queryConverter

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657781 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 11:08:25 +00:00
Noble Paul e78affcaa2 SOLR-6924: Splitting the testcase because more SolrConfigHandler features and testcases are coming up
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657761 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 09:05:59 +00:00
Shalin Shekhar Mangar 251516bcc7 SOLR-6775: Import the right Lists class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657680 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 20:06:57 +00:00
Tomas Eduardo Fernandez Lobbe b96f012f2e SOLR-6648: Add support for highlight and allTermsRequired configuration in AnalyzingInfix and BlendedInfix Solr suggesters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657655 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 18:24:01 +00:00
Tomas Eduardo Fernandez Lobbe 442f111b4d Minor javadoc fix in SuggestComponent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657626 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 17:04:57 +00:00
Robert Muir 010e352f60 LUCENE-6218: don't decode freqs or enumerate all positions when scoring is not needed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657554 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 12:34:28 +00:00
Shalin Shekhar Mangar 0beba279a5 SOLR-6775: Creating backup snapshot results in null pointer exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657523 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 10:37:25 +00:00
Shalin Shekhar Mangar 93ba7da65f SOLR-4839: Avoid NPE when jetty.testMode=false
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657495 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 08:42:56 +00:00
Shalin Shekhar Mangar 118a826378 SOLR-7072: Multiple mlt.fl does not work
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657493 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 08:36:11 +00:00
Shalin Shekhar Mangar 98f7513609 SOLR-6227: Avoid spurious failures of ChaosMonkeySafeLeaderTest by ensuring there's at least one jetty to kill
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657487 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 06:33:28 +00:00
Gregory Chanan 348e1d07e3 SOLR-6919: Use separate logger for SolrCore request logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657417 13f79535-47bb-0310-9956-ffa450edef68
2015-02-04 22:04:02 +00:00
Anshum Gupta efba0e80b0 SOLR-7049: LIST Collections API call should be processed directly by the CollectionsHandler instead of the OverseerCollectionProcessor.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657409 13f79535-47bb-0310-9956-ffa450edef68
2015-02-04 21:39:47 +00:00
Shalin Shekhar Mangar d17715000c Remove unused static constant from ZkController
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657164 13f79535-47bb-0310-9956-ffa450edef68
2015-02-04 12:38:19 +00:00
Noble Paul 7a73a2a9b3 SOLR-6787: .system collection create fails if /configs dir is not present in ZK
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1656747 13f79535-47bb-0310-9956-ffa450edef68
2015-02-03 14:44:32 +00:00
Shalin Shekhar Mangar 588ed73b94 SOLR-6640: Use SegmentInfos.files in unused file check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1656630 13f79535-47bb-0310-9956-ffa450edef68
2015-02-03 06:55:01 +00:00
Timothy Potter 2dfb0a02a8 SOLR-4905: Allow fromIndex parameter to JoinQParserPlugin to refer to a single-sharded collection that has a replica on all nodes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1656622 13f79535-47bb-0310-9956-ffa450edef68
2015-02-03 03:07:26 +00:00
Gregory Chanan 8ac45d4479 SOLR-6919: Log REST info before executing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1656596 13f79535-47bb-0310-9956-ffa450edef68
2015-02-02 22:41:00 +00:00
Joel Bernstein e4ac9ae227 SOLR-7068: Collapse on numeric field breaks when min/max values are negative.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1656335 13f79535-47bb-0310-9956-ffa450edef68
2015-02-01 17:36:25 +00:00
Michael McCandless 1529c57ca1 LUCENE-6212: remove per-doc analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1656272 13f79535-47bb-0310-9956-ffa450edef68
2015-02-01 09:12:09 +00:00
Mark Robert Miller fd35bd5ae4 SOLR-6944: ReplicationFactorTest and HttpPartitionTest both fail with org.apache.http.NoHttpResponseException: The target server failed to respond
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1656056 13f79535-47bb-0310-9956-ffa450edef68
2015-01-30 16:56:24 +00:00
Mark Robert Miller 0068708e14 SOLR-6969: When opening an HDFSTransactionLog for append we must first attempt to recover it's lease to prevent data loss.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655754 13f79535-47bb-0310-9956-ffa450edef68
2015-01-29 17:22:41 +00:00
Mark Robert Miller 84ffb0855f SOLR-6924: Add BadApple to test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655736 13f79535-47bb-0310-9956-ffa450edef68
2015-01-29 16:49:49 +00:00
Noble Paul 7121dbc494 SOLR-7059: Using paramset with multi-valued keys leads to a 500. SolrParams need an aray instead of a list
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655541 13f79535-47bb-0310-9956-ffa450edef68
2015-01-29 07:40:32 +00:00
Noble Paul ce8efb0d93 SOLR-7050: realtime get should internally load only fields specified in fl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655540 13f79535-47bb-0310-9956-ffa450edef68
2015-01-29 07:35:18 +00:00
Erick Erickson 667fa3a270 SOLR-7046: NullPointerException when group.function uses query() function
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655525 13f79535-47bb-0310-9956-ffa450edef68
2015-01-29 05:22:04 +00:00
Alan Woodward 06287f52ad Fix test to take SSL config into account
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655362 13f79535-47bb-0310-9956-ffa450edef68
2015-01-28 15:35:31 +00:00
Alan Woodward 92491f2472 SOLR-6954: Remove deprecated SolrClient.shutdown() method from trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655277 13f79535-47bb-0310-9956-ffa450edef68
2015-01-28 12:28:18 +00:00
Alan Woodward 3018576b67 SOLR-6954: SolrClient implements Closeable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655263 13f79535-47bb-0310-9956-ffa450edef68
2015-01-28 11:55:57 +00:00
Anshum Gupta 41729528c3 SOLR-6640: Fixing the comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655249 13f79535-47bb-0310-9956-ffa450edef68
2015-01-28 09:41:47 +00:00
Gregory Chanan ba3eb7620e SOLR-6915: Avoid broken Locales and skip IBM J9
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655187 13f79535-47bb-0310-9956-ffa450edef68
2015-01-27 23:00:16 +00:00
Timothy Potter 9c1e05d604 SOLR-7037: bin/solr start -e techproducts -c fails to start Solr in cloud mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655058 13f79535-47bb-0310-9956-ffa450edef68
2015-01-27 15:00:32 +00:00
Noble Paul 74d54410f9 SOLR-7039 First collection created with stateFormat=2 writes to clusterstate.json also
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655032 13f79535-47bb-0310-9956-ffa450edef68
2015-01-27 13:21:24 +00:00
Anshum Gupta 237f0d0ded SOLR-7038: Validate config set presence before trying to create a collection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654942 13f79535-47bb-0310-9956-ffa450edef68
2015-01-27 02:10:04 +00:00
Noble Paul d3f7b2035a fixing NPE http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/11688/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654862 13f79535-47bb-0310-9956-ffa450edef68
2015-01-26 18:39:43 +00:00
Mark Robert Miller 8755ea2edd SOLR-6500: Refactor FileFetcher in SnapPuller, add debug logging.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654858 13f79535-47bb-0310-9956-ffa450edef68
2015-01-26 18:30:45 +00:00
Tomas Eduardo Fernandez Lobbe 5c809f285c SOLR-6845: Fixed Suggester's buildOnStartup in core reload and improved tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654710 13f79535-47bb-0310-9956-ffa450edef68
2015-01-25 22:40:44 +00:00
Shalin Shekhar Mangar 9f909988f8 Use collection counter as the thread name itself
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654277 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 17:25:45 +00:00
Erick Erickson 7fda449473 SOLR-6902: Use JUnit rules instead of inheritance with distributed Solr tests to allow for multiple tests without the same class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654256 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 16:13:32 +00:00
Noble Paul bd9de6bc24 reverting SOLR-6938
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654038 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 20:11:41 +00:00
Noble Paul 08dee02f04 SOLR-6938 Implicit configuration of Update handlers does not match previous explicit one
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653989 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 18:19:21 +00:00
Shalin Shekhar Mangar bea1e9c608 SOLR-6847: LeaderInitiatedRecoveryThread compares wrong replica's state with lirState
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653879 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 14:36:08 +00:00
Noble Paul ec01b5aeb5 SOLR-6988 Make stateformat=2 as default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653867 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 14:12:52 +00:00
Shalin Shekhar Mangar b2249d1069 SOLR-6640: Exclude lock files from unused file check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653844 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 13:12:45 +00:00
Noble Paul 51016c0fdb SOLR-7015 collection create with stateFormat=2 fails if conf name equals collection name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653788 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 09:12:59 +00:00
Tomas Eduardo Fernandez Lobbe 8c50bc2fde SOLR-6845: Suggester tests start new cores instead of reloading
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653784 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 09:02:13 +00:00
Shalin Shekhar Mangar 2d2b07928f SOLR-7011: Delete collection returns before collection is actually removed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653716 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 00:10:55 +00:00
Shalin Shekhar Mangar 0961e4179d SOLR-7014: Collapse identical catch branches in try-catch statements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653665 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 21:39:15 +00:00
Alan Woodward 344be1a6b1 SOLR-6976: Remove methods and classes deprecated in 4.x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653549 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 15:06:04 +00:00
Noble Paul 8932af3b4b SOLR-6787, SOLR-6801 use realtime get to verify that the versions do not collide
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653453 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 07:17:08 +00:00
Tomas Eduardo Fernandez Lobbe 6ce841759a SOLR-6845: Add a ''buildOnStartup'' option for suggesters. (Tomás Fernández Löbbe)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653410 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 00:11:00 +00:00
Gregory Chanan e7045badaa SOLR-6987: SSL support for MiniSolrCloudCluster
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653402 13f79535-47bb-0310-9956-ffa450edef68
2015-01-20 23:06:46 +00:00
Noble Paul a881142e8a SOLR-6801 test always writes to leader so that replication lag does not impact next insertion
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653328 13f79535-47bb-0310-9956-ffa450edef68
2015-01-20 18:25:01 +00:00
Shalin Shekhar Mangar 76bfd12337 SOLR-6640: No need for SSL in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653283 13f79535-47bb-0310-9956-ffa450edef68
2015-01-20 16:22:49 +00:00
Shalin Shekhar Mangar 8a2ef93467 SOLR-6640: Close searchers before rollback and recovery to avoid index corruption
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653281 13f79535-47bb-0310-9956-ffa450edef68
2015-01-20 16:19:38 +00:00
Alan Woodward e61cd9654b SOLR-6840: Remove support for old-style solr.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652995 13f79535-47bb-0310-9956-ffa450edef68
2015-01-19 13:25:29 +00:00
Yonik Seeley 5fa8807541 SOLR-6909: Extract atomic update handling logic into AtomicUpdateDocumentMerger
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652660 13f79535-47bb-0310-9956-ffa450edef68
2015-01-17 20:04:27 +00:00
Noble Paul 8ee7579302 SOLR-6801 version can be string or number
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652444 13f79535-47bb-0310-9956-ffa450edef68
2015-01-16 16:00:50 +00:00
Noble Paul 255961719f SOLR-6801 NPE on core reload
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652431 13f79535-47bb-0310-9956-ffa450edef68
2015-01-16 15:18:05 +00:00
Timothy Potter b5df6e6a44 SOLR-6981: add a delete action to the bin/solr script
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652345 13f79535-47bb-0310-9956-ffa450edef68
2015-01-16 06:36:15 +00:00
Timothy Potter 7401236745 SOLR-6982: bin/solr and SolrCLI should support SSL-related Java System Properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652208 13f79535-47bb-0310-9956-ffa450edef68
2015-01-15 18:24:48 +00:00
Noble Paul 3a4cf1ca29 SOLR-6770 accidentally commented out a test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652153 13f79535-47bb-0310-9956-ffa450edef68
2015-01-15 16:06:05 +00:00
Noble Paul 02e4a111d3 SOLR-6770 mask the useParams aftger expanding it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652134 13f79535-47bb-0310-9956-ffa450edef68
2015-01-15 15:20:18 +00:00
Adrien Grand 457e70ab94 LUCENE-6179: Disallow out-of-order scoring.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652013 13f79535-47bb-0310-9956-ffa450edef68
2015-01-15 09:35:20 +00:00
Erik Hatcher d015e7366b SOLR-6900: converted to Unix-style options in bin/post and updated usage examples, also updated version string of SimplePostTool
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651916 13f79535-47bb-0310-9956-ffa450edef68
2015-01-15 00:53:17 +00:00
Mark Robert Miller a6b2647c92 SOLR-6931: We should do a limited retry when using HttpClient.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651767 13f79535-47bb-0310-9956-ffa450edef68
2015-01-14 18:38:20 +00:00
Timothy Potter 4930a38e84 SOLR-6764: Field types need to be re-informed after reloading a managed schema from ZK
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651763 13f79535-47bb-0310-9956-ffa450edef68
2015-01-14 18:25:10 +00:00
Joel Bernstein d095b85427 SOLR-6581: Additional test for Collapse and fixed problem with Expand float tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651685 13f79535-47bb-0310-9956-ffa450edef68
2015-01-14 14:35:03 +00:00
Noble Paul 684c7375d9 SOLR-6937 In schemaless mode ,replace spaces and special characters with underscore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651587 13f79535-47bb-0310-9956-ffa450edef68
2015-01-14 08:02:43 +00:00
Steven Rowe f24fa71a5d Get Maven compilation working again: example->server; don't need javax.servlet:javax.servlet-api test dep in solr/core/ivy.xml, since it's already included as a compile-scope dep via solr/server/ivy.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651545 13f79535-47bb-0310-9956-ffa450edef68
2015-01-14 00:46:43 +00:00
Mark Robert Miller 423e469e5f SOLR-6941: DistributedQueue#containsTaskWithRequestId can fail with NPE.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651380 13f79535-47bb-0310-9956-ffa450edef68
2015-01-13 15:25:56 +00:00
Mark Robert Miller 1696206de6 SOLR-6943: HdfsDirectoryFactory should fall back to system props for most of it's config if it is not found in solrconfig.xml.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651373 13f79535-47bb-0310-9956-ffa450edef68
2015-01-13 15:12:46 +00:00
David Wayne Smiley c0707926df SOLR-6904: remove deprecated spatial Circle & Rect syntax
FYI these weren't used often and were replaced with supported syntaxes in v4.3.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651351 13f79535-47bb-0310-9956-ffa450edef68
2015-01-13 14:17:18 +00:00
Noble Paul 2b1d34dfd9 SOLR-6770 Optimize tests to avoid duplicate RE[BST calls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651308 13f79535-47bb-0310-9956-ffa450edef68
2015-01-13 09:05:23 +00:00
Gregory Chanan a4e089e662 SOLR-6915: SaslZkACLProvider and Kerberos Test Using MiniKdc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651264 13f79535-47bb-0310-9956-ffa450edef68
2015-01-13 02:03:58 +00:00
Anshum Gupta 6d7fdf9f3f SOLR-6496: LBHttpSolrClient stops retrying after the timeAllowed threshold is met
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651236 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 23:52:10 +00:00
Timothy Potter c36180cdf8 SOLR-6952: bin/solr create action should copy configset directory instead of reusing an existing configset in ZooKeeper by default; commit also includes fix for SOLR-6933 - create alias
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651231 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 23:33:34 +00:00