Commit Graph

2540 Commits

Author SHA1 Message Date
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
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
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 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
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
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
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 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 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
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 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
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
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
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 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 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 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
Mark Robert Miller 983d9efe76 SOLR-7810: map-reduce contrib script to set classpath for convenience refers to example rather than server.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691946 13f79535-47bb-0310-9956-ffa450edef68
2015-07-20 13:52:10 +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
Mark Robert Miller f917ac900f SOLR-7805: Update Kite Morphlines to 1.1.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691626 13f79535-47bb-0310-9956-ffa450edef68
2015-07-17 19:07:26 +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 7419e9be58 Changes entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691352 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 10:52:11 +00:00