4571 Commits

Author SHA1 Message Date
Noble Paul
09f92b7edf SOLR-8995: Replace anonymous implementations of SAM interfaces with Lambdas 2016-04-15 19:03:22 +05:30
Noble Paul
d830987ae2 SOLR-8995: Replace anonymous implementations of SAM interfaces with Lambdas 2016-04-15 18:58:08 +05:30
Noble Paul
9313a6304b SOLR-8985: Added back support for 'includeDynamic' flag to /schema/fields endpoint 2016-04-15 13:23:51 +05:30
Dennis Gove
eb74d814bb SOLR-8962: Adds a Sort stream w/sort function name 2016-04-14 21:39:26 -04:00
David Smiley
037a40316c SOLR-8937: bin/post (SimplePostTool) should tell JDK to stream stdin instead of fully buffer 2016-04-14 13:51:57 -04:00
Timothy Potter
b36a6ecbe4 SOLR-8908: Fixed OnReconnect listener management in ZkController to allow for de-registering listeners.
Here's what this commit includes:
* Added the removeOnReconnectListener method to ZkController to allow OnReconnect listener implementations to de-register; avoids a memory leak
* Updated ZkIndexSchemaReader to add a CloseHook to the SolrCore it supports to de-register as an OnReconnect listener
* Added unit test to verify that after reloading and deleting a SolrCore in managed schema mode, the associated ZkIndexSchemaReader gets de-registered correctly
2016-04-14 10:17:42 -07:00
Anshum Gupta
689e9664c5 SOLR:8976: Add SolrJ support for REBALANCELEADERS Collections API 2016-04-13 12:10:26 -07:00
markrmiller
79195a8e54 SOLR-8899: Ignore thread leaks for this test - due to the HttpClient leak, the idle connection evictor thread can sometimes leak. 2016-04-13 10:45:09 -04:00
markrmiller
744b419b42 SOLR-8914: ZkStateReader's refreshLiveNodes(Watcher) is not thread safe. 2016-04-13 09:54:40 -04:00
markrmiller
6c9391df01 tests: raise wait time 2016-04-13 09:54:16 -04:00
yonik
93f9456e2a tests: better DocSetCollector tests, including better smallSetSize boundary testing 2016-04-09 19:21:27 -04:00
yonik
cfba58f0d0 SOLR-8922: optimize DocSetCollector to produce less garbage 2016-04-09 19:10:02 -04:00
Anshum Gupta
b02b026b7d SOLR-8097: Implement builder pattern design for constructing SolrJ clients and deprecate direct construction of clients 2016-04-07 15:57:49 -07:00
Christine Poerschke
93511352ac SOLR-8938: Add optional -excluderegex argument to ZkCLI. 2016-04-07 12:54:42 +01:00
Shalin Shekhar Mangar
4205b1c804 SOLR-8948: OverseerTaskQueue.containsTaskWithRequestId encounters json parse error if a SolrResponse node is in the overseer queue 2016-04-06 11:56:27 +05:30
Gregory Chanan
fd0d699747 SOLR-8892: Allow SolrInfoMBeans to return different statistics for /jmx vs web ui calls 2016-04-05 12:01:40 -07:00
David Smiley
3bbf8aaa8a SOLR-8875: Fix null clusterState from ZkStateWriter. Revert my sanity check asserts in Overseer. 2016-04-05 14:15:31 -04:00
Noble Paul
18fb9463de SOLR-8750: replace anonymous inner class for callable, Runnable etc 2016-04-05 22:45:36 +05:30
Uwe Schindler
d0156b1126 SOLR-4509: Fix test failures with Java 9 module system by doing a correct cleanup 2016-04-02 20:13:43 +02:00
markrmiller
ce172acb8f SOLR-4509: Move to non deprecated HttpClient impl classes to remove stale connection check on every request and move connection lifecycle management towards the client. 2016-04-01 12:21:59 -04:00
jbernste
3500b45d6d SOLR-8888: Add shortestPath Streaming Expression 2016-03-31 16:24:51 -04:00
nknize
e1b45568b4 * LUCENE-7094: BBoxStrategy and PointVectorStrategy now support PointValues (in addition to legacy numeric trie). Their APIs were changed a little and also made more consistent. PointValues/Trie is optional, DocValues is optional, stored value is optional. 2016-03-30 18:14:20 -05:00
David Smiley
94c04237cc SOLR-8904: switch from SimpleDateFormat to Instant.parse and format.
[value] and ms() and contrib/analytics now call DateMathParser to parse.  DateFormatUtil is now removed.
2016-03-30 13:42:42 -04:00
markrmiller
34180ad5c3 SOLR-8864: TestTestInjection needs to cleanup after itself. 2016-03-30 12:33:14 -04:00
Ryan McKinley
6b7030d637 SOLR-8902: fix glob test (put back the fields.clear()) 2016-03-25 13:51:08 -07:00
Ryan McKinley
ffd557b117 SOLR-8902: Make sure ReturnFields only returns the requested fields 2016-03-25 12:59:32 -07:00
Chris Hostetter
f051f56be9 SOLR-445: new ToleranteUpdateProcessorFactory to support skipping update commands that cause failures when sending multiple updates in a single request.
SOLR-8890: New static method in DistributedUpdateProcessorFactory to allow UpdateProcessorFactories to indicate request params that should be forwarded when DUP distributes updates.

