Commit Graph

7475 Commits

Author SHA1 Message Date
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
Upayavira 3da81fb200 SOLR-4316 add a collections dropdown alongside cores dropdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698459 13f79535-47bb-0310-9956-ffa450edef68
2015-08-29 11:28:36 +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 b3b4a5be68 SOLR-7966: tests - use HttpClients instead of HttpClientUtil to create a client guaranteed to have http registered
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698414 13f79535-47bb-0310-9956-ffa450edef68
2015-08-28 20:43:00 +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
Shalin Shekhar Mangar d1bf1ca14a SOLR-7983: Fixing changelog entry and moving it to optimizations section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698167 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 14:26:32 +00:00
Shalin Shekhar Mangar 207f91613e SOLR-7983: Adding changelog entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698162 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 14:17:42 +00:00
Shalin Shekhar Mangar f8eaccd19f SOLR-7983: Utils.toUTF8 uses shorter buffer than necessary for holding UTF8 data
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698160 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 14:16:20 +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 c008544464 SOLR-7789: fix jira number in CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698072 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 04:51:29 +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
Gregory Chanan 4ef86ea9cc SOLR-7950: Invalid auth scheme configuration of Http client when using Kerberos (SPNEGO)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698039 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 00:02:44 +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 c018ffffea Fix #field macro to comma separate multiple values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697802 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 01:30:51 +00:00
Erik Hatcher 4b2b6c5ca6 Add core/system property control over two VrW settings in the data driven config
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697800 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 01:22:52 +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
Erik Hatcher 306d7f4198 SOLR-7972: Fix VelocityResponseWriter template encoding issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697789 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 00:15:18 +00:00
Shalin Shekhar Mangar 2330786c5a SOLR-7971: Reduce memory allocated by JavaBinCodec to encode large strings by an amount equal to the string.length()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697726 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 16:32:47 +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
Mark Robert Miller d27a016088 tests: tone down nightly runs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697692 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 15:00:46 +00:00
Mark Robert Miller 4c241b2b3d tests: tone down nightly runs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697679 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 14:11:38 +00:00
Dawid Weiss 9cf70a3afd SOLR-7969: Unavailable clustering engines should not fail the core.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697661 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 12:21:39 +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
Jan Høydahl c6d96448ec Fix typo in changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697343 13f79535-47bb-0310-9956-ffa450edef68
2015-08-24 09:40:51 +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
Jan Høydahl fd33cfdc03 SOLR-7949: Resolve XSS issue in Admin UI stats page
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696782 13f79535-47bb-0310-9956-ffa450edef68
2015-08-20 12:54:07 +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
Mark Robert Miller 7e189382bc SOLR-7945: Make server/build.xml ivy:retrieve tasks respect ivy.sync property.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696558 13f79535-47bb-0310-9956-ffa450edef68
2015-08-19 11:08:03 +00:00
Shalin Shekhar Mangar 5471932cf4 SOLR-7943: Upgrade Jetty to 9.2.13.v20150730
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696523 13f79535-47bb-0310-9956-ffa450edef68
2015-08-19 07:08:29 +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
Shalin Shekhar Mangar 3109c453bb SOLR-5756: Fix for race condition between unwatch and watcher fire event
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696335 13f79535-47bb-0310-9956-ffa450edef68
2015-08-17 20:34:58 +00:00
Upayavira a11036826b SOLR-7920: Update CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696217 13f79535-47bb-0310-9956-ffa450edef68
2015-08-17 08:39:16 +00:00
Upayavira dc2f2295e0 SOLR-7920 XSS issue in old schema-browser page
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696161 13f79535-47bb-0310-9956-ffa450edef68
2015-08-16 19:29:15 +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
Uwe Schindler 1d2a982222 Remove tabs in changes.txt (failing smoker)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695659 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 08:32:25 +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 127392cc73 LUCENE-6732: More filetypes to check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695586 13f79535-47bb-0310-9956-ffa450edef68
2015-08-12 17:43:08 +00:00
Uwe Schindler fa48923d5d LUCENE-6732: Improve javadoc-style license checker to use Apache RAT
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695496 13f79535-47bb-0310-9956-ffa450edef68
2015-08-12 12:50:40 +00:00
Uwe Schindler 763c8d726c LUCENE-6732: Remove tabs XSL files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695405 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 23:15:20 +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
Ramkumar Aiyengar 9f6b72524c SOLR-7859: Revert r1694888 to add SolrJ to the path for bin/post, should not be needed any longer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695175 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 21:53:42 +00:00
Ramkumar Aiyengar 72fc992ec4 SOLR-7859: Add RTimer classes to post.jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695173 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 21:46:51 +00:00
Uwe Schindler 61d40c7dec LUCENE-6729: Upgrade ASM used in expressions module to version 5.0.4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695169 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 21:30:05 +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
Erik Hatcher 5003628c65 SOLR-7900: example/files improvements - added language detection and faceting, added title field, relocated .js files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695116 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 15:35:59 +00:00
Mark Robert Miller fce171a434 SOLR-7757: Don't use pair from jfxrt.jar - this library is optional in some OS's.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695075 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 14:01:41 +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
Joel Bernstein 3446d36dda SOLR-7707: Updated CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694910 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 20:57:45 +00:00
Joel Bernstein 0bf332083f SOLR-7441: Updated CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694909 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 20:55:15 +00:00
Joel Bernstein 425799255b SOLR-7554: Updated CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694908 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 20:51:31 +00:00
Joel Bernstein bf34cdfe00 SOLR-7528: Updated CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694907 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 20:48:15 +00:00
Joel Bernstein 9831e4ac52 SOLR-7513: Updated CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694906 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 20:45:03 +00:00
Joel Bernstein 636f9a47e7 SOLR-7560: Updated CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694905 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 20:33:27 +00:00
Erik Hatcher 84c8c5e228 SOLR-7859: Fix bin/post to rely on SolrJ for RTimer use
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694888 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 13:22:20 +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
Shalin Shekhar Mangar 1f8d9738a7 SOLR-5756: Fix copy/paste mistake in comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694718 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 18:20:03 +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
Shalin Shekhar Mangar 69deffc4f3 Add sections to solr 5.4 in CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694648 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 10:45:44 +00:00
Tommaso Teofili fc51829543 SOLR-7760 - fixed method visibility in UimaUpdateRP and SolrUimaConfiguration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694616 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 07:28:35 +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 740b78de92 SOLR-7838: CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694554 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 19:00:58 +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 af2bce9ee1 SOLR-7831: Start Scripts: Allow a configurable stack size [-Xss]
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694523 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 15:26:11 +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
Noble Paul 2d2210bdef addVersion for 5.4.0 merged back to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694508 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 14:20:56 +00:00
Upayavira dcc4540595 SOLR-7666 Update CHANGES.txt for Angular UI changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694429 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 09:37:37 +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
Uwe Schindler 49c87c5715 LUCENE-6723: Fix date parsing problems in Java 9 with date formats using English weekday/month names.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694276 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 18:21:12 +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 eb24e46781 SOLR-7818 SOLR-7756 Added better descriptions in the CHANGES entry for these two issues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694213 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 13:44:06 +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 4f065ce777 SOLR-7832: bin/post now allows either -url or -c, rather than requiring both
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693958 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 19:34:21 +00:00
Erik Hatcher 2c0b36bf0a SOLR-7769: Add bin/post -p alias for -port parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693953 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 18:39:29 +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
Mikhail Khludnev 0e61da7531 SOLR-6234: moving lines in CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693760 13f79535-47bb-0310-9956-ffa450edef68
2015-08-01 20:46:15 +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
Uwe Schindler 81df57baa2 SOLR-5022: Merged revision(s) 1693559 from lucene/dev/branches/branch_5x: cleanup outdated Java 7 stuff
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693560 13f79535-47bb-0310-9956-ffa450edef68
2015-07-31 10:16:07 +00:00
Anshum Gupta 57a15d9278 SOLR-6625: Remove RequestInterceptor at the end of the test in BasicHttpSolrClientTest. It was interfering with other tests running the same JVM.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693497 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 20:48:57 +00:00
Upayavira caace607e8 SOLR-7852 Hide cores menu when dashboard link clicked
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693490 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 20:00:59 +00:00
Upayavira ba50839c99 SOLR-7851 Angular analysis tab tweaks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693486 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 19:36:22 +00:00
Anshum Gupta 9cb8523c59 SOLR-6625: Set HttpClientImpl in SolrTestCaseJ4 for tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693483 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 19:29:20 +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 c8bdf9bf19 SOLR-7840: ZkStateReader.updateClusterState fetches watched collections twice from ZK
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693251 13f79535-47bb-0310-9956-ffa450edef68
2015-07-29 12:44:07 +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
Uwe Schindler 74ff041803 SOLR-6234: Fix Javadocs dependency to join module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693197 13f79535-47bb-0310-9956-ffa450edef68
2015-07-29 08:05:59 +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
Uwe Schindler 27aa993b15 SOLR-7227: Be sure to not put servlet.jar into webapp
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693144 13f79535-47bb-0310-9956-ffa450edef68
2015-07-28 19:15:36 +00:00
Uwe Schindler 3e406606ed SOLR-7227: Don't create the WAR file at all
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693143 13f79535-47bb-0310-9956-ffa450edef68
2015-07-28 19:04:21 +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
Timothy Potter 2eb704ef50 SOLR-7227: Solr distribution archive should have the WAR file extracted already
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692925 13f79535-47bb-0310-9956-ffa450edef68
2015-07-27 18:12:45 +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