Commit Graph

23336 Commits

Author SHA1 Message Date
Michael McCandless 8958a1afff LUCENE-6697: fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694809 13f79535-47bb-0310-9956-ffa450edef68
2015-08-08 15:16:34 +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
Michael McCandless a050d3accb LUCENE-6724: add utility APIs to compute neighboring geohash cells
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694747 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 20:48:49 +00:00
Christine Poerschke c561e142bc fix a TestEarlyTerminatingSortingCollector.testTerminatedEarly test failure (avoid 1-document/1-unsorted-segment index by adding a 2nd segment/document before calling forceMerge(1) in createRandomIndex)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694742 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 20:13:20 +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
Mikhail Khludnev 455efee9ba SOLR-7730: mention initial contributors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694563 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 20:13:21 +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
Adrien Grand 850af3629b LUCENE-6708: TopFieldCollector does not compute the score several times on the same document anymore.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694435 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 09:55:39 +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
Shalin Shekhar Mangar f5cd6373ec Add eol-style native
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694422 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 08:36:14 +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
Timothy Potter a42e164b3d LUCENE-6719: Fix NumericUtils getMin/Max methods to return null if there are no terms for the specified field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694384 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 00:46:14 +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
Yonik Seeley 92980c27f3 SOLR-7730: SlowCompositeReaderWrapper.getSortedSetDocValues - don't merge FieldInfos just to check DocValueType
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694267 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 17:17:12 +00:00
Adrien Grand 441a794fdf Fix test bug: the test was expecting a sorted segment but could sometimes generate a single unsorted flush segment.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694238 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 14:52:03 +00:00
Michael McCandless 2fbe3f747d LUCENE-6713: TooComplexToDeterminizeException claims to be serializable but wasn't
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694218 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 14:02:25 +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
Michael McCandless f211284f0b LUCENE6712: use doc-values for GeoPointField boundary cell post filtering
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694155 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 09:44:18 +00:00
Adrien Grand 0b087937c1 LUCENE-6718: JoinUtil.createJoinQuery failed to rewrite queries before creating a Weight.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694140 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 07:18:32 +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
Alan Woodward 92900dd203 LUCENE-6580: Allow defined-width gaps in SpanNearQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694082 13f79535-47bb-0310-9956-ffa450edef68
2015-08-04 16:15:05 +00:00
Alan Woodward ebb5c9c86b LUCENE-6706: Fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694050 13f79535-47bb-0310-9956-ffa450edef68
2015-08-04 12:54:50 +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