This commit is a squashed merge from the jira/SOLR-445 branch (as of b08c284b26b1779d03693a45e219db89839461d0)
2016-03-25 11:02:55 -07:00
yonik
6f60ac21f3 SOLR-8865: Real-time get sometimes fails to retrieve stored fields from docValues 2016-03-25 10:18:31 -04:00
yonik
e136d10817 Fix StrField.toObject and toExternal to work with docValue IndexableField instances, optimize createFields 2016-03-23 20:43:55 -04:00
Kevin Risden
dbee659174 SOLR-8819: Implement DatabaseMetaDataImpl getTables() and fix getSchemas(). (Trey Cahill, Joel Bernstein, Kevin Risden) 2016-03-23 15:49:21 -05:00
yonik
ced7570e2c SOLR-8886: fix TrieField.toObject(IndexableField) for docValues 2016-03-23 11:56:17 -04:00
markrmiller
574da7667f SOLR-8856: Do not cache merge or 'read once' contexts in the hdfs block cache. 2016-03-22 23:05:13 -04:00
markrmiller
9aeb745a7d SOLR-8855: The HDFS BlockDirectory should not clean up it's cache on shutdown. 2016-03-22 16:09:56 -04:00
Gregory Chanan
cb1738360e SOLR-8869: Optionally disable printing field cache entries in SolrFieldCacheMBean 2016-03-21 11:30:39 -07:00
markrmiller
93e96f688e SOLR-8857: HdfsUpdateLog does not use configured or new default number of version buckets and is hard coded to 256. 2016-03-21 14:10:17 -04:00
Alan Woodward
04bd586071 SOLR-8837: Fix duplicate election node detection 2016-03-21 17:39:37 +00:00
Uwe Schindler
b2a4003d4c SOLR-8082: Fix forbidden APIs 2016-03-21 00:09:15 +01:00
Steve Rowe
49d5ec02a2 SOLR-8082: Can't query against negative float or double values when indexed='false' docValues='true' multiValued='false' 2016-03-20 16:55:32 -04:00
Dennis Gove
fecdec6c85 SOLR-5616: Simplifies grouping code to use ResponseBuilder.needDocList() to determine if it needs to generate a doc list for grouped results. 2016-03-20 13:30:29 -04:00
Dennis Gove
e3b785a906 SOLR-8599: Improved the tests for this issue to avoid changing a variable to non-final 2016-03-20 11:13:56 -04:00
Uwe Schindler
e3b7d82825 SOLR-8877: Disable test on environments with whitespace 2016-03-19 15:58:31 +01:00
Uwe Schindler
f93f90ca1b SOLR-8874: Make Solr tests work with Java 9 Jigsaw 2016-03-19 14:53:59 +01:00
yonik
5ea86b14c3 SOLR-8867: fix frange/FunctionValues.getRangeScorer to not match missing values, getRangeScorer refactored to take LeafReaderContext 2016-03-17 16:58:27 -04:00
Noble Paul
faa0586b31 SOLR-8842: security rules made more foolproof by asking the requesthandler about the well known
permission name.
  The APIs are also modified to ue 'index' as the unique identifier instead of name.
  Name is an optional attribute
  now and only to be used when specifying well-known permissions
2016-03-17 23:34:50 +05:30
David Smiley
a22099a398 SOLR-8866: UpdateLog now throws an error if it can't serialize a field value 2016-03-17 13:22:16 -04:00
Steve Rowe
3cdde08ff2 SOLR-8838: Remove obsolete comment 2016-03-16 18:58:41 -04:00
Steve Rowe
6e55135be3 SOLR-8838: Returning non-stored docValues is incorrect for negative floats and doubles. 2016-03-16 18:56:23 -04:00
Ryan McKinley
022877fefa SOLR-8859: read/write Shapes to String 2016-03-16 12:52:00 -07:00
Ryan McKinley
36145d02cc SOLR-8814: Support GeoJSON response format 2016-03-16 10:06:49 -07:00
anshum
30a77b73b6 SOLR-8836: Return 400, and a SolrException when an invalid json is provided to the update handler instead of 500. 2016-03-15 10:55:20 -07:00