7487 Commits

Author SHA1 Message Date
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