Commit Graph

6135 Commits

Author SHA1 Message Date
David Smiley 037d864bf9 * SOLR-10549: The new 'large' attribute had been forgotten in /schema/fields?showDefaults=true (David Smiley) 2017-05-03 09:30:34 -04:00
Mikhail Khludnev cbd3b02cda SOLR-10588: Prevent redundant double core reload on config update. 2017-05-03 07:10:05 +03:00
Erik Hatcher 5d42177b92 SOLR-1485: improve TokenStream API usage 2017-05-02 19:41:24 -04:00
Erick Erickson 0be8e17832 SOLR-10519: SolrCLI.atPath cannot handle children that begin with a slash. 2017-05-02 13:58:47 -07:00
Mark Miller 366a5d242e SOLR-10316: Unloading a core can remove a ZK SolrCore registration entry for the wrong SolrCore. 2017-05-02 15:31:57 -03:00
Mark Miller c4872add50 SOLR-10430: Add ls command to ZkCLI for listing only sub-directories. 2017-05-02 13:38:44 -03:00
Erik Hatcher f526b908f2 SOLR-1485: remove unused import 2017-05-02 10:13:24 -04:00
Erik Hatcher a68b778e5d SOLR-1485: fix tests, removing unnecessary tie to Similarity in PayloadDecoder 2017-05-02 07:50:12 -04:00
Erik Hatcher 6c565c001b SOLR-1485: Add payload support 2017-05-01 21:35:29 -04:00
Steve Rowe 8c11f81a95 SOLR-9386: Move default clientPort specification to before calling QuorumPeerConfig.parseProperties(), which requires that clientPort be specified. 2017-05-01 10:26:41 -04:00
Jan Høydahl 61f64829d8 SOLR-7041: Remove a lot of defaultOperator and defaultSearchField from test configs (still more work to do) 2017-04-29 20:39:50 +02:00
Mikhail Khludnev e96dc4f21c LUCENE-7798: Add .equals and .hashCode to ToParentBlockJoinSortField 2017-04-29 13:55:11 +03:00
Joel Bernstein 7f6f68c7f4 SOLR-10582: Add Correlation Evaluator 2017-04-28 15:54:46 -04:00
Steve Rowe e2521b2a8b SOLR-9596: Add Solr support for SimpleTextCodec, via <codecFactory class=solr.SimpleTextCodecFactory/> in solrconfig.xml (per-field specification in the schema is not possible). 2017-04-28 15:36:50 -04:00
Steve Rowe 57f17b1118 SOLR-9386: Upgrade Zookeeper to 3.4.10 2017-04-28 11:24:53 -04:00
Mikhail Khludnev 816b806d8a SOLR-10521: adding sort=childfield(field,$q) asc for {!parent} query. 2017-04-28 11:23:53 +03:00
Joel Bernstein e57fab17c0 SOLR-10559: Cleaner syntax 2017-04-27 17:03:29 -04:00
Mikhail Khludnev 61d02a47e2 SOLR-10500: fix many parents with nested children per /update/json/docs request 2017-04-27 13:01:07 +03:00
Noble Paul fba52de066 SOLR-10507: Core Admin status command to emit collection details of each core 2017-04-27 12:38:34 +09:30
David Smiley 8a99937980 SOLR-10526: fix facet.heatmap facet exclusion when distributed/sharded 2017-04-26 14:04:35 -04:00
Andrzej Bialecki 2d2257926c SOLR-10569: "updateHandler" stats is null when queried via MBeans handler. 2017-04-26 19:51:43 +02:00
Andrzej Bialecki 98b2cba53c SOLR-10565: Make root names more unique. 2017-04-26 17:48:17 +02:00
Joel Bernstein 0e963f7a8a SOLR-10566: Add timeseries Streaming Expression 2017-04-26 11:17:43 -04:00
David Smiley f45017b2d4 SOLR-10537: Added SolrParams.toLocalParamsString() and moved QP.encodeLocalParamVal to ClientUtils 2017-04-26 08:38:52 -04:00
Andrzej Bialecki d8ec25bdc5 SOLR-10489: Fix an occasional NPE. 2017-04-26 12:31:39 +02:00
yonik 1f77776937 SOLR-10480: fix offset param handling in JSON Facet API 2017-04-25 22:56:44 -04:00
Steve Rowe 03b484346e SOLR-10310: Fix CopyFieldTest failure 2017-04-25 17:07:42 -04:00
Steve Rowe dd171ff8fe SOLR-10310: By default, stop splitting on whitespace prior to analysis in edismax and standard/"lucene" query parsers 2017-04-25 12:02:25 -04:00
yonik 4f89f98f66 SOLR-7452: JSON Facet API - refining for numBuckets 2017-04-25 11:00:30 -04:00
Mikhail Khludnev 680f4d7fd3 SOLR-10520: fix child.facet.field counts 2017-04-25 12:33:05 +03:00
Joel Bernstein cd02dd7d4a SOLR-10559: Add let and get Streaming Expressions 2017-04-24 20:19:17 -04:00
yonik 71ce0d31a6 SOLR-10548: SOLR-10552: numBuckets should use hll and ignore mincount>1 filtering 2017-04-24 18:17:17 -04:00
Andrzej Bialecki 114a65b331 SOLR-10557: Make "compact" format default for /admin/metrics. 2017-04-24 22:35:18 +02:00
Erick Erickson e17b987734 SOLR-10493: Investigate SolrCloudExampleTest failures.
(cherry picked from commit 0247acd)
2017-04-24 12:22:11 -07:00
Shalin Shekhar Mangar 56e1ad484a SOLR-10047: Move test into its own test class and force use of NoMergePolicy to fix test failures
This closes #195
2017-04-25 00:26:21 +05:30
Andrzej Bialecki c09d82e538 SOLR-10489 Tentative fix for a test failure (Mikhail Khludnev via ab) 2017-04-24 16:12:02 +02:00
Mikhail Khludnev a07ac63357 SOLR-9217: delay JoinUtil call to createWeight for score join 2017-04-23 01:30:23 +03:00
Joel Bernstein f6af8d0999 SOLR-10551: Add list and cell Streaming Expressions 2017-04-22 16:39:02 -04:00
David Smiley 991196216d SOLR-10499: facet.heatmap DocSet to Bits optimizations 2017-04-20 17:46:28 -04:00
Shai Erera 08f2de6d1a Shorten docFreq and totalTermFreq to df and ttf in TermsComponent 2017-04-20 15:32:27 +03:00
Shai Erera 19bcffa036 SOLR-10505: Add multi-field support to TermsComponent for terms stats 2017-04-20 15:03:27 +03:00
Steve Rowe 8b27b82bab SOLR-10527: edismax with sow=false fails to create dismax-per-term queries when any field is boosted 2017-04-19 19:03:31 -04:00
Christine Poerschke 6eac7fa021 (part 1 of several) SOLR-10415: use parameterized debug logging in SearchHandler and RealTimeGetComponent (Michael Braun via Christine Poerschke) 2017-04-19 12:28:15 +01:00
Christine Poerschke 323c972922 SOLR-10394: a few more essentially non-public sortWithinGroup to withinGroupSort renames 2017-04-19 12:28:14 +01:00
Christine Poerschke f9ca49a8d5 SOLR-5127: Multiple highlight fields and wildcards are now supported e.g. hl.fl=title,text_*
(Sven-S. Porst, Daniel Debray, Simon Endele, Christine Poerschke)
2017-04-19 12:28:14 +01:00
Joel Bernstein 48d54ac458 SOLR-10516: Add eval() Streaming Expression 2017-04-18 20:56:36 -04:00
David Smiley 8347169ab3 SOLR-10439: 'large' was forgotten in /schema/fields?showDefaults=true 2017-04-18 17:02:07 -04:00
Chris Hostetter 10772121ee SOLR-10472: Fixed uninversion (aka: FieldCache) bugs with the numeric PointField classes, and CurrencyField 2017-04-18 11:58:35 -07:00
Scott Blum 43c2b2320d SOLR-10420: fix watcher leak in DistributedQueue 2017-04-18 14:44:15 -04:00
Joel Bernstein d5e5b5e948 SOLR-10504: Add echo Streaming Expression 2017-04-18 11:21:34 -04:00
Christine Poerschke ac42f4ffd5 Remove unused imports. 2017-04-18 15:53:13 +01:00
Andrzej Bialecki bb69c02e57 SOLR-10418: Metrics API should return JVM system properties. 2017-04-18 12:46:39 +02:00
yonik 3145f781b3 SOLR-10082: JSON Facet API, add stddev and variance functions 2017-04-17 22:30:29 -04:00
Joel Bernstein 8417307c63 SOLR-10486: Add Length Conversion Evaluators 2017-04-17 11:09:05 -04:00
Shalin Shekhar Mangar 4da901a072 SOLR-10047: Mismatched Docvalues segments cause exception in Sorting/Faceting. Solr now uninverts per segment to avoid such exceptions
Squashed commit of the following:

commit c38f4cabc2828ee83b53b931dd829e29a3e1701c
Author: Keith Laban <kelaban17@gmail.com>
Date:   Tue Apr 11 17:17:05 2017 -0400

    reverted tests to using old wrap interface

commit 806f33e092491cc6a2ee292d2934c76171e40dc7
Author: Keith Laban <kelaban17@gmail.com>
Date:   Tue Apr 11 17:13:34 2017 -0400

    updated UninvertingReader.wrap / tests

commit b10bcab338b362b909491fea1cf13de66f5f17c0
Author: Keith Laban <klaban1@bloomberg.net>
Date:   Wed Apr 5 14:57:28 2017 -0400

    SOLR-10047 - Updated javadoc/renamed class/added getReaderCacheHelper

commit 90ecf5a4ae4feaf3efc42a1ed8643ad21e1c73ce
Author: Keith Laban <klaban1@bloomberg.net>
Date:   Wed Jan 18 16:39:51 2017 -0500

    SOLR-10047 - SolrIndexSearcher, UninvertingReader, uninvert docvalues per segment
2017-04-17 13:59:26 +05:30
Ishan Chattopadhyaya 4df4c52c0c SOLR-10447, SOLR-10447: LISTALIASES Collections API command; CloudSolrClient can be initialized using Solr URL
SOLR-10447: Collections API now supports a LISTALIASES command to return a list of all collection aliases.

   SOLR-10446: CloudSolrClient can now be initialized using the base URL of a Solr instance instead of
    ZooKeeper hosts. This is possible through the use of newly introduced HttpClusterStateProvider.
    To fetch a list of collection aliases, this depends on LISTALIASES command, and hence this way of
    initializing CloudSolrClient would not work with older versions of Solr that doesn't support LISTALIASES.
