Commit Graph

4172 Commits

Author SHA1 Message Date
Noble Paul 21bd68a443 SOLR-7984: wrong and misleading error message 'no default request handler is registered'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700840 13f79535-47bb-0310-9956-ffa450edef68
2015-09-02 15:13:27 +00:00
Noble Paul 0baae2f832 SOLR-8004: RuleBasedAuthorization plugin does not work for the collection-admin-edit permission
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700784 13f79535-47bb-0310-9956-ffa450edef68
2015-09-02 12:21:11 +00:00
Noble Paul 51510e2274 SOLR-8000: security.json is not loaded on server start
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700751 13f79535-47bb-0310-9956-ffa450edef68
2015-09-02 10:15:18 +00:00
Uwe Schindler f515227898 SOLR-7999: SolrRequestParser tests no longer depend on external URLs that may fail to work
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700706 13f79535-47bb-0310-9956-ffa450edef68
2015-09-02 05:28:21 +00:00
Mark Robert Miller 442963d020 SOLR-7844: Zookeeper session expiry during shard leader election can cause multiple leaders.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700603 13f79535-47bb-0310-9956-ffa450edef68
2015-09-01 16:13:38 +00:00
Mark Robert Miller 7fd588f57f SOLR-7999: SolrRequetParserTest#testStreamURL started failing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700592 13f79535-47bb-0310-9956-ffa450edef68
2015-09-01 15:28:18 +00:00
Noble Paul 4b61fc9903 SOLR-7988: LukeRequest on default path is broken with CloudSolrClient
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700580 13f79535-47bb-0310-9956-ffa450edef68
2015-09-01 14:37:20 +00:00
Yonik Seeley 330907bf11 SOLR-7876: exit ExitableDirectoryReader wrapper if timeout is not enabled
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700276 13f79535-47bb-0310-9956-ffa450edef68
2015-08-31 16:43:57 +00:00
Mark Robert Miller 431ed53d46 SOLR-7956: Remove a few more interrupt causes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700185 13f79535-47bb-0310-9956-ffa450edef68
2015-08-31 02:22:09 +00:00
Mark Robert Miller a956d3ffe2 SOLR-7956: There are interrupts on shutdown in places that can cause ChannelAlreadyClosed exceptions which prevents proper closing of transaction logs, interfere with the IndexWriter, the hdfs client and other things.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700177 13f79535-47bb-0310-9956-ffa450edef68
2015-08-30 23:44:31 +00:00
Shalin Shekhar Mangar e6e4f18fac SOLR-7957: Fix javadoc error causing precommit to fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698442 13f79535-47bb-0310-9956-ffa450edef68
2015-08-29 07:47:03 +00:00
Gregory Chanan 31b0bc959f SOLR-7789: Increase ConfigSets API timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698436 13f79535-47bb-0310-9956-ffa450edef68
2015-08-29 01:16:18 +00:00
Yonik Seeley db78023736 SOLR-7957: expand ResultContext to allow for multiple DocLists per response, remove redundant TransformContext
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698421 13f79535-47bb-0310-9956-ffa450edef68
2015-08-28 21:24:44 +00:00
Yonik Seeley bdf516f015 SOLR-7966: set X-Frame-Options to DENY for admin ui
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698341 13f79535-47bb-0310-9956-ffa450edef68
2015-08-28 14:47:58 +00:00
Christine Poerschke 8ce033a971 SOLR-7979: Fix two typos (in a CoreAdminHandler log message and a TestCloudPivotFacet comment).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698229 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 20:28:53 +00:00
Chris M. Hostetter bb32ecb0fd LUCENE-6760: if the list of whitspace characters changes again in a future JVM, fail fast with a clear error that the test needs corrected -- even if jvm assertions are disabled OR we get really lucky with the chars radnomly selected
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698227 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 20:25:09 +00:00
Yonik Seeley fbd8608206 SOLR-6787: fix BlobHandler.forward to not close request until after response has been written
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698226 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 20:23:30 +00:00
Chris M. Hostetter 456f70cf0d SOLR-7942: Previously removed unlockOnStartup option (LUCENE-6508) now logs warning if configured, will be an error in 6.0. Also improved error msg if an index is locked on startup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698200 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 17:35:40 +00:00
Christine Poerschke e1ec3e9631 SOLR-7970: Factor out a SearchGroupsFieldCommandResult class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698105 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 10:13:46 +00:00
Gregory Chanan 679dd8f790 SOLR-7789: Introduce a ConfigSet management API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698043 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 02:18:36 +00:00
Chris M. Hostetter 942750c33f SOLR-7954: Fixed an integer overflow bug in the HyperLogLog code used by the 'cardinality' option of stats.field to prevent ArrayIndexOutOfBoundsException in a distributed search when a large precision is selected and a large number of values exist in each shard
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697969 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 16:33:39 +00:00
Jan Høydahl c7d7b00e03 SOLR-7961: Add version command to bin/solr start script. Also adds -h for help
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697904 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 12:33:10 +00:00
Anshum Gupta a4f4c3bd7a SOLR-7974: Delete the ignored TestSolrCloudWithKerberos test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697804 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 01:48:05 +00:00
Erik Hatcher 99c26b08c3 Fix SimplePostTool (also bin/post) -filetypes * to work properly in 'web' mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697798 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 01:12:25 +00:00
Erik Hatcher 4199c14da7 Fix ReRankQuery.toString typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697793 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 01:05:07 +00:00
Mark Robert Miller d5d058df69 SOLR-7956: There are interrupts on shutdown in places that can cause ChannelAlreadyClosed exceptions which prevents proper closing of transaction logs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697707 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 16:00:09 +00:00
Shalin Shekhar Mangar 99a31e17d0 SOLR-6629: Watch /collections zk node on all nodes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697562 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 05:56:35 +00:00
Dawid Weiss c1dc2fb6a6 SOLR-7790, SOLR-7792, SOLR-7791: Update Carrot2 clustering component to version 3.10.3. Upgrade HPPC library to version 0.7.1, morfologik-stemming to version 1.10.0. (Dawid Weiss)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697345 13f79535-47bb-0310-9956-ffa450edef68
2015-08-24 09:53:04 +00:00
Uwe Schindler 6a44b00201 SOLR-7958: Move TestUtil#randomWhitespace to the only Solr test that is using it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697262 13f79535-47bb-0310-9956-ffa450edef68
2015-08-23 21:41:03 +00:00
Mikhail Khludnev e31c84e061 SOLR-7775: \{\!join score=.. fromIndex=...\} supports single-sharded replicated SolrCloudollection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697157 13f79535-47bb-0310-9956-ffa450edef68
2015-08-23 09:02:38 +00:00
Christine Poerschke 2cde9b620a SOLR-7007: DistributedUpdateProcessor now logs replay flag as boolean instead of int
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696852 13f79535-47bb-0310-9956-ffa450edef68
2015-08-20 20:08:47 +00:00
Shalin Shekhar Mangar 98f8e9fe2e SOLR-6760: New optimized DistributedQueue implementation for overseer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696706 13f79535-47bb-0310-9956-ffa450edef68
2015-08-20 05:12:22 +00:00
Noble Paul 8589202889 SOLR-7941: multivalued params are concatenated when using config API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696453 13f79535-47bb-0310-9956-ffa450edef68
2015-08-18 16:31:31 +00:00
Yonik Seeley bc6a8d9fff SOLR-7935:fix race that can cause a NPE in openNewSearcher called from an update concurrent with a core reload
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696417 13f79535-47bb-0310-9956-ffa450edef68
2015-08-18 14:04:06 +00:00
Timothy Potter 2443a7e6c1 SOLR-7934: SolrCLI masks underlying cause of create collection failure.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696056 13f79535-47bb-0310-9956-ffa450edef68
2015-08-15 15:43:36 +00:00
Timothy Potter 62fa28acd4 SOLR-7921: ignore testTechproductsExample unit test due to Jenkins failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695930 13f79535-47bb-0310-9956-ffa450edef68
2015-08-14 15:03:51 +00:00
Timothy Potter 2d7df11ab8 SOLR-7921: Fix non-reproducible test failure on sarowe's Jenkins by adding a brief wait before checking that tech product docs have been committed to the example server
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695752 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 19:06:04 +00:00
Shalin Shekhar Mangar 7ebc890bec SOLR-7869: Overseer does not handle BadVersionException correctly and, in some cases, can go into an infinite loop if cluster state in ZooKeeper is modified externally
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695746 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 18:31:09 +00:00
Robert Muir 9dc862147e LUCENE-6711: Use CollectionStatistics.docCount() for IDF and average field length computations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695744 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 17:37:15 +00:00
Timothy Potter 5af08f7211 SOLR-7921: The techproducts example fails when running in a directory that contains spaces.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695728 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 15:52:15 +00:00
Yonik Seeley a2ef0a013b SOLR-7922: 0 bucket was being skipped for numeric facets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695715 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 14:31:06 +00:00
Yonik Seeley 4f671e69ab SOLR-7918: optimize term->DocSet generation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695623 13f79535-47bb-0310-9956-ffa450edef68
2015-08-12 23:13:46 +00:00
Yonik Seeley d336b25449 tests: avoid json responsewriter bug w/ unknown classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695596 13f79535-47bb-0310-9956-ffa450edef68
2015-08-12 18:53:16 +00:00
Uwe Schindler 1331a57e3d LUCENE-6732: Remove tabs in JS and XML files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695395 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 23:00:39 +00:00
Uwe Schindler f0654e355e LUCENE-6732: Improve checker for invalid source patterns to also detect javadoc-style license headers. Use Groovy to implement the checks instead of plain Ant
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695380 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 22:13:00 +00:00
Noble Paul 11ac3f7f88 SOLR-7838: changed the permissions froma map to an array so that order is obvious
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695308 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 14:28:50 +00:00
Anshum Gupta 040849908c SOLR-7911: Remove unwanted logging and no commit from CoreContainer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695200 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 03:15:43 +00:00
Yonik Seeley b4c04ddbc8 SOLR-7219: use SolrConstantScoreQuery to fix 5x filter() break
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695133 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 16:45:23 +00:00
Shalin Shekhar Mangar 9c177facb9 SOLR-7908: SegmentsInfoRequestHandler gets a ref counted IndexWriter and does not properly release it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695069 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 13:51:45 +00:00
Ramkumar Aiyengar 264767d47d SOLR-7902: Split out use of child timers from RTimer to a sub-class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694935 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 23:55:22 +00:00
Erick Erickson cc3b13c1c4 SOLR-7836: Possible deadlock when closing refcounted index writers. Surrounded ulog updates with updatelock
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694913 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 21:46:41 +00:00
Noble Paul 1e82854532 SOLR-7849: Hardening tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694867 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 10:51:18 +00:00
Erick Erickson 2676aa61b9 SOLR-7836: Possible deadlock when closing refcounted index writers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694854 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 03:38:08 +00:00
Ramkumar Aiyengar b4aafbb606 SOLR-7859: Clamp down on use of System.currentTimeMillis
- Use RTimer where currentTimeMillis is used for timing
 - Abstract out a new class TimeOut for when currentTimeMillis/nanoTime
   is used to timeout operations.
 - Used `new Date()` in some cases where that is the logical intent.
 - Deprecated a couple of APIs which were publicly exposing epoch time,
   in favour of Date objects to make the intent clearer.
 - A couple of cases had currentTimeMillis in dead code.
 - In some cases where currentTimeMillis was used to just generate a name,
   used nanoTime instead (really it should be some sequence/random number
   in such a case).
 - In some other cases where stamps were used for SQL queries, HTTP headers,
   comparing against data in external files, ZK etc., used SuppressForbidden.
 - Also currently allow the use of currentTimeMillis in commit data,
   this is then used in replication -- this is concerning since absolute
   times are being compared, but that can be dealt with separately.



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694798 13f79535-47bb-0310-9956-ffa450edef68
2015-08-08 13:39:58 +00:00
Yonik Seeley c61b8e7678 SOLR-7219: add filter() to query syntax
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694708 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 16:14:41 +00:00
Shalin Shekhar Mangar 29e1d19b73 SOLR-5756: A utility Collection API to move a collection from stateFormat=1 to stateFormat=2
SOLR-7870: Write a test which asserts that requests to stateFormat=2 collection succeed on a node even after all local replicas of that collection have been removed

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694692 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 14:07:21 +00:00
Noble Paul f612c08a27 SOLR-7849: avoid re-regisetring pkiAuthentication plugin http interceptor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694681 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 13:08:20 +00:00
Noble Paul 0b27204418 SOLR-7849: Verify all nodes have received the new security config
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694673 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 12:41:32 +00:00
Uwe Schindler 7c9d78a2c4 LUCENE-6417: Upgrade ANTLR used in expressions module to version 4.5
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694614 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 07:10:40 +00:00
Tomas Eduardo Fernandez Lobbe b3e0a10336 SOLR-7875: Speedup SolrQueryTimeoutImpl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694574 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 21:27:07 +00:00
Noble Paul bd430506ce SOLR-7837: An AuthenticationPlugin which implements the HTTP BasicAuth protocol and stores credentials securely in ZooKeeper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694555 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 19:03:25 +00:00
Noble Paul d841e40a7e SOLR-7838: An authorizationPlugin interface where the access control rules are stored/managed in ZooKeeper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694553 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 18:59:23 +00:00
Noble Paul db2ccb1d41 SOLR-7757: Improved security framework where security components can be edited/reloaded, Solr now watches /security.json. Components can choose to make their configs editable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694552 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 18:57:34 +00:00
David Wayne Smiley 13f8ab93a9 LUCENE-6720: new FunctionRangeQuery wrapper around ValueSourceScorer.
And ValueSourceScorer improvements.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694543 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 17:47:24 +00:00
Mark Robert Miller d16712c71b SOLR-7868: CdcrReplicationDistributedZkTest should be run @Nightly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694515 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 15:00:52 +00:00
Gregory Chanan 589a27eb27 SOLR-7855: OverseerCollectionProcessor: separate general task management from collection message handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694406 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 06:07:32 +00:00
Timothy Potter 7cdc63f3d4 SOLR-7866: Harden code to prevent an unhandled NPE when trying to determine the max value of the version field.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694385 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 00:53:28 +00:00
Christine Poerschke 1e71faf3ba SOLR-7877: TestAuthenticationFramework.testBasics to preserve/restore the original request(Username|Password)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694314 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 20:05:27 +00:00
Yonik Seeley 40773abf6e SOLR-7220: Nested C-style comments in solr queries.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694273 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 17:50:43 +00:00
Noble Paul 4112979808 SOLR-7849: Solr-managed inter-node authentication when authentication enabled
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694217 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 13:59:14 +00:00
Varun Thacker 23762d5015 SOLR-7818: Distributed stats is only calculated with the terms that are present in the last shard of a distributed request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694210 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 13:30:53 +00:00
Varun Thacker 4b83947e1c SOLR-7756: ExactStatsCache and LRUStatsCache will throw an NPE when a term is not present on a shard
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694182 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 11:40:12 +00:00
Christine Poerschke 2de2e0a16f SOLR-7766: support creation of a coreless collection via createNodeSet=EMPTY
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694181 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 11:34:46 +00:00
Timothy Potter 1930323dbc SOLR-7847: disable the testTechproductsExample test that is failing on Jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694176 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 11:11:42 +00:00
Timothy Potter 6bb7fdd949 SOLR-7847: rollback accidental commit of VersionInfo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694173 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 11:10:29 +00:00
Timothy Potter 01185c98db SOLR-7847: disable the testTechproductsExample test that is failing on Jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694172 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 11:08:50 +00:00
Timothy Potter 2753a1f187 SOLR-7847: fix test failures due to post.jar missing, work around by invoking SimplePostTool directly vs using post.jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694104 13f79535-47bb-0310-9956-ffa450edef68
2015-08-04 20:27:49 +00:00
Chris M. Hostetter 4ceb26a3ce LUCENE-6609: refactor Solr tests to isolate SortedSetSelector dependent code into a test that SuppressCodecs the problematic docvalues formats
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694090 13f79535-47bb-0310-9956-ffa450edef68
2015-08-04 17:19:55 +00:00
Timothy Potter c1522a9c75 SOLR-7847: Implement run example logic in Java instead of OS-specific scripts in bin/solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694083 13f79535-47bb-0310-9956-ffa450edef68
2015-08-04 16:32:12 +00:00
Chris M. Hostetter 0b309054b6 LUCENE-6609: Add getSortField impls to many subclasses of FieldCacheSource which return the most direct SortField implementation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693979 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 23:13:22 +00:00
Erik Hatcher 5b21274051 SOLR-7799: fix mistake of docs count for terms being inside the new if condition inadvertently
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693943 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 17:33:00 +00:00
Erik Hatcher 2255cd3e54 SOLR-7799: Added includeIndexFieldFlags to /admin/luke
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693935 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 17:06:49 +00:00
Noble Paul 40e2cded26 SOLR-6625: Remove the HttpContext which provides our request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693931 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 16:23:01 +00:00
Mikhail Khludnev 83520603c1 SOLR-5882: introducing local param {!parent score=..}..
fixing ScoreMode.Min for ToParentBlockJoinQuery
fixing ScoreMode parsing exception in ScoreJoinQParserPlugin

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693926 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 16:14:52 +00:00
Jan Høydahl 8d79295286 SOLR-7863: Lowercase the CLUSTERPROP command in ZkCLI for consistency, print error for unknown cmd (janhoy)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693887 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 12:18:30 +00:00
Jan Høydahl 4a63a328d4 SOLR-3085: New edismax param mm.autoRelax which helps in certain cases of the stopwords/zero-hits issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693833 13f79535-47bb-0310-9956-ffa450edef68
2015-08-02 22:31:19 +00:00
Shalin Shekhar Mangar 85347285f8 SOLR-6273: Reset test hooks in a finally block to avoid leakage to other tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693786 13f79535-47bb-0310-9956-ffa450edef68
2015-08-02 05:26:25 +00:00
Shalin Shekhar Mangar 2a8bef841a SOLR-7854: Remove unused ZkStateReader.updateClusterState(false) method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693681 13f79535-47bb-0310-9956-ffa450edef68
2015-08-01 06:24:04 +00:00
Chris M. Hostetter 5f5ab2a79f SOLR-2522: new two argument option for the existing field() function; picks the min/max value of a docValues field to use as a ValueSource: "field(field_name,min)" and "field(field_name,max)"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693625 13f79535-47bb-0310-9956-ffa450edef68
2015-07-31 16:21:44 +00:00
Christine Poerschke 22d67a637a SOLR-7823: TestMiniSolrCloudCluster.testCollectionCreateSearchDelete async collection-creation (sometimes)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693616 13f79535-47bb-0310-9956-ffa450edef68
2015-07-31 15:35:10 +00:00
Noble Paul e513869cd6 SOLR-6625: formatting fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693434 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 14:39:23 +00:00
Noble Paul b09a4553f7 SOLR-6625: Enable registering interceptors for the calls made using HttpClient and make the
request object available at the interceptor context

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693432 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 14:28:20 +00:00
Timothy Potter db1f4a81a7 SOLR-6357: Allow delete documents by doing a score join query.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693338 13f79535-47bb-0310-9956-ffa450edef68
2015-07-29 19:45:47 +00:00
Shalin Shekhar Mangar a5d3bd5645 SOLR-7842: ZK connection loss or session expiry events should not fire config directory listeners
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693218 13f79535-47bb-0310-9956-ffa450edef68
2015-07-29 08:56:28 +00:00
Chris M. Hostetter cf829a36ba SOLR-7804: fix test bug that caused incorrect epsilon comparisons when expected value is negative. also fix bug in "test the test" sanity checks of epsilon comparisons
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693160 13f79535-47bb-0310-9956-ffa450edef68
2015-07-28 21:01:57 +00:00
Mikhail Khludnev 65b595add4 SOLR-6234: Scoring for query time join
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693092 13f79535-47bb-0310-9956-ffa450edef68
2015-07-28 13:24:04 +00:00
Chris M. Hostetter 0155076b1f SOLR-7829: Fixed a bug in distributed pivot faceting that could result in a facet.missing=true count which was lower then the correct count if facet.sort=index and facet.pivot.mincount > 1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692983 13f79535-47bb-0310-9956-ffa450edef68
2015-07-28 03:32:20 +00:00
Shalin Shekhar Mangar f33b81fe1e Remove unnecessary INFO log line
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692690 13f79535-47bb-0310-9956-ffa450edef68
2015-07-26 05:30:17 +00:00
Shalin Shekhar Mangar ec8b180757 Fix typos
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692688 13f79535-47bb-0310-9956-ffa450edef68
2015-07-26 05:21:48 +00:00
Jan Høydahl 2d5f162bb8 SOLR-7735: Look for solr.xml in Zookeeper by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692673 13f79535-47bb-0310-9956-ffa450edef68
2015-07-26 00:15:27 +00:00
Shalin Shekhar Mangar 8649f3f3bd SOLR-7825: Forbid all usages of log4j and java.util.logging classes in Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692624 13f79535-47bb-0310-9956-ffa450edef68
2015-07-25 14:34:47 +00:00
Chris M. Hostetter f00964e7db SOLR-7804: Fix test bug where it was randomly generating 2 identical facet.pivot params w/o realizing it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692552 13f79535-47bb-0310-9956-ffa450edef68
2015-07-24 17:34:08 +00:00
Gregory Chanan d50f1e3703 SOLR-7742: Avoid stacktrace in info logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692309 13f79535-47bb-0310-9956-ffa450edef68
2015-07-22 18:18:54 +00:00
Yonik Seeley fbd467ad76 SOLR-7446: simplify missing bucket handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692304 13f79535-47bb-0310-9956-ffa450edef68
2015-07-22 17:54:36 +00:00
Joel Bernstein 129a83b198 SOLR-7441:Improve overall robustness of the Streaming stack: Streaming API, Streaming Expressions, Parallel SQL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692193 13f79535-47bb-0310-9956-ffa450edef68
2015-07-21 20:28:35 +00:00
Chris M. Hostetter 9e61daf0fa SOLR-7765: Hardened the behavior of TokenizerChain when null arguments are used in constructor. This prevents NPEs in some code paths.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692170 13f79535-47bb-0310-9956-ffa450edef68
2015-07-21 16:49:37 +00:00
Adrien Grand 3b63fbe07a SOLR-7815: Removed LuceneQueryOptimizer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692070 13f79535-47bb-0310-9956-ffa450edef68
2015-07-21 08:50:06 +00:00
Adrien Grand 3be6ef209b LUCENE-7715: Removed IgnoreAcceptDocsQuery.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692062 13f79535-47bb-0310-9956-ffa450edef68
2015-07-21 08:03:32 +00:00
Uwe Schindler 4d2bdd36d6 SOLR-7803: Use Java 8 ThreadLocal
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691900 13f79535-47bb-0310-9956-ffa450edef68
2015-07-20 09:41:19 +00:00
Uwe Schindler 50f168ed4c SOLR-7803: Prevent class loading deadlock in TrieDateField; refactor date formatting and parsing out of TrieDateField and move to static utility class DateFormatUtil
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691893 13f79535-47bb-0310-9956-ffa450edef68
2015-07-20 09:07:50 +00:00
Erick Erickson e7640f99a0 SOLR-6273: Cross Data Center Replication. All tests are now passing on my machine, let's see if Jenkins flushes anything out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691606 13f79535-47bb-0310-9956-ffa450edef68
2015-07-17 16:38:13 +00:00
Dawid Weiss 8b3bc2f088 Merging with trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691514 13f79535-47bb-0310-9956-ffa450edef68
2015-07-17 11:10:25 +00:00
Yonik Seeley 58ec4d8824 SOLR-7800: avg facet function should skip missing values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691430 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 18:28:57 +00:00
Dawid Weiss 85afee91b7 Corrected same-argument assertion.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691415 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 15:30:19 +00:00
Dawid Weiss 4404d92e48 Locale-sensitive format is banned.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691367 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 11:29:55 +00:00
Dawid Weiss 623d6b16b2 FileWriter is banned.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691362 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 11:26:07 +00:00
Dawid Weiss 8b8d724e30 Author tags removed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691361 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 11:22:50 +00:00
Dawid Weiss 396af9aee6 Correct javadoc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691359 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 11:14:59 +00:00
Dawid Weiss 139460e8c5 Ported tests as well.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691351 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 10:47:37 +00:00
Dawid Weiss 1842589815 SOLR-7787 (jhll integration).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691350 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 10:32:07 +00:00
Noble Paul 422694f9c0 SOLR-7793: Refactor some utility methods to a separate utility class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690935 13f79535-47bb-0310-9956-ffa450edef68
2015-07-14 13:55:46 +00:00
Gregory Chanan 8b06b59efa SOLR-7742: Support for Immutable ConfigSets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690828 13f79535-47bb-0310-9956-ffa450edef68
2015-07-13 22:01:50 +00:00
Anshum Gupta 82bb97f005 SOLR-7703: Authentication plugin is now loaded using the RessourceLoader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690553 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 23:49:08 +00:00
Yonik Seeley 9152164afb SOLR-7781: change FacetField BytesRef shallow clone to deep clone
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690541 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 22:34:53 +00:00
Shalin Shekhar Mangar 07a615fd65 SOLR-7529: CoreAdminHandler Reload throws NPE on null core name instead of a bad request error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690426 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 05:36:05 +00:00
Shalin Shekhar Mangar 2c64848c78 SOLR-7705: CoreAdminHandler Unload no longer handles null core name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690424 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 05:28:55 +00:00
Erick Erickson 6f109e7c65 SOLR-7172: addreplica API fails with incorrect error msg 'cannot create collection'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690341 13f79535-47bb-0310-9956-ffa450edef68
2015-07-11 04:17:49 +00:00
Erik Hatcher 753fba5efb Fix wrong parameter name in exception message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690335 13f79535-47bb-0310-9956-ffa450edef68
2015-07-11 01:54:05 +00:00
Erik Hatcher c1d7790789 Fix typo in comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690330 13f79535-47bb-0310-9956-ffa450edef68
2015-07-11 01:36:08 +00:00
Michael McCandless a6301dd900 LUCENE-6659: remove IWC's max thread states limit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690299 13f79535-47bb-0310-9956-ffa450edef68
2015-07-10 18:09:58 +00:00
Erick Erickson 63da283f04 SOLR-7132: The Collections API ADDREPLICA command property.name is not reflected in the clusterstate until after Solr restarts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690190 13f79535-47bb-0310-9956-ffa450edef68
2015-07-10 01:47:44 +00:00
Yonik Seeley eff521bcd7 SOLR-7455: defer non-sorting facet stats
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690189 13f79535-47bb-0310-9956-ffa450edef68
2015-07-10 01:44:47 +00:00
Shalin Shekhar Mangar 32c740005a SOLR-4212: SOLR-6353: Let facet queries and facet ranges hang off of pivots
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689802 13f79535-47bb-0310-9956-ffa450edef68
2015-07-08 07:46:09 +00:00
Ramkumar Aiyengar 6571cd9fe3 SOLR-7751: Minor optimizations to QueryComponent.process
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689652 13f79535-47bb-0310-9956-ffa450edef68
2015-07-07 13:10:34 +00:00
Ramkumar Aiyengar d4d68b88c7 SOLR-7750: Change TestConfig.testDefaults to cover all SolrIndexConfig fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689630 13f79535-47bb-0310-9956-ffa450edef68
2015-07-07 11:29:08 +00:00
Anshum Gupta 0325ef2ae4 SOLR-7143: MoreLikeThis Query parser now handles multiple field names
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689531 13f79535-47bb-0310-9956-ffa450edef68
2015-07-07 00:05:23 +00:00
Adrien Grand 2919e13adc LUCENE-6649: Remove dependency of lucene/join on Filter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689432 13f79535-47bb-0310-9956-ffa450edef68
2015-07-06 15:48:28 +00:00
Michael McCandless b3bc510c2b LUCENE-6523: NRT readers now reflect a new commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689198 13f79535-47bb-0310-9956-ffa450edef68
2015-07-04 22:15:01 +00:00
Joel Bernstein b22f711b63 SOLR-7707: Add StreamExpression Support to RollupStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689168 13f79535-47bb-0310-9956-ffa450edef68
2015-07-04 14:24:35 +00:00
Joel Bernstein a4e7ab3796 SOLR-7441, SOLR-7647: Improve overall robustness of the Streaming stack: Streaming API, Streaming Expressions, Parallel SQL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689045 13f79535-47bb-0310-9956-ffa450edef68
2015-07-03 16:32:07 +00:00
Ramkumar Aiyengar 07f8c4ec5b SOLR-7741: Add missing fields to SolrIndexerConfig.toMap
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689041 13f79535-47bb-0310-9956-ffa450edef68
2015-07-03 16:00:56 +00:00
Uwe Schindler 1816ed1945 LUCENE-6653, LUCENE-6652: Refactor TermToBytesRefAttribute; add oal.analysis.tokenattributes.BytesTermAttribute; remove code duplication in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688830 13f79535-47bb-0310-9956-ffa450edef68
2015-07-02 14:09:29 +00:00
Ramkumar Aiyengar c8ce5437da SOLR-7740: Fix typo bug with TestConfigOverlay
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688619 13f79535-47bb-0310-9956-ffa450edef68
2015-07-01 11:15:14 +00:00
Shalin Shekhar Mangar e65dccbbb1 SOLR-7736: Point to the correct jira issue for awaits fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688405 13f79535-47bb-0310-9956-ffa450edef68
2015-06-30 08:58:11 +00:00
Shalin Shekhar Mangar a32822991a SOLR-7673: Race condition in shard splitting can cause operation to hang indefinitely or sub-shards to never become active
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688396 13f79535-47bb-0310-9956-ffa450edef68
2015-06-30 08:27:50 +00:00
Chris M. Hostetter 7ac8dd4111 SOLR-7712: fixed test to account for aggregate floating point precision loss
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688266 13f79535-47bb-0310-9956-ffa450edef68
2015-06-29 17:06:28 +00:00
Ramkumar Aiyengar 8c964253b5 SOLR-7710: Replace async occurrences with CommonAdminParams.ASYNC
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688039 13f79535-47bb-0310-9956-ffa450edef68
2015-06-28 18:53:45 +00:00
Ramkumar Aiyengar b9854071cf SOLR-7485: Replace shards.info occurrences with ShardParams.SHARDS_INFO
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688025 13f79535-47bb-0310-9956-ffa450edef68
2015-06-28 17:18:04 +00:00
Shalin Shekhar Mangar 878881a77a SOLR-6686: facet.threads can return wrong results when using facet.prefix multiple times on same field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687791 13f79535-47bb-0310-9956-ffa450edef68
2015-06-26 16:00:22 +00:00
Noble Paul b00f5b8eaa SOLR-7622: reverting the previos change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687689 13f79535-47bb-0310-9956-ffa450edef68
2015-06-26 07:29:58 +00:00
Adrien Grand 811ea274ab Make sure HashQParserPlugin calls rewrite before createWeight.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687563 13f79535-47bb-0310-9956-ffa450edef68
2015-06-25 15:41:23 +00:00
Adrien Grand d671dd8d89 LUCENE-6553: Simplify how live docs are applied.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687524 13f79535-47bb-0310-9956-ffa450edef68
2015-06-25 13:59:19 +00:00
Noble Paul 6416f8bad3 SOLR-7622: changed return type from array to Set
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687307 13f79535-47bb-0310-9956-ffa450edef68
2015-06-24 15:28:23 +00:00
Joel Bernstein 33a4099b98 SOLR-7554: Add checks in Streams for incoming stream order
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687258 13f79535-47bb-0310-9956-ffa450edef68
2015-06-24 13:07:09 +00:00
Noble Paul eb1542030e SOLR-7651: New response format added wt=smile
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687256 13f79535-47bb-0310-9956-ffa450edef68
2015-06-24 12:50:19 +00:00
Varun Thacker 77443b8b92 SOLR-7711: Correct initial capacity for the list that holds the default components for the SearchHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687151 13f79535-47bb-0310-9956-ffa450edef68
2015-06-24 03:51:58 +00:00
Ramkumar Aiyengar b255b716c3 SOLR-7714: Reduce SearchHandler's use of ShardHandler objects across shards in a search
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687143 13f79535-47bb-0310-9956-ffa450edef68
2015-06-23 22:08:22 +00:00
Anshum Gupta 5164a48fd0 SOLR-6755: Adding a check in the test to stop hitting the ClassCast exception.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687104 13f79535-47bb-0310-9956-ffa450edef68
2015-06-23 17:31:12 +00:00
Anshum Gupta 48ea578733 SOLR-7639: Fixing maxqt, and maxntp, and adding support for maxdf to MLTQParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687088 13f79535-47bb-0310-9956-ffa450edef68
2015-06-23 16:03:48 +00:00
Varun Thacker f7dd8e3805 SOLR-7499: Deprecate the 'name' parameter from the ADDREPLICA Collection API call
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686827 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 10:19:35 +00:00
Steven Rowe b68d571781 SOLR-7679: Schema API doesn't take similarity attribute into account when adding field types
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686491 13f79535-47bb-0310-9956-ffa450edef68
2015-06-19 19:44:50 +00:00
Joel Bernstein 1ff66e90f1 SOLR-7513, SOLR-7528: Add Equalitors to Streaming Expressions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686481 13f79535-47bb-0310-9956-ffa450edef68
2015-06-19 18:53:57 +00:00
Steven Rowe 9f8635de07 SOLR-7697: Schema API doesn't take class or luceneMatchVersion attributes into account for the analyzer when adding a new field type.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686327 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 22:07:30 +00:00
Joel Bernstein 3c8d9f7524 SOLR-7689: ReRankQuery rewrite method can change the QueryResultKey causing cache misses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686213 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 13:27:53 +00:00
Adrien Grand 35c0ff0ec6 LUCENE-6583: Remove FilteredQuery.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686203 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 12:29:56 +00:00
Adrien Grand 4aafacfbef LUCENE-6570: Make BooleanQuery immutable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686145 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 07:14:05 +00:00
Anshum Gupta 2b96b25046 SOLR-7639: MoreLikeThis QParser now supports all options provided by the MLT Handler i.e. mintf, mindf, minwl, maxwl, maxqt, and maxntp. This commit also fixes an NPE issue in CloudMLTQParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686123 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 23:12:15 +00:00
Anshum Gupta 4b16875058 SOLR-5886: Store async call results in zk so that they can be returned by the REQUESTSTATUS API. Also, restrict the number of stored response to 10,000 each as a safety net.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686089 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 18:46:10 +00:00
Ramkumar Aiyengar c33623f316 SOLR-7629: Have RulesTest consider disk space limitations of where the test is being run
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686077 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 17:08:10 +00:00
Noble Paul a9d669cf86 SOLR-7665: deprecate the class TransformerWithContext
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685979 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 09:56:10 +00:00
Erick Erickson 57cb32ab7d SOLR-7667: If more cores are loaded at startup than the transient core size, cores become unavailable. This is a test for this case to guard against regression. This test will fail in 4.x and succeeds in 5x/trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685930 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 04:23:50 +00:00
Gregory Chanan 5a0c012250 SOLR-7688: JettyConfig cannot be used with extra filters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685923 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 00:05:29 +00:00
Steven Rowe faa80ae324 SOLR-7682: Schema API - Add New Copy Field Rule doesn't allow maxChars parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685900 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 20:02:00 +00:00
Noble Paul 8ab21aa657 SOLR-7662: Refactored response writing to consolidate the logic in one place
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685856 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 15:17:14 +00:00
Mark Robert Miller cc1edb0d16 SOLR-7458: Improve test assert messages.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685847 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 14:33:09 +00:00
Adrien Grand c397fe7234 LUCENE-6531: Make PhraseQuery immutable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685754 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 10:18:40 +00:00
Steven Rowe 5523048058 SOLR-7091: Nested documents with unknown fields don't work in schemaless mode.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685660 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 20:14:09 +00:00
Noble Paul 5e84093ab0 SOLR-7668: Add 'port' tag support in replica placement rules
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685560 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 11:55:45 +00:00
Robert Muir e3563120b5 LUCENE-6525: remove deprecations from trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685498 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 02:52:51 +00:00
Joel Bernstein 03cafc6711 SOLR-7560: Parallel SQL Support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685497 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 02:51:36 +00:00
Ramkumar Aiyengar 54929a7a0b SOLR-7678: Switch RTimer to use nanoTime
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685485 13f79535-47bb-0310-9956-ffa450edef68
2015-06-14 23:13:57 +00:00
Ramkumar Aiyengar 0b0189f77c Tweak leadership election trace to aid debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685446 13f79535-47bb-0310-9956-ffa450edef68
2015-06-14 19:16:11 +00:00
Ramkumar Aiyengar 164972785c SOLR-7619: Fix SegmentsInfoRequestHandlerTest when more than one segment is created
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685433 13f79535-47bb-0310-9956-ffa450edef68
2015-06-14 18:18:06 +00:00
Yonik Seeley 38292f791e SOLR-7676: nested docs facet domain switching
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685340 13f79535-47bb-0310-9956-ffa450edef68
2015-06-13 22:32:48 +00:00
Ramkumar Aiyengar b202035b93 SOLR-7624: Remove deprecated zkCredientialsProvider element in solrcloud section of solr.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685323 13f79535-47bb-0310-9956-ffa450edef68
2015-06-13 20:34:35 +00:00
Ramkumar Aiyengar a7e678d55b SOLR-7624: Correct wrong spelling of zkCredentialsProvider in solrcloud section of solr.xml.
The older misspelling is still present (for purposes of branch_5x, to be removed in the next commit).

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685318 13f79535-47bb-0310-9956-ffa450edef68
2015-06-13 20:22:53 +00:00
Ramkumar Aiyengar d7996c5583 SOLR-7274: Removed a few eager string constructions from log.debug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685289 13f79535-47bb-0310-9956-ffa450edef68
2015-06-13 16:58:55 +00:00
Shalin Shekhar Mangar eea1657790 SOLR-7566: Code cosmetics
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685179 13f79535-47bb-0310-9956-ffa450edef68
2015-06-12 22:03:46 +00:00
Shalin Shekhar Mangar 1904ce1d19 Need whitespace before params
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685157 13f79535-47bb-0310-9956-ffa450edef68
2015-06-12 20:31:50 +00:00
Shalin Shekhar Mangar 7d61f79582 SOLR-7566: Search requests should return the shard name that is down
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685153 13f79535-47bb-0310-9956-ffa450edef68
2015-06-12 20:03:56 +00:00
Robert Muir 50fc8ad31d LUCENE-6504: implement norms with random access API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685007 13f79535-47bb-0310-9956-ffa450edef68
2015-06-12 00:32:45 +00:00
Shalin Shekhar Mangar 62c1481594 SOLR-6835: ReRankQueryParserPlugin checks now whether the reRankQuery parameter is present and not empty
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684904 13f79535-47bb-0310-9956-ffa450edef68
2015-06-11 14:35:47 +00:00
Shawn Heisey a5492247f3 SOLR-7659: Rename and reorganize DirectoryFileStream.releaseCommitPointAndExtendReserve.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684808 13f79535-47bb-0310-9956-ffa450edef68
2015-06-11 03:40:25 +00:00
Gregory Chanan 0471353922 SOLR-7628: Investigate not using apacheds-all jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684796 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 23:29:03 +00:00
Chris M. Hostetter f346fc0f21 SOLR-7603: remove extra logging added to diagnose problem - failure hasn't reappeared since fix applied in r1682570
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684714 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 17:03:03 +00:00
Mark Robert Miller 3ad2bf92c4 SOLR-7458: Expose HDFS Block Locality Metrics via JMX
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684711 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 16:51:56 +00:00
Chris M. Hostetter 40f4e7de5e LUCENE-6529: Removed an optimization in UninvertingReader that was causing incorrect results for Numeric fields using precisionStep
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684704 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 16:23:00 +00:00
David Wayne Smiley 5014d99c21 SOLR-7655: Speed up DefaultSolrHighlighter's check for the existence of payloads
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684665 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 12:54:36 +00:00
Noble Paul b80afc5e00 SOLR-7052: Added a testcase. not reproducible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684627 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 10:02:26 +00:00
Adrien Grand d1adfee99a LUCENE-6527: Queries now get a dummy Similarity when scores are not needed in order to not load unnecessary information like norms.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684502 13f79535-47bb-0310-9956-ffa450edef68
2015-06-09 19:02:37 +00:00