2017-04-17 10:11:18 +05:30
markrmiller bc6ff493b0 SOLR-9936: Allow configuration for recoveryExecutor thread pool size. 2017-04-14 01:33:19 -04:00
markrmiller 4dc367414f SOLR-10151: Use monotonically incrementing counter for doc ids in TestRecovery. 2017-04-14 01:17:03 -04:00
Ishan Chattopadhyaya 6d948debc6 SOLR-6736: Fix authorization permissions 2017-04-13 17:31:22 +05:30
Erick Erickson 4cb00ccca4 SOLR-10007: Clean up references to CoreContainer and CoreDescriptors 2017-04-12 17:02:40 -07:00
Joel Bernstein 1b81dcdeba SOLR-10485: Fix precommit 2017-04-12 17:26:54 -04:00
Joel Bernstein ee56af22bc SOLR-10485: Add CalculateStream to allow Solr to behave like a scientific calculator 2017-04-12 17:26:54 -04:00
Joel Bernstein 5e403647de SOLR-10303: Add the tuple context to avoid creating multiple LocalDateTime instances for the same Tuple 2017-04-12 15:04:52 -04:00
Gethin James d70fc967d4 SOLR-10303: Refactored to multiple TemporalEvaluator classes based on feedback 2017-04-12 15:04:51 -04:00
Gethin James b13945b1ef SOLR-10303: Renamed to DatePartEvaluator and adding support for Instant, Date, LocalDateTime 2017-04-12 15:00:06 -04:00
Gethin James 24ab117a41 SOLR-10303: Initial support for common date/time Stream Evaluators 2017-04-12 14:55:02 -04:00
Andrzej Bialecki 3ba4e73a90 SOLR-9959 Increase the timeout to allow searcher to register metrics. 2017-04-12 10:41:49 +02:00
Tommaso Teofili 7fde878ae4 LUCENE-7776 - adjusted failing tests in solr due to switching to bm25 in knn 2017-04-12 09:55:03 +02:00
Christine Poerschke 57c5837183 Removed two unused imports. 2017-04-11 20:11:12 +01:00
Andrzej Bialecki e30cc70fdd SOLR-9959: SolrInfoMBean-s category and hierarchy cleanup. 2017-04-11 19:22:23 +02:00
Steve Rowe e02a1f159e SOLR-10474: TestPointFields.testPointFieldReturn() depends on order of unsorted hits 2017-04-10 15:26:28 -04:00
Tomas Fernandez Lobbe ce66ca93cf SOLR-10437: Delete index after each test in TestUseDocValuesAsStored 2017-04-10 09:48:07 -07:00
jdyer1 55e36615eb SOLR-8807: disable the CollapseQParser Plugin when testing spellcheck collations for hit-counts 2017-04-10 08:39:41 -05:00
Alan Woodward caf329717e LUCENE-7701: Refactor grouping collectors 2017-04-10 11:10:18 +01:00
Tomas Fernandez Lobbe d671273bc3 SOLR-10443: Improvements to TestPointFields
* Fixes testInternals, index needs to be cleaned after each field
* Validate that SolrQueryParser generates a PointInSetQuery when possible
2017-04-07 14:11:25 -07:00
Tomas Fernandez Lobbe ce75eb62e9 SOLR-10437: Improve test coverage of useDocValuesAsStored=false 2017-04-07 11:36:22 -07:00
Christine Poerschke adabfdd9c2 SOLR-10264: Fixes multi-term synonym parsing in ManagedSynonymFilterFactory.
(Jörg Rathlev, Steve Rowe, Christine Poerschke)
2017-04-07 11:11:23 +01:00
Christine Poerschke 94b83f1f7d SOLR-10441: remove no longer used HttpShardHandlerFactory.USE_RETRIES 2017-04-07 10:37:30 +01:00
Joel Bernstein a0d22297ce SOLR-10444: Fix precommit 2017-04-06 21:33:47 -04:00
Joel Bernstein 865f9b2b01 SOLR-10444: SQL interface does not use client cache 2017-04-06 21:19:45 -04:00
Chris Hostetter 6e5f6fab53 SOLR-10425: Fix indexed="false" on numeric PointFields 2017-04-06 12:07:41 -07:00
jdyer1 e75a2e6b86 SOLR-10323: fix to SpellingQueryConverter to properly strip out colons in field-specific queries 2017-04-06 12:48:19 -05:00
yonik 53aeffade5 SOLR-7452: add support for refining missing allBuckets 2017-04-06 09:29:29 -04:00
Cao Manh Dat c30a7dc597 SOLR-10239: change empty lambda to null 2017-04-06 15:57:43 +07:00
Cao Manh Dat 9c2ef561e5 SOLR-10239: MOVEREPLICA API 2017-04-06 15:48:38 +07:00
Joel Bernstein 37b6c60548 SOLR-10426: Add shuffle Streaming Expression 2017-04-05 17:57:24 -04:00
Steve Rowe dbd22a6ada SOLR-10423: Disable graph query production via schema configuration <fieldtype ... enableGraphQueries="false">. This fixes broken queries for ShingleFilter-containing query-time analyzers when request param sow=false. 2017-04-05 16:23:26 -04:00
Shalin Shekhar Mangar 60303028de SOLR-10277: On 'downnode', lots of wasteful mutations are done to ZK 2017-04-05 16:01:44 +05:30
Christine Poerschke 05749d0694 SOLR-10394: Rename getSortWithinGroup to getWithinGroupSort in search.grouping.Command class.
(Judith Silverman, Christine Poerschke)
2017-04-04 12:52:09 +01:00
Shalin Shekhar Mangar ee98cdc790 SOLR-10416: The JSON output of /admin/metrics is fixed to write the container as a map (SimpleOrderedMap) instead of an array (NamedList) 2017-04-04 14:20:31 +05:30
Mikhail Khludnev 4c737b8df9 SOLR-9745: check exit code only if process has finished 2017-04-04 11:02:59 +03:00
Adrien Grand 23b002a0fd LUCENE-7756: Only record the major Lucene version that created the index, and record the minimum Lucene version that contributed to segments. 2017-04-04 09:57:16 +02:00
Mikhail Khludnev 3f172a019b SOLR-9745: bring back timeout value to fix tests 2017-04-04 08:42:31 +03:00
Mark Miller 0bf7a5ff33 SOLR-10338: Revert configure SecureRandom non blocking for tests. (reverted from commit 0445f8200e) 2017-04-03 22:00:08 -03:00
Joel Bernstein e872dc7913 SOLR-10351: Add try-with-resources clause around TokenStream 2017-04-03 20:39:37 -04:00
Mikhail Khludnev 65b4530fb3 SOLR-9745: fix solr.cmd to print errors from invoked script 2017-04-03 23:53:54 +03:00
Erick Erickson 52632cfc0c SOLR-8906: Make transient core cache pluggable 2017-04-03 13:27:12 -07:00
Dennis Gove ef821834d1 SOLR-10393: Adds UUID Streaming Evaluator 2017-04-01 23:15:43 -04:00
Dennis Gove 674ce4e893 SOLR-10356: Adds basic math streaming evaluators 2017-04-01 21:58:04 -04:00
Chris Hostetter 35aac1d462 SOLR-10399: cleanup unused imports 2017-03-31 18:16:13 -07:00
Chris Hostetter b60b86ecab SOLR-10399: Generalize some internal facet logic to simplify points/non-points field handling 2017-03-31 17:01:42 -07:00
yonik bdb0d588ee SOLR-7452: add more tests for refinement of missing buckets 2017-03-31 12:55:15 -04:00
yonik cc623403bd SOLR-7452: refinement of missing buckets and partial facets through missing buckets 2017-03-31 12:54:30 -04:00
Adrien Grand e80643e5a7 LUCENE-7753: Make fields static when possible. 2017-03-31 17:28:21 +02:00
markrmiller 0445f8200e SOLR-10338: Configure SecureRandom non blocking for tests. 2017-03-31 10:53:20 -04:00
Joel Bernstein 6c2155c024 SOLR-10351: Add analyze Stream Evaluator to support streaming NLP 2017-03-30 17:53:07 +01:00
Erick Erickson edcdc3052b SOLR-10387: zkTransfer normalizes destination path incorrectly if source is a windows directory 2017-03-29 21:13:40 -07:00
Andrzej Bialecki 30f7914c3b SOLR-10362 Be more specific when catching this exception. 2017-03-29 15:26:33 +02:00
Cao Manh Dat 9b7c8d5606 SOLR-9993: Add support for ExpandComponent with PointFields 2017-03-29 13:52:51 +07:00
Shai Erera deddc9b5c8 SOLR-10349: Add totalTermFreq support to TermsComponent
TermsComponent only returns docFreq information per requested term.
This commit adds a terms.ttf parameter, which if set to true, will
return both docFreq and totalTermFreq statistics for each requested
term.
2017-03-29 06:18:39 +03:00
Cao Manh Dat 144091ad29 SOLR-10079: TestInPlaceUpdates(Distrib|Standalone) failures 2017-03-29 08:09:40 +07:00
yonik 66bfdcbdba SOLR-7452: change terminology from _m missing-bucket to _p partial-bucket for refinement 2017-03-28 19:52:51 -04:00
Steve Rowe 0a689f4d95 SOLR-10357: Enable edismax and standard query parsers to handle the option combination sow=false / autoGeneratePhraseQueries=true by setting QueryBuilder.autoGenerateMultiTermSynonymsQuery 2017-03-28 18:39:28 -04:00
Ishan Chattopadhyaya 6b0217b7cb SOLR-6736: Adding support for uploading zipped configsets using ConfigSets API 2017-03-29 00:44:27 +05:30
Ishan Chattopadhyaya 0322068ea4 SOLR-10365: Handle a SolrCoreInitializationException while publishing core state during SolrCore creation 2017-03-29 00:26:31 +05:30
Joel Bernstein aa2b46a62a SOLR-10341: SQL AVG function mis-interprets field type 2017-03-28 18:42:18 +01:00
Steve Rowe 1a80e4d694 SOLR-10343: Update Solr default/example and test configs to use SynonymGraphFilterFactory 2017-03-28 11:47:02 -04:00
Adrien Grand 390ef9af9f LUCENE-7743: Avoid calling new String(String). 2017-03-28 15:35:04 +02:00
Adrien Grand c189139e52 LUCENE-7751: Avoid boxing primitives only to call compareTo. 2017-03-28 15:35:04 +02:00
Adrien Grand 53064e46dd LUCENE-7754: Inner classes should be static whenever possible. 2017-03-28 15:35:04 +02:00
Steve Rowe b46b8278c6 SOLR-10344: Update Solr default/example and test configs to use WordDelimiterGraphFilterFactory 2017-03-27 23:53:55 -04:00
Andrzej Bialecki cb20eae178 SOLR-10362: "Memory Pool not found" error when reporting JVM metrics. 2017-03-27 22:19:03 +02:00
Erick Erickson 0b3ca1bb61 SLR-10108: bin/solr script recursive copy broken 2017-03-27 12:15:05 -07:00
Erick Erickson bd01064f69 SOLR-10371: There is some spelling mistakes in the Java source code Thanks hu xiaodong" 2017-03-27 09:31:15 -07:00
Shalin Shekhar Mangar cd66a5ff51 SOLR-9835: Fixed precommit failure. 2017-03-27 20:06:01 +05:30
Cao Manh Dat d156aafd1d SOLR-9835: TestInjection.waitForInSyncWithLeader() should rely on commit point of searcher 2017-03-27 16:44:22 +07:00
David Smiley f1aef3d12b SOLR-10304: Refactor new SolrDocumentFetcher out of SolrIndexSearcher 2017-03-24 23:01:32 -04:00
David Smiley 8664f1f38a SOLR-10249: Refactor IndexFetcher to return detailed result 2017-03-24 22:46:24 -04:00
yonik fec87fceb5 SOLR-7452: add support for _m buckets, missing and has sub-facets in need of refinement 2017-03-24 20:43:44 -04:00
Chris Hostetter 6665aed952 Fix test to stop asserting specific order when secondary sort is unspecified, add new checks that do assert an explicit order when secondary sort IS specified. 2017-03-23 18:28:10 -07:00
Noble Paul 4edfc1a9c7 SOLR-6615: use constants for 'sort', 'distrib' 2017-03-23 18:12:20 +10:30
Noble Paul eb587772dd SOLR-6615: use constants for 'id', '_route_', '_version_' 2017-03-23 11:45:50 +10:30
Cao Manh Dat 88c3c3c580 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2017-03-23 07:31:37 +07:00
yonik 725cd4e2f5 SOLR-7452: facet refinement - don't generate domain if skipping bucket 2017-03-22 19:53:50 -04:00
Tomas Fernandez Lobbe 8a99675392 SOLR-9986: Add javadoc to DatePointField class 2017-03-22 10:52:34 -07:00
Cao Manh Dat b7042c1f6e Add support for CollapseQParser with PointFields 2017-03-22 15:00:33 +07:00
yonik 6786089b0b SOLR-7452: json facet API, refine/skip through buckets already visited 2017-03-21 08:42:47 -04:00
Dennis Gove 92297b5860 SOLR-10292: Adds CartesianProductStream to turn multivalued fields into multiple tuples 2017-03-20 16:40:46 -04:00
Andrzej Bialecki a3e4f57e1b SOLR-10319 SolrCore "instanceDir" metric not visible in JMX. 2017-03-20 19:03:55 +01:00
Cao Manh Dat 21adce4a2f SOLR-9992: Add support for grouping with PointFIelds 2017-03-20 15:21:36 +07:00
Cao Manh Dat e09273943b SOLR-10079: Speedup TestInPlaceUpdatesDistrib in new replication mode 2017-03-20 09:18:54 +07:00
Cao Manh Dat 4bc75dbf23 SOLR-9835: Fix OnlyLeaderIndexesTest failure, inplace updates is not copied over properly 2017-03-20 08:21:54 +07:00
David Smiley e7d9db9d6c SOLR-10286: fix test for Windows 2017-03-18 10:42:34 -04:00
Steve Rowe 9b57545df0 SOLR-10218: The Schema API commands add-field-type and replace-field-type improperly specify SimilarityFactory params 2017-03-18 00:00:59 -04:00
Tomas Fernandez Lobbe 3b66001845 SOLR-10237: Poly-Fields should work with subfield that have docValues=true 2017-03-17 11:55:15 -07:00
yonik 540ee1db10 SOLR-7452: add refine param to json facets, implement for array field faceting 2017-03-17 12:13:43 -04:00
David Smiley 8fbd9f1e40 SOLR-10273: DocumentBuilder move longest field to last position 2017-03-16 21:22:08 -04:00
David Smiley 4a55bc4e0f SOLR-10286: fix precommit (unused imports) 2017-03-16 21:11:39 -04:00
Steve Rowe d1b2fb33ef SOLR-9185: Solr's edismax and Lucene/standard query parsers should optionally not split on whitespace before sending terms to analysis 2017-03-16 19:41:47 -04:00
David Smiley 4ee7fc3890 SOLR-10286: fix test; we were writing to read-only dir.
Expand solrconfig-managed-schema.xml to have toggle-able elements vis system property flags
2017-03-16 18:30:57 -04:00
David Smiley 2502af9f3f SOLR-10286: large fields.
And refactored FieldType.checkSchemaField to call a new checkSupportsDocValues()
2017-03-16 14:58:59 -04:00
Joel Bernstein b46e09c79f SOLR-10085: SQL result set fields should be ordered by the field list 2017-03-15 18:31:45 -04:00
Joel Bernstein be9fea1bc5 SOLR-10271: SQL aggregations in map_reduce mode should use javabin transport 2017-03-15 18:31:45 -04:00
Joel Bernstein 22f91ba0ca SOLR-10270: Stop exporting _version_ during GROUP BY aggregations in map_reduce mode 2017-03-15 18:31:45 -04:00
Christine Poerschke 9d56f13650 SOLR-10046: Add UninvertDocValuesMergePolicyFactory class. (Keith Laban, Christine Poerschke) 2017-03-15 12:15:17 +00:00
Mike McCandless e7b87f5b79 LUCENE-7739: Fix places where we unnecessarily boxed while parsing a numeric value according to FindBugs 2017-03-15 06:08:10 -04:00
Mike McCandless 716d43eca9 LUCENE-7742: fix places where we were unboxing and then re-boxing according to FindBugs 2017-03-15 06:03:54 -04:00
Noble Paul 124b505810 SOLR-8045: SerachHandler to override the registerV2() and remove registerPath from sample solrconfig.xml 2017-03-15 18:40:38 +10:30
Andrzej Bialecki 1192d396dd SOLR-10224: Add disk total and disk free metrics. 2017-03-14 19:58:31 +01:00
Chris Hostetter 9417367b1a SOLR-10266: fix implicit test assumptions about doc order 2017-03-14 09:49:22 -07:00
Christine Poerschke 5aafea8494 SOLR-9045: exclude static methods from ConfigureRecoveryStrategyTest.testAlmostAllMethodsAreFinal 2017-03-14 13:05:55 +00:00
Andrzej Bialecki 1750095048 SOLR-10247: Support non-numeric metrics and a "compact" format of /admin/metrics. 2017-03-14 12:36:35 +01:00
Christine Poerschke ddda27e4de SOLR-10076: 'String.format(Locale.ROOT,...' instead of (forbidden API) 'String.format(...)' 2017-03-14 10:46:25 +00:00
markrmiller 91c3f78f8f SOLR-10076: Hide keystore and truststore passwords from /admin/info/* outputs. 2017-03-14 06:13:34 -04:00
markrmiller bac3424936 SOLR-10279: The autoAddReplica feature can result in SolrCores being assigned new shards when using legacyCloud=false and will also fail on a state check when taking over a core registration with a new core. 2017-03-14 06:01:06 -04:00
Cao Manh Dat 7830462d4b SOLR-9835: Create another replication mode for SolrCloud 2017-03-14 14:37:47 +07:00
Tomas Fernandez Lobbe abec54bd57 SOLR-10236: Remove FieldType.getNumericType() from master 2017-03-13 16:00:16 -07:00
Andrzej Bialecki e3a0b428fd SOLR-10269 MetricHandler JSON output was incorrect. 2017-03-13 20:30:27 +01:00
Christine Poerschke c8bad8c10a SOLR-9045: Make RecoveryStrategy settings configurable. 2017-03-13 15:49:01 +00:00
Ishan Chattopadhyaya a06c39f3e5 SOLR-9838: 'inc' atomic update doesn't respect default field value 2017-03-13 18:46:08 +05:30
Ishan Chattopadhyaya d5181ec8e5 SOLR-10079: Increasing threadpool termination to 15s, clearIndex() to do clean replica indexes as well 2017-03-13 16:56:29 +05:30
Ishan Chattopadhyaya b64382bb07 SOLR-10079: Force in-place standalone test to always use NoMergePolicy, also assert that it was used 2017-03-13 15:22:49 +05:30
David Smiley 182c20c4e5 SOLR-10039: New LatLonPointSpatialField 2017-03-11 20:48:01 -05:00
Cao Manh Dat 0fb386a864 SOLR-8045: Deploy V2 API at /v2 instead of /solr/v2 2017-03-11 10:30:52 +07:00
Joel Bernstein d945a246f6 SOLR-10257: Add logarithm StreamEvaluator 2017-03-09 21:01:24 -05:00
Noble Paul c680f45f2d added a test 2017-03-09 14:41:42 +10:30
Joel Bernstein 682c6a7d51 SOLR-10254: significantTerms Streaming Expression should work in non-SolrCloud mode 2017-03-08 21:11:26 -05:00
Mark Miller e35881a63a SOLR-10248: Merge SolrTestCaseJ4's SolrIndexSearcher tracking into the ObjectReleaseTracker. 2017-03-08 11:44:23 -05:00
Mark Miller 6a6e303298 SOLR-10244: TestCoreDiscovery fails if you run it as root. 2017-03-08 10:23:46 -05:00
Andrzej Bialecki 4d7bc94771 SOLR-9858: Collect aggregated metrics from nodes and shard leaders in overseer. 2017-03-07 22:01:21 +01:00
Andrzej Bialecki 2d51a42d3c SOLR-10226 JMX metric avgTimePerRequest broken. 2017-03-07 18:09:58 +01:00
Ishan Chattopadhyaya 190f4b6b93 SOLR-10178, SOLR-10079: Force tests to always use NoMergePolicy, also assert that it was used 2017-03-07 19:02:26 +05:30
Cao Manh Dat 7af6cc9715 SOLR-9986: Fix precommit 2017-03-07 15:37:24 +07:00
Cao Manh Dat 3131ec2d99 SOLR-9986: Implement DatePointField 2017-03-07 10:11:47 +07:00
Joel Bernstein 6df17c8cfe SOLR-8593: in TestSQLHandler assume not run with Turkish locale 2017-03-06 12:20:28 -05:00
Andrzej Bialecki acb185b2dc SOLR-9999: Instrument DirectUpdateHandler2. 2017-03-06 11:10:43 +01:00
Noble Paul fb1d2d1ae2 SOLR-10230: default TTL of PKIAuthenticationPlugin increased to 10secs 2017-03-06 10:09:01 +10:30
Kevin Risden 686fbd3ba2 SOLR-10171: Add Constant Reduction Rules to Calcite Planner 2017-03-04 19:22:34 -06:00
Andrzej Bialecki 5ccc8e7ae9 SOLR-10227 Fix a test failure. 2017-03-04 09:31:26 +01:00
Noble Paul b66d13398a SOLR-9401: TestPKIAuthenticationPlugin NPE. do the time consuming pub key creation before header is set 2017-03-04 16:12:57 +10:30
yonik 4990eed1b3 SOLR-10225: fix BlockCache evictions metric to not count explicit removal 2017-03-03 12:39:33 -05:00
Adrien Grand fbc844d334 LUCENE-7410: Fix test bug. 2017-03-03 17:41:04 +01:00
Christine Poerschke 43474312eb SOLR-10155: For numeric types facet.contains= and facet.prefix= are now rejected.
(Gus Heck, Christine Poerschke)
2017-03-03 12:03:41 +00:00
Adrien Grand 8ed2b764ed LUCENE-6819: Remove index-time boosts. 2017-03-02 19:18:16 +01:00
Noble Paul f57d829fa0 SOLR-9401: NPE in TestPKIAuthenticationPlugin. tests would retry for timeout 2017-03-02 20:50:06 +10:30
David Smiley d1d73bfbea SOLR-10153: (and SOLR-10152): UH & PH: Add hl.bs.type=SEPARATOR with new param hl.bs.separator 2017-03-01 21:04:07 -05:00
yonik 010bffecf9 tests: add cache.invalidate to BlockCache test 2017-03-01 08:51:37 -05:00
Mikhail Khludnev 0baf2fa33c SOLR-10134: EmbeddedSolrServer handles SchemaAPI requests 2017-03-01 08:32:35 +03:00
Ishan Chattopadhyaya 8b4502c218 Fixing precommit by removing unused imports 2017-03-01 04:38:35 +05:30
Ishan Chattopadhyaya 0b7b1443c2 Fix UpdateLogTest failure 2017-03-01 04:18:22 +05:30
yonik 34bb7f31e5 SOLR-10214: clean up BlockCache Metrics, add storeFails and counts 2017-02-28 12:36:08 -05:00
markrmiller 2adc11c70a tests: null out static 2017-02-28 12:12:34 -05:00
Adrien Grand df6f830723 LUCENE-7410: Make cache keys and close listeners less trappy. 2017-02-28 14:46:45 +01:00
markrmiller 04ba9968c0 SOLR-10196: ElectionContext#runLeaderProcess can hit NPE on core close. 2017-02-27 23:41:30 -05:00
markrmiller ed0f0f45ce SOLR-10207: Harden CleanupOldIndexTest. 2017-02-27 23:33:47 -05:00
markrmiller 86b5b6330f tests: raise timeout 2017-02-27 22:55:29 -05:00
Andrzej Bialecki a248e6e3c0 SOLR-10182 Remove metrics collection at Directory level. 2017-02-27 16:32:27 +01:00
Uwe Schindler ea37b9ae87 SOLR-10158: Add support for "preload" option in MMapDirectoryFactory 2017-02-25 21:15:09 +01:00
Jan Høydahl 30125f99da Revert "SOLR-9640: Support PKI authentication and SSL in standalone-mode master/slave auth with local security.json"
This reverts commit 95d6fc2512.
2017-02-25 00:43:42 +01:00
Christine Poerschke 471d842742 Remove outdated comment. 2017-02-24 18:38:11 +00:00
Jan Høydahl 95d6fc2512 SOLR-9640: Support PKI authentication and SSL in standalone-mode master/slave auth with local security.json 2017-02-24 14:30:42 +01:00
Joel Bernstein dba733e7aa SOLR-10156: Add significantTerms Streaming Expression 2017-02-23 14:18:03 -05:00
Erick Erickson 8367e159e4 SOLR-10021: Cannot reload a core if it fails initialization. 2017-02-22 17:46:36 -08:00
markrmiller d6337ac3e5 SOLR-9824: Some bulk update paths could be very slow due to CUSC polling. 2017-02-22 14:44:18 -05:00
markrmiller be64c26c27 SOLR-10126: Improve test a bit. 2017-02-22 14:44:17 -05:00
Tomas Fernandez Lobbe 21690f5e12 SOLR-10143: PointFields will create IndexOrDocValuesQuery when a field is both, indexed=true and docValues=true 2017-02-22 10:31:12 -08:00
markrmiller 9a39e9156a SOLR-10136: @AwaitsFix this test. 2017-02-22 11:04:16 -05:00
markrmiller f4b73d076d SOLR-10191: @BadApple this test. 2017-02-22 11:00:59 -05:00
markrmiller a342d6bba6 test: speed up test 2017-02-22 09:56:59 -05:00
markrmiller eb9e3cba8d SOLR-9848: Lower solr.cloud.wait-for-updates-with-stale-state-pause back down from 7 seconds. 2017-02-22 09:54:48 -05:00
markrmiller b28dc3fe34 SOLR-9849: Use a very low value for solr.cloud.wait-for-updates-with-stale-state-pause in tests. 2017-02-22 09:52:51 -05:00
markrmiller f2f8154d0b SOLR-9842: UpdateRequestProcessors have no way to guarantee the closing of resources used for a request. 2017-02-22 09:50:28 -05:00
Christine Poerschke ee55bec9f0 SOLR-10173: Make HttpShardHandlerFactory.getReplicaListTransformer more extensible. (Ramsey Haddad via Christine Poerschke) 2017-02-22 14:15:40 +00:00
Erick 14b3622608 SOLR-10020: CoreAdminHandler silently swallows some errors 2017-02-21 21:59:26 -08:00
yonik cf1cba66f4 SOLR-10121: enable BlockCacheTest.testBlockCacheConcurrent that now passes 2017-02-21 18:56:39 -05:00
markrmiller 3771e7d2c7 SOLR-10126: @BadApple this test, fails frequently on Jenkins cluster. 2017-02-21 18:05:41 -05:00
yonik e9e02a2313 SOLR-10141: Upgrade to Caffeine 2.4.0 to fix issues with removal listener 2017-02-21 17:15:05 -05:00
markrmiller fa5851095f SOLR-10175: Rename test so it doesn't match test glob pattern. 2017-02-20 21:40:00 -05:00
Christine Poerschke e8f4746ec4 SOLR-10175: turn TestAnalyticsQParserPlugin's @Ignore into @AwaitsFix 2017-02-20 17:39:46 +00:00
Christine Poerschke cf63ad9797 SOLR-10142: turn TestClassNameShortening's @Ignore into @AwaitsFix 2017-02-20 10:54:09 +00:00
markrmiller 8c1e67e30e SOLR-10170: ClassCastException in RecoveryStrategy. 2017-02-19 20:38:32 -05:00
markrmiller 72f71275b2 SOLR-8129: Harden HdfsChaosMonkeyNothingIsSafeTest some 2017-02-19 20:38:32 -05:00
markrmiller 06707cca64 tests: always use global blockcache for chaosmonkey tests. 2017-02-19 20:38:32 -05:00
markrmiller 33466cb0b7 SOLR-10168: ShardSplit can fail with NPE in OverseerCollectionMessageHandler#waitForCoreAdminAsyncCallToComplete. 2017-02-19 20:38:31 -05:00
markrmiller f45a3711b1 SOLR-10109: SoftAutoCommitTest is too fragile. 2017-02-19 19:19:32 -05:00
markrmiller 9533fa34f8 SOLR-10071: Add @AwaitsFix for now. 2017-02-19 19:07:26 -05:00
markrmiller a9a6bf1413 SOLR-10068: Remove unused import. 2017-02-19 18:53:49 -05:00
markrmiller fad963cf2f SOLR-10164: DistributedVersionInfoTest needs to be hardened. 2017-02-19 16:34:33 -05:00
markrmiller 57c41e1cbd SOLR-10068: Only use global hdfs block cache for this test. 2017-02-19 16:34:16 -05:00
markrmiller 4804a06e2b SOLR-10160: HdfsTlogReplayBufferedWhileIndexingTest needs to be hardened. 2017-02-19 14:34:57 -05:00
markrmiller 80978d0574 tests: raise timeout for test beasting worst case 2017-02-19 14:19:21 -05:00
markrmiller b30b6c58f7 SOLR-9846: Don't run Overseer threads if CoreContainer is shutdown. 2017-02-19 14:19:21 -05:00
Ishan Chattopadhyaya a88e6e5634 Remove unused imports 2017-02-19 16:13:29 +05:30
Cao Manh Dat 54303260aa SOLR-9966: Fix previous commit bug 2017-02-19 15:19:57 +07:00
Ishan Chattopadhyaya 6358afbea6 SOLR-5944: Cleanup comments and logging, use NoMergePolicy instead of LogDocMergePolicy 2017-02-19 09:21:35 +05:30
Ishan Chattopadhyaya d5ef026f84 SOLR-5944: Use SolrCmdDistributor's synchronous mode for in-place updates 2017-02-19 07:50:01 +05:30
Ishan Chattopadhyaya 82f598d895 SOLR-10159: When DBQ is reordered with an in-place update, upon whose updated value the DBQ is based on, the DBQ fails due to excessive caching in DeleteByQueryWrapper 2017-02-19 07:12:28 +05:30
Cao Manh Dat 46ef9256b4 SOLR-9966: Convert/migrate tests using EasyMock to Mockito 2017-02-19 07:00:40 +07:00
markrmiller 19c8ec2bf1 SOLR-10120: Clean up earlier so we don't hit closed resources. 2017-02-17 21:22:44 -05:00
markrmiller ed05debb4e SOLR-9846: Overseer is not always closed after being started. 2017-02-17 21:22:43 -05:00
markrmiller 6b169d2051 SOLR-10064: The Nightly test HdfsCollectionsAPIDistributedZkTest appears to be too fragile. 2017-02-17 21:22:43 -05:00
yonik 33e398c021 SOLR-10141: add test for underlying cache 2017-02-17 21:21:05 -05:00
yonik 6804f36942 SOLR-10141: Upgrade to Caffeine 2.3.5 to fix issues with removal listener 2017-02-17 12:50:38 -05:00
yonik 7a45f1015e SOLR-10114: fix flakey TestRecovery 2017-02-16 15:12:44 -05:00
yonik d49edabf89 SOLR-10114: test cleanup 2017-02-16 12:45:32 -05:00
Mike McCandless 7caaf6f32a remove unused import 2017-02-16 08:51:40 -05:00
yonik 99188ae00c SOLR-10114: add _version_ field to child documents, fix reordered-dbq to not drop child docs 2017-02-15 22:51:21 -05:00
Joel Bernstein 4f29685edb Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2017-02-15 15:31:24 -05:00
Christine Poerschke fe5c7604c4 SOLR-6443, SOLR-6444: correct @AwaitsFix link for TestManagedResourceStorage 2017-02-15 20:28:22 +00:00
Joel Bernstein dcf41b9a8e SOLR-8593: Fix precommit 2017-02-15 14:34:59 -05:00
Joel Bernstein 12229b2ca0 SOLR-8593: Switch to using the BooleanEvaluators 2017-02-15 14:21:24 -05:00
Joel Bernstein bfeb4e7f84 Merge branch 'jira/solr-8593' 2017-02-15 13:55:09 -05:00
Joel Bernstein aa7e980d3b SOLR-10094: /export handler (master only) loses the sort deep into the result set 2017-02-15 13:49:31 -05:00
Andrzej Bialecki f51253a331 SOLR-10138: Transaction log replay can hit an NPE due to new Metrics code. 2017-02-15 16:49:18 +01:00
markrmiller 9275c2f87f SOLR-10064: The Nightly test HdfsCollectionsAPIDistributedZkTest appears to be too fragile. 2017-02-15 10:20:22 -05:00
markrmiller b760f95486 SOLR-10068: The Nightly test SharedFSAutoReplicaFailoverTest appears to be too fragile. 2017-02-15 10:20:00 -05:00
yonik b71a667d74 SOLR-10121: fix race conditions in BlockCache.fetch and BlockCache.store 2017-02-15 09:56:50 -05:00
Andrzej Bialecki b6f49dc1fb SOLR-10130 Serious performance degradation in Solr 6.4.1 due to the
new metrics collection.
2017-02-15 14:55:48 +01:00
Christine Poerschke 787a388ec8 SOLR-9890: factor out ShardResultTransformerUtils.[un]marshSortValue methods
(Judith Silverman, Christine Poerschke)
2017-02-15 10:54:35 +00:00
Noble Paul 2470fbaa0e SOLR-8029: introspect was not showing for certain collection apis 2017-02-14 17:47:12 -08:00
Ishan Chattopadhyaya 9a1702a8f5 SOLR-8029: Reverting the previous commit and the merge 2017-02-15 07:13:28 +05:30
Noble Paul 325cbf0018 Revert "Merge remote-tracking branch 'origin/master'"
This reverts commit 26298f35df, reversing
changes made to 65c6c576b7.

undoing the merge commit
2017-02-14 17:32:14 -08:00
Noble Paul 26298f35df Merge remote-tracking branch 'origin/master' 2017-02-14 16:24:25 -08:00
Noble Paul 65c6c576b7 SOLR-8029: introspect was not showing for certain collection apis 2017-02-14 16:24:06 -08:00
markrmiller a1f114f70f SOLR-10104: BlockDirectoryCache release hooks do not work with multiple directories.
# Conflicts:
#	solr/CHANGES.txt
2017-02-14 12:06:44 -05:00
markrmiller a243befdbb SOLR-9846: Track Overseer close better. 2017-02-14 12:05:37 -05:00
Tomas Fernandez Lobbe 7dcf9de41f SOLR-9987: Implement support for multi-valued DocValues in PointFields
CC SOLR-8396
2017-02-13 09:47:49 -08:00
Joel Bernstein ec6ee96ae6 SOLR-8593: Make SQL handler friendlier out of the box 2017-02-13 11:46:08 -05:00
Noble Paul 563f522643 SOLR-8029: disabled easymock for java9 2017-02-13 07:28:16 -08:00
markrmiller df02aa6ddc SOLR-10127: OverseerRolesTest needs to be hardened. 2017-02-12 17:43:47 -05:00
markrmiller b5c7bd1d10 SOLR-9846: Try and make sure Overseer is always closed in tests and it's threads are done when it exists close. 2017-02-12 14:58:06 -05:00
markrmiller 5b976959d9 SOLR-10063: CoreContainer shutdown has race condition that can cause a hang on shutdown. 2017-02-11 17:08:43 -05:00
markrmiller 2196663156 SOLR-10120: A SolrCore reload can remove the index from the previous SolrCore during replication index rollover.
SOLR-10124: Replication can skip removing a temporary index directory in some cases when it should not.
SOLR-10119: Harden TestReplicationHandler.
2017-02-11 17:08:42 -05:00
markrmiller 11a54aa5a9 SOLR-10125: CollectionsAPIDistributedZkTest is too fragile. 2017-02-11 17:08:42 -05:00
Mike McCandless 015382257a remove unused import so 'ant precommit' passes again 2017-02-10 18:33:33 -05:00
Andrzej Bialecki 723b20279a SOLR-10090 MBeansHandlerTest assertion fails (test ordering/number
dependence) (Dawid Weiss via ab)
2017-02-10 09:19:02 -08:00
yonik 0b3710a532 SOLR-10116: add concurrency test to BlockCacheTest 2017-02-10 12:08:09 -05:00
yonik 85141a2302 SOLR-10116: add more comments, improve variable names in BlockCache 2017-02-10 11:08:48 -05:00
markrmiller 9d8a2faf18 SOLR-9903: Stop interrupting the update executor on shutdown, it can cause graceful shutdowns to put replicas into Leader Initiated Recovery among other undesirable things. 2017-02-10 09:40:47 -05:00
Adrien Grand 117aea9367 SOLR-9912: Remove unused imports. 2017-02-10 09:40:08 +01:00
Dennis Gove 62489678d0 SOLR-9916: Adds Stream Evaluators to support evaluating values from tuples 2017-02-10 00:39:51 -05:00
markrmiller 40cc8cb85a SOLR-10109: Capture 'free' commits and improve a couple timeouts. 2017-02-09 19:22:25 -05:00
markrmiller d7d3d5a4fd SOLR-10109: SoftAutoCommitTest is too fragile, harden the hell out of it. 2017-02-09 17:00:34 -05:00
Christine Poerschke 0b817e6e49 SOLR-9912: Add facet.excludeTerms parameter support. (Jonny Marks, David Smiley, Christine Poerschke) 2017-02-09 14:55:06 +00:00
Christine Poerschke 55afc2031c SOLR-9914: SimpleFacets: refactor "contains" check into "SubstringBytesRefFilter" class. (Jonny Marks, David Smiley, Christine Poerschke) 2017-02-09 11:53:04 +00:00
markrmiller aa20136bb1 SOLR-10107: Add @BadApple 2017-02-09 02:50:38 -05:00
markrmiller 5738c293f0 SOLR-10098: Keep netty from using secure random on startup in tests. 2017-02-08 13:43:07 -05:00
Joel Bernstein de512d7402 SOLR-8593: Push down the HAVING clause 2017-02-08 13:01:31 -05:00
Joel Bernstein a9cf1503b5 SOLR-10094: /export handler (master only) loses the sort deep into the result set 2017-02-08 13:01:31 -05:00
Joel Bernstein 4ea97b08de SOLR-8593: Ensure the SolrSort is always pushed down 2017-02-08 13:01:31 -05:00
Tomas Fernandez Lobbe 59c41e2a6c SOLR-10011: Add NumberType getNumberType() to FieldType and deprecate LegacyNumericType getNumericType()
Modify references to getNumericType() to use the new getNumberType(). NumberType is shared for the different numeric implementations supported in Solr (TrieFields and PointFields).
CC SOLR-8396
2017-02-07 10:38:22 -08:00
markrmiller e1a5776457 SOLR-9997: Enable configuring SolrHttpClientBuilder via java system property. 2017-02-07 13:15:51 -05:00
Ishan Chattopadhyaya 0d760aeddb SOLR-5944: Reverting the previous fix for SolrCmdDistributor 2017-02-07 04:22:35 -08:00
Ishan Chattopadhyaya 3574404e3d SOLR-5944: Use SolrCmdDistributor's synchronous mode for in-place updates 2017-02-07 03:58:13 -08:00
Ishan Chattopadhyaya 6520d06ce7 SOLR-10079: Test fix for TestInPlaceUpdatesDistrib, using clearIndex() 2017-02-07 03:40:52 -08:00
markrmiller fd72c854d7 SOLR-10101: BadApple test method. 2017-02-06 23:03:10 -05:00
markrmiller 8bb61cc60f SOLR-10068: Boost wait time. 2017-02-06 23:03:10 -05:00
Christine Poerschke ef03480743 SOLR-9800: Factor out FacetComponent.newSimpleFacets method. (Jonny Marks via Christine Poerschke) 2017-02-06 16:21:50 +01:00
Andrzej Bialecki 51ff50d76d SOLR-10035 Fix dataimport to use the new names. 2017-02-06 09:02:06 +01:00
Steve Rowe 6c1a4b673a SOLR-6246: SolrSuggester.build() now throws SolrCoreState.CoreIsClosedException when a core reload/shutdown happens; add a random test lookup dictionary with configurable size; add {Analyzing,Blended}InfixSuggester reload/build tests; add a wrapped-exception expectThrows() variant to LuceneTestCase 2017-02-03 18:25:38 -05:00
markrmiller e316f2f15a SOLR-10064: Lower block cache size to fit within default limits. 2017-02-03 18:12:59 -05:00
yonik 98d1dabcd8 SOLR-9764: change getLiveDocs to do a single volatile read 2017-02-02 21:49:09 -05:00
markrmiller 52b1ae33a1 SOLR-10064: The Nightly test HdfsCollectionsAPIDistributedZkTest appears to be too fragile. 2017-02-02 15:12:07 -05:00
David Smiley f5c6c3b796 SOLR-10018: default hl.maxAnalyazedChars to 51200 across all highlighters 2017-02-02 13:51:39 -05:00
markrmiller f6e124eb57 SOLR-10066: MetricsDirectoryFactory broke this test, need to unwrap. 2017-02-02 11:24:36 -05:00
Kevin Risden db987b810c SOLR-10087: StreamHandler should be able to use runtimeLib jars 2017-02-02 10:01:22 -05:00
Noble Paul ff1a9e9235 SOLR-7955: further optimization to avoid zk lookup 2017-02-02 18:31:07 +10:30
Noble Paul 3e44928f49 SOLR-7955: making it easy to commit to branch_6x 2017-02-02 18:15:35 +10:30
Noble Paul e200b8a2a4 SOLR-7955: Auto create .system collection on first request if it does not exist 2017-02-02 15:26:26 +10:30
Ishan Chattopadhyaya 0d52cb9cea SOLR-10053: Disabling failing delegation token tests due to HADOOP-14044 2017-02-01 22:59:58 +05:30
Kevin Risden 7a3dd46bbf Merge branch 'apache-https-master' into jira/solr-8593 2017-02-01 12:00:22 -05:00
Andrzej Bialecki bef725aeef SOLR-10054: Core swapping doesn't work with new metrics changes in place. 2017-02-01 17:50:17 +01:00
markrmiller bbc455de19 SOLR-10067: use one datanode for this test to reduce resource usage a bit. 2017-02-01 11:40:28 -05:00
markrmiller bc02b0f70d SOLR-10065: The Nightly test ConcurrentDeleteAndCreateCollectionTest appears to be too fragile. 2017-02-01 08:58:32 -05:00
Christine Poerschke 7467866364 SOLR-9933: SolrCoreParser now supports configuration of custom SpanQueryBuilder classes. (Daniel Collins, Christine Poerschke) 2017-01-31 17:38:40 +00:00
yonik a43ef8f480 SOLR-9764: share liveDocs for any DocSet of size numDocs 2017-01-31 11:52:04 -05:00
Noble Paul d9edc0b741 Merge remote-tracking branch 'origin/master' 2017-01-31 23:10:33 +10:30
Noble Paul eb42834617 SOLR-8029: test failures fixed 2017-01-31 22:40:44 +10:30
Erick Erickson 0ccce22fcd SOLR-10060: Add test for implicit commit of uncommitted docs aged out of the transient cache. 2017-01-30 22:37:01 -08:00
Noble Paul 71abe13069 SOLR-8029: Added new style APIs and a framework for creating new APIs and mapping old APIs to new 2017-01-31 16:27:33 +10:30
yonik c8edbe8663 SOLR-10049: make collection deletion remove snapshot metadata 2017-01-30 21:04:42 -05:00
Andrzej Bialecki f73d93ac1b SOLR-10050 Fix SolrMetricManagerTest.testClearMetrics() failures. 2017-01-30 13:21:21 +01:00
Jan Høydahl aa5e048cbf SOLR-10031: Un-break the Windows build 2017-01-30 09:26:39 +01:00
Martijn van Groningen e327efb676 LUCENE-6959: Removed ToParentBlockJoinCollector in favour of ParentChildrenBlockJoinQuery, that can return the matching children documents per parent document.
This query should be executed for each matching parent document after the main query has been executed.
2017-01-29 21:56:13 +01:00
Jan Høydahl 6f598d2469 SOLR-10031: Validation of filename params in ReplicationHandler 2017-01-29 19:42:41 +01:00
Kevin Risden 89b39e41c0 Fix precommit 2017-01-29 12:18:34 -05:00
Kevin Risden a9bdfdec10 Merge branch 'apache-https-master' into jira/solr-8593 2017-01-28 12:20:51 -05:00
Mikhail Khludnev d9741205b5 SOLR-9983: fixing TestManagedSchemaThreadSafety NPE failure.
Also testing session expiration and set sensible Zookeeper connection
timeout.
2017-01-28 00:09:08 +03:00
Kevin Risden 934a92e730 Merge branch 'apache-https-master' into jira/solr-8593 2017-01-27 10:19:38 -05:00
Christine Poerschke 0187838022 SOLR-9972: SpellCheckComponent collations and suggestions returned as a JSON object rather than a list
(Christine Poerschke in response to bug report from Ricky Oktavianus Lazuardy)
2017-01-26 13:43:13 +00:00
Ishan Chattopadhyaya 5375410807 SOLR-5944: In-place updates of Numeric DocValues 2017-01-26 06:53:13 +05:30
Kevin Risden aaee7513e6 Merge branch 'apache-https-master' into jira/solr-8593 2017-01-23 10:42:08 -05:00
Cao Manh Dat d34f549df6 SOLR-9114: NPE using TermVectorComponent, MoreLikeThisComponent in combination with ExactStatsCache 2017-01-23 17:41:35 +07:00
Ishan Chattopadhyaya 0f7990b2c8 SOLR-10011: Fix exception log message 2017-01-22 04:52:01 +05:30
Ishan Chattopadhyaya 285a1013ad SOLR-10011: Refactor PointField & TrieField to now have a common base class, NumericFieldType.
The TrieField.TrieTypes and PointField.PointTypes are now consolidated to NumericFieldType.NumberType. This
  refactoring also fixes a bug whereby PointFields were not using DocValues for range queries for
  indexed=false, docValues=true fields.
2017-01-22 04:27:11 +05:30
Alan Woodward 49fa7b0dd5 SOLR-9132: Fix HDFS test 2017-01-21 21:55:33 +00:00
Ishan Chattopadhyaya 864bed2e49 SOLR-9996: Ignore the RTG calls for tests where UpdateLog is disabled 2017-01-21 21:19:11 +05:30
Ishan Chattopadhyaya 69055aa4a8 SOLR-9996: Unstored IntPointField returns Long type 2017-01-20 19:08:05 +05:30
Adrien Grand 71ca2a84ba LUCENE-7643: Move IndexOrDocValuesQuery to core. 2017-01-20 13:42:31 +01:00
Alan Woodward eba9390965 SOLR-10001: Fix overseer-roles test bug 2017-01-19 17:46:03 +00:00
Ishan Chattopadhyaya bb35732eef SOLR-9984: Remove GenericHadoopAuthPlugin (HadoopAuthPlugin is there) 2017-01-19 10:02:13 +05:30
Ishan Chattopadhyaya 1a05d6f4f1 SOLR-9984: Deprecate GenericHadoopAuthPlugin in favor of HadoopAuthPlugin 2017-01-19 09:35:59 +05:30
Tomas Fernandez Lobbe 57934ba448 SOLR-8396: Add support for PointFields in Solr 2017-01-18 17:27:21 -08:00
markrmiller a89560bb72 SOLR-9836: Add ability to recover from leader when index corruption is detected on SolrCore creation. 2017-01-18 19:45:22 -05:00
Tomas Fernandez Lobbe a37bfa75a0 SOLR-9980: Expose configVersion in core admin status 2017-01-18 15:01:27 -08:00
Alan Woodward 8c2ef3bc7f LUCENE-7644: FieldComparatorSource.newComparator() doesn't need to throw IOException
This allos us to also remove the throws clause on SortField.getComparator(),
TopDocs.merge() and various Collector constructors
2017-01-18 19:17:19 +00:00
Tomas Fernandez Lobbe 68d246df00 SOLR-9979: Macro expansion should not be done in shard requests 2017-01-18 10:53:02 -08:00
Kevin Risden db6a3393a9 Merge branch 'apache-https-master' into jira/solr-8593 2017-01-18 10:45:57 -05:00
Chris Hostetter 9ee48aa857 SOLR-9977: Fix config bug in DistribDocExpirationUpdateProcessorTest that allowed false assumptions about when index version changes 2017-01-17 17:32:42 -07:00
Chris Hostetter 39eec660ca SOLR-9976: Fix init bug in SegmentsInfoRequestHandlerTest 2017-01-17 14:42:41 -07:00
Christine Poerschke e816fbe233 SOLR-9975: add SpellCheckComponentTest.testCollateExtendedResultsWithJsonNl method 2017-01-17 15:55:51 +00:00
yonik 7d7e5d2246 SOLR-9786: additional test related to TermInSetQuery now requiring all terms in same field 2017-01-17 10:20:02 -05:00
David Smiley ed513fdee7 SOLR-9935: UnifiedHighlighter, when hl.fragsize=0 don't do fragmenting 2017-01-17 08:07:51 -05:00
Kevin Risden 292e518878 Merge branch 'apache-https-master' into jira/solr-8593 2017-01-16 16:07:54 -05:00
Christine Poerschke 230190065c Remove four unnecessary @Override annotations in SolrQueryBuilder (test) classes. 2017-01-16 18:14:36 +00:00
Uwe Schindler 60d4a554ec Fix compile warning in Lucene Core; make Eclipse happy by moving Java-1-like-side-by-side class to separate file 2017-01-14 19:46:59 +01:00
Uwe Schindler 4eafdb337a SOLR-9893: Update Mockito to version 2.6.2 for Java 9 support. Disable all legacy EasyMock tests when running on Java 9 until they were migrated to Mockito 2017-01-14 12:43:24 +01:00
Andrzej Bialecki 53d5af17da SOLR-9960 MetricsHandler should support multiple prefixes. 2017-01-14 09:52:15 +01:00
Mike McCandless 64b86331c2 LUCENE-7626: IndexWriter no longer accepts broken offsets 2017-01-13 17:46:02 -05:00
Kevin Risden 737194712f Merge branch 'apache-https-master' into jira/solr-8593 2017-01-12 11:51:04 -05:00
Andrzej Bialecki 6c6c077435 SOLR-9947 Clean up metrics and SolrInfoMBean categories. Add a hierarhical view of
SolrInfoMBeans in JMX.
2017-01-12 13:14:12 +01:00
Shalin Shekhar Mangar d2664b1004 SOLR-9948: Add a way to configure granularity of metrics for http connections 2017-01-12 13:00:00 +05:30
Ishan Chattopadhyaya 04f45aab76 SOLR-9941: Clear deletes lists before log replay 2017-01-11 21:51:04 +05:30
Shalin Shekhar Mangar 2437204730 SOLR-9918: Remove unused import to make precommit happy 2017-01-11 12:20:42 +05:30
koji d66bfba5dc SOLR-9918: Add SkipExistingDocumentsProcessor that skips duplicate inserts and ignores updates to missing docs 2017-01-11 11:48:33 +09:00
Timothy Potter 118fc422d0 SOLR-9954: Prevent against failure during failed snapshot cleanup from swallowing the actual cause for the snapshot to fail. 2017-01-10 18:35:19 -07:00
Andrzej Bialecki 98422e0dc0 SOLR-9950 Check the difference in counts - meter may not be zero at this point. 2017-01-10 11:44:16 +01:00
Noble Paul 2048b82443 * SOLR-9886: Add a 'enable' flag to caches to enable/disable them 2017-01-10 21:05:38 +10:30
anshum 2b4e3dd941 SOLR-9644: Fixed SimpleMLTQParser and CloudMLTQParser to handle boosts properly and CloudMLTQParser to only extract actual values from IndexableField type fields to the filtered document. 2017-01-09 13:06:24 -08:00
Andrzej Bialecki b8383db06e SOLR-9856 Collect metrics for shard replication and tlog replay on replicas. 2017-01-09 21:00:00 +01:00
Chris Hostetter 1d7379b680 SOLR-9934: SolrTestCase.clearIndex has been improved to take advantage of low level test specific logic that clears the index metadata more completely then a normal *:* DBQ can due to update versioning 2017-01-09 09:54:56 -07:00
Alan Woodward 22940f5c49 LUCENE-7624: Move TermsQuery into core as TermInSetQuery 2017-01-09 14:25:05 +00:00
Christine Poerschke 5e9f9279cc SOLR-9932: add TestSolrCoreParser class 2017-01-09 13:05:43 +00:00
Andrzej Bialecki b9827bcba9 SOLR-9854 Relax test assertions. 2017-01-09 11:16:40 +01:00
Ishan Chattopadhyaya b017731203 SOLR-9777: IndexFingerprinting should use getCombinedCoreAndDeletesKey() instead of getCoreCacheKey() for per-segment caching 2017-01-09 08:33:06 +05:30
markrmiller 8bc151d1c6 SOLR-9902: Fix move impl. 2017-01-08 10:22:55 -05:00
markrmiller 25290ab5d6 SOLR-9859: Don't log error on NoSuchFileException (Cao Manh Dat) 2017-01-08 09:21:43 -05:00
David Smiley 570880d3ac SOLR-9935: Add hl.fragsize support when using the UnifiedHighlighter 2017-01-07 23:32:37 -05:00
Joel Bernstein aae4217abc SOLR-9944: Map the nodes function name to the GatherNodesStream 2017-01-07 22:17:44 -05:00
Steve Rowe d817fd43ec SOLR-9883: In example schemaless configs' default update chain, move the DUP to after the AddSchemaFields URP (which is now tagged as RunAlways), to avoid invalid buffered tlog entry replays. 2017-01-07 16:39:20 -05:00
Andrzej Bialecki e5f39f62f7 SOLR-9928 Unwrap Directory consistently whenever it's passed as an argument. 2017-01-07 13:24:22 +01:00
Alan Woodward 1a95c5acd0 LUCENE-7611: Suggester uses LongValuesSource in place of ValueSource 2017-01-07 11:52:25 +00:00
Alan Woodward da30f21f5d LUCENE-7617: Grouping collector API cleanup 2017-01-07 09:58:47 +00:00
Kevin Risden 3793eb5ec6 Merge branch 'apache-https-master' into jira/solr-8593 2017-01-06 15:47:02 -06:00
Kevin Risden 5f65487658 Add collection alias support for Calcite 2017-01-06 15:32:41 -06:00
Noble Paul cd4f908d5b SOLR-9503: NPE in Replica Placement Rules when using Overseer Role with other rules 2017-01-07 01:40:47 +10:30
yonik a810fb3234 SOLR-9931: return 0 for hll on field with no values in bucket 2017-01-05 17:02:24 -05:00
Shalin Shekhar Mangar 3eab1b4839 SOLR-9877: Add a null check for target 2017-01-05 23:08:39 +05:30
Andrzej Bialecki e5264c4895 SOLR-9928: MetricsDirectoryFactory::renameWithOverwrite incorrectly calls super (Mike Drob via ab) 2017-01-05 17:46:14 +01:00
Shalin Shekhar Mangar e5d28848d7 SOLR-9923: Remove solr.http metric group and merge its metrics to solr.node group 2017-01-05 20:25:23 +05:30
yonik 7ef6a81846 SOLR-9917: fix NPE in distrib percentiles when no values for field in bucket 2017-01-04 23:53:07 -05:00
Dennis Gove f9e3554838 SOLR-7495: Support Facet.field on a non-DocValued, single-value, int field 2017-01-04 22:25:29 -05:00
Dennis Gove bd39ae9c9d SOLR-3990: Moves getIndexSize() from ReplicationHandler to SolrCore 2017-01-04 13:48:44 -05:00
Christine Poerschke 2f62facc0b SOLR-9820: change PerSegmentSingleValuedFaceting.(contains|ignoreCase) from default to private visibility. (Jonny Marks via Christine Poerschke) 2017-01-04 16:16:00 +00:00
Joel Bernstein b8f4adfd57 SOLR-9919: random Streaming Expression is not registered in /stream or /graph handler 2017-01-04 10:33:29 -05:00
Mikhail Khludnev d3f83bb948 SOLR-7466: reverse-aware leading wildcards in complexphrase query parser 2017-01-04 18:11:02 +03:00
Shalin Shekhar Mangar 0452cb8c96 SOLR-9911: Add a way to filter metrics by prefix in the MetricsHandler API 2017-01-04 20:17:45 +05:30
Andrzej Bialecki 12d8492217 SOLR-9921 Separate SolrMetricProducer from SolrInfoMBean. 2017-01-04 15:31:31 +01:00
Joel Bernstein 5bbd4d6765 SOLR-8530: Add tests from the HavingStream 2017-01-03 15:05:28 -05:00
Kevin Risden 82350229c9 Merge branch 'apache-https-master' into jira/solr-8593 2017-01-03 12:47:42 -06:00
Noble Paul 5b1f6b2ba4 SOLR-9915: PeerSync alreadyInSync check is not backwards compatible and results in full replication during a rolling restart 2017-01-04 04:38:51 +10:30
Andrzej Bialecki 48ca9fc3f4 SOLR-9854: Collect metrics for index merges and index store IO. (squashed) 2017-01-03 12:12:01 +01:00
Shalin Shekhar Mangar 3c96396724 SOLR-9896: Instrument and collect metrics from query, update, core admin and core load thread pools 2017-01-03 15:52:01 +05:30
Noble Paul 33304f202c Merge remote-tracking branch 'origin/master' 2017-01-03 17:53:34 +10:30
Noble Paul 3988532d26 SOLR-9906-Use better check to validate if node recovered via PeerSync or Replication 2017-01-03 17:52:08 +10:30
Joel Bernstein 0999f6779a SOLR-9684: Rename schedule function to priority 2017-01-02 11:08:44 -05:00
anshum 93562da610 SOLR-9154: Fix DirectSolrSpellChecker to work when added through the Config API 2017-01-01 15:32:38 -08:00
Andrzej Bialecki fb2800b149 SOLR-9880 Fix concurrency bugs in tests. 2016-12-31 20:46:32 +01:00
Joel Bernstein f3fe487970 SOLR-9684: Add schedule Streaming Expression 2016-12-30 14:34:16 -05:00
Erick Erickson 3ccd15a765 SOLR-9843 Fix up DocValuesNotIndexedTest failures
(cherry picked from commit f6a3557)
2016-12-29 18:14:39 -08:00
Erick Erickson cb266d5fc7 SOLR-9891: Add mkroot command to bin/solr and bin/solr.cmd 2016-12-29 17:39:48 -08:00
Mikhail Khludnev 5d042d3a49 SOLR-9900: fix false positives on range queries with ReversedWildcardFilterFactory 2016-12-30 00:43:29 +03:00
Joel Bernstein 7dcb557ab7 SOLR-9905: Add NullStream to isolate the performance of the ExportWriter 2016-12-29 14:39:16 -05:00
Alan Woodward 87b6c2c8fc LUCENE-7607: FieldLeafComparator.setScorer() should throw IOException 2016-12-29 12:22:40 +00:00
Alan Woodward 12aff1cfcc SOLR-9132: Cut over some more tests 2016-12-29 12:22:40 +00:00
markrmiller fa959ad25d tests: speed up non nightly run 2016-12-29 06:42:14 -05:00
markrmiller c58eaa1a49 tests: speed up very slow test 2016-12-29 06:22:58 -05:00
markrmiller b4de6288fb tests: bump timeout 2016-12-29 05:59:25 -05:00
markrmiller 5f55ae0b73 tests: raise commit time to avoid false fails 2016-12-29 05:53:51 -05:00
markrmiller 197590a928 SOLR-9901: Implement move in HdfsDirectoryFactory. 2016-12-29 05:47:41 -05:00
markrmiller a5e5c4a043 tests: bump up fudge 2016-12-29 05:40:45 -05:00
markrmiller 2781145eb3 SOLR-9902: StandardDirectoryFactory should use Files API for it's move implementation. 2016-12-29 05:29:51 -05:00
Shalin Shekhar Mangar 662be93ed1 SOLR-9877: Null check for metric registry before attempting to use it 2016-12-29 09:57:03 +05:30
David Smiley 20362deb7e SOLR-9897: Add hl.requireFieldMatch=false support when using the UnifiedHighlighter 2016-12-28 22:57:44 -05:00
markrmiller 262049fc8f SOLR-9899: StandardDirectoryFactory should use optimizations for all FilterDirectorys not just NRTCachingDirectory. 2016-12-28 18:52:20 -05:00
markrmiller 96ed221fb6 SOLR-9859: replication.properties cannot be updated after being written and neither eplication.properties or ndex.properties are durable in the face of a crash. 2016-12-28 18:52:19 -05:00
Christine Poerschke e4ef4239f1 SOLR-9787, SOLR-9442: Replace json.nl=arrnvp with json.nl=arrntv (array of Name Type Value) style in JSONResponseWriter 2016-12-28 13:58:55 +00:00
Shalin Shekhar Mangar c2292faaf1 SOLR-9877: Remove assertion because many tests use UpdateShardHandler without metrics 2016-12-28 19:00:13 +05:30
David Smiley 9bd152804d SOLR-9897: re-indent UnifiedSolrHighlighter.java 2016-12-27 15:34:33 -05:00
Andrzej Bialecki 9d606d8ff0 SOLR-9880: Add Ganglia, Graphite and SLF4J metrics reporters. 2016-12-27 19:52:06 +01:00
Shalin Shekhar Mangar 254473bf33 SOLR-9877: Use instrumented http client and connection pool 2016-12-27 19:12:24 +05:30
Andrzej Bialecki 56476fb8c7 SOLR-9805 Fix assertion error on Windows where SystemLoadAverage is reported as -1.
Don't expose non-existent attributes.
2016-12-27 11:39:13 +01:00
Mikhail Khludnev 54d8574f96 SOLR-9448: providing a test for workaround of a differently named uniqueKey field 2016-12-25 10:36:31 +03:00
Andrzej Bialecki 687f03661d SOLR-9805 Fix NPE. 2016-12-23 23:01:47 +01:00
Christine Poerschke bc8936a567 SOLR-9660: rename GroupSpecification's sortSpecWithinGroup to withinGroupSortSpec (Judith Silverman via Christine Poerschke) 2016-12-23 16:01:05 +00:00
Mikhail Khludnev 393e36e1ce SOLR-9699: fixing exception on core status during concurrent reload 2016-12-22 08:18:38 +03:00
Christine Poerschke de0a046b21 SOLR-9758: refactor preferLocalShards implementation 2016-12-21 20:48:25 +00:00
Erick Erickson d9529529ee SOLR-9884: Add version to segments handler output 2016-12-21 10:41:27 -08:00
Andrzej Bialecki 80462df86e SOLR-9805 Don't use FileDescriptorRatioGauge - internally it uses reflection and
doesn't work under Java 9. Instead use this opportunity to implement a more
detailed OperatingSystemMetricSet. Add a unit test. Simplify some of the metric names.
2016-12-21 12:38:47 +01:00
Mikhail Khludnev f1e636f561 SOLR-9878: fix ReversedWildcardFilterFactory caching in query parser 2016-12-21 00:01:42 +03:00
Ishan Chattopadhyaya b5cfb17bd0 SOLR-9513: Fix test failure on Windows and Java9 by avoiding NPE in tearDownClass() 2016-12-21 00:42:16 +05:30
Steve Rowe 04108d9935 SOLR-9847: Stop blocking further schema updates while waiting for a pending update to propagate to other replicas. This reduces the likelihood of a (time-limited) distributed deadlock during concurrent schema updates. 2016-12-20 12:05:33 -05:00
Kevin Risden 918fd97fd0 Merge branch 'apache-https-master' into jira/solr-8593 2016-12-20 10:39:21 -06:00
Andrzej Bialecki b37a72d941 SOLR-4735 Use overridableRegistryName also for predefined shared registries.
Cleanup + javadocs.
2016-12-20 14:47:40 +01:00
Andrzej Bialecki 8bbdb6248c Squashed commit of branch 'feature/metrics', containing:
SOLR-4735: Improve Solr metrics reporting
    SOLR-9812: Implement /admin/metrics API
    SOLR-9805: Use metrics-jvm library to instrument jvm internals
    SOLR-9788: Use instrumented jetty classes
2016-12-20 09:31:24 +01:00
Tomas Fernandez Lobbe 84bbb8f797 SOLR-9874: CREATEALIAS should fail if target collections don't exist 2016-12-19 16:54:13 -08:00
Christine Poerschke 07609443c5 SOLR-9870: fix two typos in SolrCore.java (Mike Drob via Christine Poerschke) 2016-12-19 16:14:51 +00:00
Ishan Chattopadhyaya a1a8b2864e SOLR-9513: Generic Hadoop authentication plugins, GenericHadoopAuthPlugin and ConfigurableInternodeAuthHadoopPlugin 2016-12-19 20:45:04 +05:30
yonik c9522a3936 SOLR-9712: block when maxWarmingSearchers is exceeded instead of throwing exception, default to 1, remove from most configs 2016-12-16 11:46:48 -05:00
Joel Bernstein 1c2eabd4e9 SEARCH-8593: Add tests from the HavingStream 2016-12-16 11:27:56 -05:00
Kevin Risden 6c0cafedac Merge branch 'apache-https-master' into jira/solr-8593 2016-12-15 15:34:57 -06:00
Joel Bernstein 37fdc37fc3 SOLR-8593: Refactoring and adding aggregationMode=facet methods 2016-12-15 16:12:08 -05:00
Chris Hostetter 6525bb56f0 SOLR-8959: Refactored TestSegmentSorting out of TestMiniSolrCloudCluster 2016-12-14 13:18:56 -07:00
Varun Thacker 512374384a SOLR-9844: Display fc total size only when field entries asked for 2016-12-14 10:52:26 -08:00
markrmiller 7dec783b28 SOLR-9846: OverseerAutoReplicaFailoverThread can take too long to stop and leak out of unit tests. 2016-12-14 12:57:21 -05:00
markrmiller e82399d067 SOLR-1953: It may be possible for temporary files to accumulate until the Solr process is shut down. 2016-12-14 11:16:50 -05:00
Erick 8c79ab2649 SOLR:9823: CoreContainer incorrectly setting MDCLoggingContext for core 2016-12-12 18:43:30 -08:00
Varun Thacker fecbbe081f SOLR-9707: Don't forward DeleteByQuery requests to down replicas 2016-12-12 15:28:22 -08:00
Varun Thacker 39ba13046b SOLR-9844: Improve FieldCache usage api response formatting and show total size information 2016-12-12 12:46:57 -08:00
Erick Erickson d75abe1a30 SOLR-9843: Fix up DocValuesNotIndexedTest failures. Debugging code 2016-12-10 14:03:15 -08:00
yonik 1d2e440a8f SOLR-9837: fix redundant calculation of docsWithField for numeric fields in field cache 2016-12-08 18:29:07 -05:00
markrmiller 1055209940 SOLR-9834: A variety of spots in the code can create a collection zk node after the collection has been removed. 2016-12-08 12:03:55 -05:00
Christine Poerschke bfc3690d52 SOLR-8542: couple of tweaks (Michael Nilsson, Diego Ceccarelli, Christine Poerschke)
* removed code triplication in ManagedModelStore
* LTRScoringQuery.java tweaks
* FeatureLogger.makeFeatureVector(...) can now safely be called repeatedly (though that doesn't happen at present)
* make Feature.FeatureWeight.extractTerms a no-op; (OriginalScore|SolrFeature)Weight now implement extractTerms

* LTRThreadModule javadocs and README.md tweaks

* add TestFieldValueFeature.testBooleanValue test; replace "T"/"F" magic string use in FieldValueFeature
* add TestOriginalScoreScorer test; add OriginalScoreScorer.freq() method
* in TestMultipleAdditiveTreesModel revive dead explain test
2016-12-07 20:46:42 +00:00
yonik ca5e736db1 SOLR-9822: speed up single-valued string fieldcache counting in dv facet processor 2016-12-07 11:09:55 -05:00
Chris Hostetter 8b98b158ff SOLR-5043: New solr.dns.prevent.reverse.lookup system property that can be used to prevent long core (re)load delays on systems with missconfigured hostname/DNS 2016-12-06 14:47:03 -07:00
Steve Rowe bf3a3137be SOLR-9832: Schema modifications are not immediately visible on the coordinating node 2016-12-06 13:11:36 -05:00
Ishan Chattopadhyaya e64bcb37ff SOLR-9616 Solr throws exception when expand=true on empty index 2016-12-01 00:46:58 +05:30
Christine Poerschke a7fa920b52 SOLR-9660: in GroupingSpecification factor [group](sort|offset|limit) into [group](sortSpec) (Judith Silverman, Christine Poerschke) 2016-11-29 22:15:30 +01:00
Andrzej Bialecki 590d31f311 SOLR-9768 RecordingJsonParser produces incomplete json (Wojciech Stryszyk via ab) 2016-11-29 21:12:49 +01:00
Christine Poerschke 02c687758e SOLR-9783: (Search|Top)Group[s]ShardResponseProcessor.process: turned sortWithinGroup null check into assert.
Also sort.equals tweak in (grouping) QueryCommand.create method.
2016-11-29 14:37:12 +01:00
Noble Paul 70b358960d SOLR-9546: remove unnecessary boxing 2016-11-29 18:02:59 +05:30
Kevin Risden 05a6170d12 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-28 11:26:16 -06:00
Tommaso Teofili c36ec0b75e SOLR-8871 - removed suppress for forbidden API, added locale to toUpperCase 2016-11-28 09:22:36 +01:00
Erick Erickson 500c2befe9 SOLR-5260: Faceting on a field in SolrCloud with docValues=true and indexed=false fails, test fix 2016-11-26 22:12:16 -08:00
Erick Erickson e4733f696e SOLR-5260: Faceting on a field in SolrCloud with docValues=true and indexed=false fails, test fix 2016-11-26 22:11:30 -08:00
Erick Erickson ca6626604b SOLR-5260: Faceting on a field in SolrCloud with docValues=true and indexed=false fails 2016-11-26 12:36:57 -08:00
Noble Paul 23921064e9 SOLR-9784: deprecated uploadconfig 2016-11-26 12:54:48 +05:30
Shalin Shekhar Mangar eded69ba8f SOLR-9433: Ignore testDeleteInstanceDirAfterCreateFailure on windows 2016-11-26 01:01:22 +05:30
David Smiley 9b4b120aba fix bad xml processing instruction placement 2016-11-24 22:24:35 -05:00
David Smiley 4314c51c66 SOLR-9708: Added UnifiedSolrHighlighter. Added hl.method=original|fastVector|postings|unified 2016-11-24 19:36:07 -05:00
Tommaso Teofili a4573fe7f4 SOLR-8871 - added suppress forbidden for toUpperCase usage 2016-11-25 01:12:03 +01:00
Tommaso Teofili 96489d2384 SOLR-8871 - adjusted header positioning 2016-11-24 23:46:20 +01:00
Tommaso Teofili 5ad741eef8 SOLR-8871 - various improvements to ClassificationURP 2016-11-24 23:43:57 +01:00
Noble Paul 41d7b24574 SOLR-9721: javabin Tuple parser for streaming and other end points 2016-11-24 09:00:21 +05:30
Shalin Shekhar Mangar f8fa2e998d SOLR-8785: Use per-second rates for consistency in all stats outputs 2016-11-23 23:20:48 +05:30
Shalin Shekhar Mangar dab2e24656 SOLR-8785: Convert rates to be per minute from the default per second rates reported by the metrics library 2016-11-23 23:11:36 +05:30
yonik 7e6e68900b SOLR-9786: set filter for join query parser 2016-11-22 22:44:25 -05:00
yonik 3b4cc1bd1f SOLR-9786: set filter flag for more parsers 2016-11-22 16:30:08 -05:00
yonik bf9db95f21 SOLR-9786: FieldType.getSetQuery, QParser.flags/isFilter, solr query parser use getSetQuery when appropriate and other optimizations 2016-11-22 12:33:20 -05:00
Shalin Shekhar Mangar ff6da66601 SOLR-8785: Use Dropwizard Metrics library for core metrics 2016-11-22 14:37:33 +05:30
Kevin Risden de3ba418a5 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-21 16:39:06 -06:00
Kevin Risden 750cf6d7a5 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-18 10:42:14 -06:00
Christine Poerschke f42cc2a8c3 SOLR-9782: for json.nl expand test coverage and comments w.r.t. NamedList(null=null) 2016-11-18 15:57:35 +00:00
Alan Woodward 157c0bca92 Log root cause error when directories can't be deleted on core unload 2016-11-18 13:45:29 +00:00
yonik 738198ef34 SOLR-9772: reuse comparator when deriving fieldSortValues 2016-11-17 10:56:37 -05:00
Erick Erickson e402a304bf SOLR-9606: Change hard-coded keysize from 512 to 1024 2016-11-16 13:33:18 -08:00
markrmiller 53a0748f43 SOLR-9284: Reduce off heap cache size. 2016-11-16 10:11:41 -05:00
Kevin Risden bda84d8442 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-15 21:14:16 -06:00
markrmiller 358c164620 SOLR-9284: Reduce off heap cache size and fix test asserts. 2016-11-15 11:05:41 -05:00
Kevin Risden 3c62f81b79 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-15 09:40:50 -06:00
markrmiller 0325722e67 SOLR-9284: The HDFS BlockDirectoryCache should not let it's keysToRelease or names maps grow indefinitely. 2016-11-15 05:18:35 -05:00
Shalin Shekhar Mangar 0d290ae136 SOLR-9736: Solr resolves the collection name against the first available leader or first replica of the first slice 2016-11-15 14:18:43 +05:30
Shalin Shekhar Mangar 487b0976eb SOLR-9366: Limit memory consumed by FastLRUCache with a new 'maxRamMB' config parameter 2016-11-15 10:59:58 +05:30
Steve Rowe 76b439a0bd SOLR-9751: PreAnalyzedField can cause managed schema corruption 2016-11-14 19:17:57 -05:00
Kevin Risden 6da7e7b0b1 Merged Cao Manh Dat changes 2016-11-14 10:56:02 -06:00
Kevin Risden 99a6746011 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-14 10:06:29 -06:00
Erick Erickson 4a31b29cb0 SOLR-9166: Export handler returns zero for numeric fields that are not in the original doc 2016-11-14 07:19:28 -08:00
Kevin Risden c3400e8a2e Merge branch 'apache-https-master' into jira/solr-8593 2016-11-10 16:15:06 -05:00
Christine Poerschke 6c25adb119 SOLR-8332: Factor HttpShardHandler[Factory]'s url shuffling out into a ReplicaListTransformer class.
(Christine Poerschke, Noble Paul)
2016-11-09 09:46:14 +00:00
yonik 11840469d9 SOLR-9740: fix macro expansion of multi-valued parameters 2016-11-08 18:09:43 -05:00
yonik b02e7a902e SOLR-9038: add snapshotscli.sh and supporting code 2016-11-08 13:28:35 -05:00
yonik cfcf4081fc SOLR-9519: recurse sub-facets of empty buckets if they can widen domain again 2016-11-08 12:10:53 -05:00
Noble Paul 46fad72a9b Merge remote-tracking branch 'origin/master' 2016-11-08 20:06:58 +05:30
Noble Paul bb25214d44 SOLR-9739: JavabinCodec implements PushWriter interface 2016-11-08 20:06:28 +05:30
Christine Poerschke a61286134a Remove not actually needed JSONWriter.writeArray override. 2016-11-08 13:29:45 +00:00
Christine Poerschke f203c7c816 QueryComponent.mergeIds tweak to local 'queue' variable. 2016-11-08 11:41:49 +00:00
Noble Paul 6abfad0234 SOLR-9717: Refactor '/export' to not hardcode the JSON output and to use an API 2016-11-08 16:37:46 +05:30
Noble Paul ef074a61f8 SOLR-9717: Refactor '/export' to not hardcode the JSON output and to use an API 2016-11-08 16:37:08 +05:30
Christine Poerschke cbf8235e57 SOLR-9726: Reduce number of lookupOrd calls made by the DocValuesFacets.getCounts method. (Jonny Marks via Christine Poerschke) 2016-11-07 16:06:25 +00:00
yonik 4b3e7f2fe2 SOLR-9682: add param query type to facet filter 2016-11-05 15:24:57 -04:00
Shalin Shekhar Mangar 1f1990d8be SOLR-9716: RecoveryStrategy sends prep recovery command without setting read time out which can cause replica recovery to hang indefinitely on network partitions 2016-11-05 12:46:42 +05:30
Christine Poerschke 358bdd490b SOLR-9720: tweak JSONWriter.writeArray 2016-11-04 20:20:50 +00:00
markrmiller 1381dd9287 SOLR-9055: Make collection backup/restore extensible.
- Introduced a parameter for the Backup operation to specify index backup strategy.
- Introduced two strategies for backing up index data.
  - One using core Admin API (BACKUPCORE)
  - Other skipping the backup of index data altogether. This is useful when
    the index data is copied via an external mechanism in combination with named
    snapshots (Please refer to SOLR-9038 for details)
  - In future we can add additional implementations of this interface (e.g. based on HDFS snapshots etc.)
- Added a backup property to record the Solr version. This helps to check the compatibility
  of backup with respect to the current version during the restore operation. This
  compatibility check is not added since its unclear what the Solr level compatibility guidelines
  are. But at-least having version information as part of the backup would be very useful.
2016-11-04 10:41:52 -04:00
Kevin Risden 1489fb936f Merge branch 'apache-https-master' into jira/solr-8593 2016-11-03 19:04:31 -05:00
Kevin Risden cd9a318318 Improve rules for Sort and Filter 2016-11-03 19:03:20 -05:00
Joel Bernstein 84171ecada Remove spurious imports 2016-11-03 18:47:50 -04:00
Kevin Risden 4275bc7124 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-03 10:23:30 -05:00
Kevin Risden 0188345e84 Make SQLHandlerStream extend JDBCStream 2016-11-03 10:22:20 -05:00
Shalin Shekhar Mangar 78b768f2a4 SOLR-9720: Fix for JSONWriterTest 2016-11-03 20:21:13 +05:30
Kevin Risden 5f3b4237e0 Merge branch 'apache-https-master' into jira/solr-8593 2016-11-03 09:40:29 -05:00
jdyer1 213a2a1791 SOLR-5344: relax the test requirements for estimated hit counts 2016-11-03 08:38:59 -05:00
Noble Paul 1f595a20a2 SOLR-9720: Refactor Responsewriters to remove dependencies on TupleStream, Tuple, Explanation 2016-11-03 14:28:15 +05:30
Noble Paul 940a337105 close() not implemented 2016-11-03 14:09:34 +05:30
jdyer1 4a12a260a8 Revert "SOLR-9710: fix test bug"
This reverts commit be772dbd48.
2016-11-02 16:06:27 -05:00
jdyer1 be772dbd48 SOLR-9710: fix test bug 2016-11-02 10:07:55 -05:00
Christine Poerschke d0e32f3e5c SOLR-9709: add json.nl=map example comment, expand json.nl test coverage. 2016-11-02 12:30:40 +00:00
Kevin Risden 28fb5855f4 Upgrade Avatica and Calcite. Fix NPE bug 2016-11-01 11:19:48 -05:00
Alan Woodward b6ff3fdace Add some debugging to HdfsRecoveryZkTest 2016-11-01 16:10:58 +00:00
yonik 359f981b0e SOLR-9681: move "filter" inside "domain" block 2016-11-01 12:01:04 -04:00
Kevin Risden 3856ce4b5c Merge branch 'apache-https-master' into jira/solr-8593 2016-11-01 10:58:30 -05:00