Ilan Ginzburg
3e42286e9e
SOLR-14546: OverseerTaskProcessor can process messages out of order ( #1561 )
...
SOLR-14546: OverseerTaskProcessor can process messages out of order
2020-06-23 16:16:46 +02:00
Tomas Fernandez Lobbe
a1be1de67e
SOLR-14554: Let Solr use WAND algorithm when scores are requested ( #1566 )
...
Make MaxScoreCollector set minCompetitiveScore
2020-06-22 16:50:54 -07:00
David Smiley
aa5b26f6c4
Remove some needless toAbsolutePath calls ( #1582 )
2020-06-21 16:28:25 -04:00
Erick Erickson
84729edbba
SOLR-14574: Fix or suppress warnings in solr/core/src/test (part 2)
2020-06-18 11:12:50 -04:00
Jan Høydahl
936b9d770e
SOLR-14561 CoreAdminAPI's parameters instanceDir and dataDir are now validated ( #1572 )
2020-06-18 16:13:52 +02:00
Tomas Fernandez Lobbe
cfae052973
SOLR-14577: Return BAD REQUEST when field is missing in terms QP ( #1588 )
2020-06-17 16:02:48 -07:00
Erick Erickson
b01e249c9e
SOLR-14574: Fix or suppress warnings in solr/core/src/test (part 1)
2020-06-17 17:51:41 -04:00
Eric Pugh
207efbceeb
SOLR-14572 document missing SearchComponents ( #1581 )
...
* Add an example explaining how to use
* fix up JavaDoc formatting
* add missing SearchComponents that ship with Solr, and point to external site with components.
* fix path
* simplify page layout by consolidating to lists
* add missing components that are documented elsewhere in refguide
* try to get pathing to pass precommit
* remove mention of solr.cool, in favour of a seperate PR that handles it differently
2020-06-17 11:01:49 -04:00
Erick Erickson
6357b3bdaa
SOLR-14573: Fix or suppress warnings in solrj/src/test
2020-06-16 13:27:53 -04:00
Jason Gerlowski
a7792b129b
SOLR-14558: Record all log lines in SolrLogPostTool ( #1570 )
2020-06-16 08:21:24 -04:00
Nazerke Seidan
2da71c2a40
SOLR-14384: SolrRequestInfo now stacks internally.
...
* "set" now MUST pair with a "clear"
* fixes SolrIndexSearcher.warm which should have re-instated previous SRI
* cleans up some SRI set/clear users
Closes #1527
2020-06-16 01:46:50 -04:00
Gus Heck
b8ff4c7636
Refactor for code clarity, add some comments.
2020-06-13 12:17:48 -04:00
Erick Erickson
a41aa20b0a
SOLR-14564: Fix or suppress remaining warnings in solr/core
2020-06-13 11:00:58 -04:00
Michael Sokolov
26075fc1dc
LUCENE-9394: fix and suppress warnings ( #1563 )
...
* LUCENE-9394: fix and suppress warnings in lucene/*
* Change type of ValuesSource context from raw Map to Map<Object, Object>
2020-06-12 07:25:31 -04:00
Erick Erickson
ff391448d1
SOLR-14559: Fix or suppress warnings in solr/core/src/java/org/apache/solr/util, response, cloud, security, schema, api
2020-06-11 18:01:29 -04:00
Mike Drob
fb98f30a61
SOLR-8392 type safety on SolrParam ( #1556 )
2020-06-11 14:21:54 -05:00
Tomas Fernandez Lobbe
9728f4ef20
SOLR-14552: Add BMW support to ReRank queries ( #1559 )
2020-06-10 14:59:50 -07:00
Munendra S N
53040984f6
SOLR-14345: return correct err msg when non-binary resp parser is used
...
* This adds support to parse error properly in case of non-binary
resp parser but the problem still exists for noopResponseParser
2020-06-10 19:11:52 +05:30
Munendra S N
001c4e2ddd
SOLR-14550: fix duplicate issue in Atomic updates with add-distinct
...
* When add-distinct value is list, it can end up adding duplicate
entries
2020-06-10 18:59:44 +05:30
Mike Drob
8ee6e6797b
SOLR-14548 Address warning: static member should be qualified by type… ( #1555 )
2020-06-09 15:33:37 -05:00
murblanc
1ab9b811c6
SOLR-12823: remove /clusterstate.json ( #1528 )
...
* SOLR-12823: remove /clusterstate.json
Remove all code dealing with Zookeeper's /clusterstate.json, remove Collection API's MIGRATESTATEVERSION, remove legacyCloud option.
Also fixes SOLR-11877 DocCollection.getStateFormat is buggy
Co-authored-by: Ilan Ginzburg <iginzburg@salesforce.com>
2020-06-09 13:59:17 -05:00
Erick Erickson
4dcdd750f2
SOLR-14545: Fix or suppress warnings in apache/solr/update
2020-06-08 19:03:34 -04:00
Andrzej Bialecki
30924f23d6
SOLR-14470: Add streaming expressions to /export handler.
2020-06-08 16:03:07 +02:00
Jan Høydahl
3e538005ec
SOLR-9679: Harden BasicAuthOnSingleNodeTest#testDeleteSecurityJsonZnode
2020-06-08 10:46:53 +02:00
Erick Erickson
04ba04c29d
SOLR-14543: Fix or suppress warnings in apache/solr/search
2020-06-07 21:20:25 -04:00
Jan Høydahl
f404a38fa6
SOLR-9679: Exception when removing zk node /security.json ( #1403 )
2020-06-08 01:11:56 +02:00
Gus Heck
ae6fe8d826
Revert "Refactor for code clarity, add some comments."
...
This reverts commit ebd40918
for which I apparently ran the tests one less time than I needed to
2020-06-07 13:02:45 -04:00
Gus Heck
ebd409187a
Refactor for code clarity, add some comments.
2020-06-07 12:24:17 -04:00
Gus Heck
14a988cc2a
Legibility: Only get the value of node from messages once.
2020-06-07 12:20:27 -04:00
mrsoong
291e358a3d
SOLR-13203: return 400 on invalid dynamic field for edismax uf ( #1502 )
2020-06-07 17:42:25 +05:30
Erick Erickson
3cbb1e0b4f
SOLR-14480: Fix or suppress warnings in solr/cloud/api
2020-06-06 18:11:37 -04:00
Erick Erickson
ae3de57b33
SOLR-14538: Fix or suppress remaining warnings in apache/solr/handler
2020-06-05 15:22:44 -04:00
Chris Hostetter
924e7d5cd6
Assume the 'javascript' engine is supported before trying test, to prevent spurious failures on systems w/o javascript engine
2020-06-05 11:39:47 -07:00
Chris Hostetter
b055c7489f
SOLR-14467: Fix relatedness() stat in json.facets to no longer cause server errors (or nonsense results) when combined with allBuckets:true
2020-06-05 08:58:59 -07:00
Erick Erickson
0c4d8fb116
SOLR-14535: Fix or suppress warnings in apache/solr/handler/component, sql and loader
2020-06-04 17:49:46 -04:00
murblanc
dec6922528
SOLR-14524: Harden MultiThreadedOCPTest testFillWorkQueue() ( #1548 )
...
Make MultiThreadedOCPTest.testFillWorkQueue() less vulnerable to timing issues
Co-authored-by: Ilan Ginzburg <iginzburg@salesforce.com>
2020-06-04 16:37:24 -05:00
Erick Erickson
bab4fccba2
SOLR-14533: Fix or suppress warnings in solr/handler/admin
2020-06-04 07:02:55 -04:00
Chris Hostetter
fb58f433fb
SOLR-14520: Fixed server errors from the json.facet allBuckets:true option when combined with refine:true
2020-06-03 09:09:46 -07:00
David Smiley
2af82c83d9
SOLR-11334: Split some field lists better
...
Used by HighlightComponent and TermVectorComponent
Used to produce an empty string on comma-space, leading to an exception.
2020-06-02 22:57:37 -04:00
David Smiley
a06f57c7e1
SOLR: Use absolute paths for server paths. ( #1546 )
...
CoreContainer's paths and SolrCore instanceDir are now absolute; mandated. This avoids bugs when the current working directory of the server is abnormal (perhaps running in tests or some IDE configs).
2020-06-02 22:36:52 -04:00
Erick Erickson
db9cd0cebb
SOLR-14526: fix or suppress warnings in apache/solr/core
2020-06-02 09:08:11 -04:00
Dawid Weiss
f59f8fd77b
Add license file to ShardRequestor.
2020-06-02 13:54:41 +02:00
noble
502f62cc9c
SOLR-14531: Refactor out internode requests from HttpShardHandler
2020-06-02 16:00:58 +10:00
noble
552f1940af
SOLR-14525: Test failure
2020-06-02 15:52:49 +10:00
Noble Paul
e841d7625c
SOLR-14525 For components loaded from packages SolrCoreAware, ResourceLoaderAware are not honored ( #1547 )
2020-06-02 10:01:39 +10:00
Yuriy Koval
cb7e948d2e
SOLR-14517 Obey "mm" local param on edismax queries with operators ( #1540 )
...
Prior to this commit query parsing looked for mm in query-params, but neglected to check local params for a subset of queries.
2020-06-01 08:13:11 -04:00
Ishan Chattopadhyaya
1dda684876
SOLR-14491: Intercepting internode requests in KerberosPlugin when HTTP/2 client is used
2020-06-01 13:37:12 +05:30
Erick Erickson
e1cc7a75c7
SOLR-14519:Fix or suppress warnings in solr/cloud/autoscaling
2020-05-31 15:07:06 -04:00
David Smiley
a6a02ac0e5
SOLR-14494: Refactor BlockJoin to not use Filter ( #1523 )
...
Note: henceforth the perSegFilter cache will internally have values of type BitSetProducer instead of Filter.
2020-05-29 21:44:44 -04:00
Mikhail Khludnev
2c8cfa678b
SOLR-14419: adding {param:ref} to Query DSL
2020-05-28 23:51:53 +03:00
David Smiley
596c64a01e
SOLR-11934: REVERT addition of collection to log message
...
This reverts commit e4dc9e94
2020-05-28 11:31:11 -04:00
Erick Erickson
07a9b5d1b0
SOLR-14474: Fix remaining auxilliary class warnings in Solr
2020-05-27 12:06:29 -04:00
Jason Gerlowski
46ca768687
SOLR-14280: SolrConfig error handling improvements
2020-05-26 08:32:06 -04:00
Erick Erickson
675956c004
SOLR-14495: Fix or suppress warnings in solr/search/function
2020-05-22 13:40:20 -04:00
Jason Gerlowski
78f4a5b8ff
SOLR-14443: Make SolrLogPostTool resilient to odd requests ( #1525 )
2020-05-22 10:08:26 -04:00
Alan Woodward
de2bad9039
LUCENE-9330: Make SortFields responsible for index sorting and serialization ( #1440 )
...
This commit adds a new class IndexSorter which handles how a sort should be applied
to documents in an index:
* how to serialize/deserialize sort info in the segment header
* how to sort documents within a segment
* how to sort documents from merging segments
SortField has a getIndexSorter() method, which will return null if the sort cannot be used
to sort an index (eg if it uses scores or other query-dependent values). This also requires a
new Codec as there is a change to the SegmentInfoFormat
2020-05-22 13:33:06 +01:00
Shalin Shekhar Mangar
338671e511
SOLR-13325: Add a collection selector to ComputePlanAction ( #1512 )
...
ComputePlanAction now supports a collection selector of the form `collections: {policy: my_policy}` which can be used to select multiple collections that match collection property/value pairs. This is useful to maintain a whitelist of collections for which actions should be taken without needing to hard-code the collection names. The collection hints are pushed down to the policy engine so operations for non-matching collections are not computed at all. The AutoAddReplicasPlanAction now becomes a thin shim over ComputePlanAction and simply adds a collection selector for the collection property autoAddReplicas=true.
2020-05-22 10:36:27 +05:30
David Smiley
3fba3daa95
SOLR-14461: Replace commons-fileupload with Jetty ( #1490 )
2020-05-22 00:34:48 -04:00
Tomas Fernandez Lobbe
3ca7628c43
SOLR-13289: Rename minExactHits to minExactCount ( #1511 )
2020-05-21 16:42:37 -07:00
Tomas Fernandez Lobbe
5e9483e788
SOLR-13289: Use the final collector's scoreMode ( #1517 )
...
This is needed in case a PostFilter changes the scoreMode
2020-05-21 15:48:37 -07:00
Andrzej Bialecki
0728ef06e9
SOLR-14504: ZkController LiveNodesListener has NullPointerException in startup race.
2020-05-21 18:17:47 +02:00
Erick Erickson
9c066f60f1
SOLR-14482: Fix or suppress warnings in solr/search/facet
2020-05-21 08:59:32 -04:00
Chris Hostetter
28209cb8b1
SOLR-14492: Fix ArrayIndexOutOfBoundsException in json.facet 'terms' when FacetFieldProcessorByHashDV is used with aggregations over multivalued numeric fields
...
SOLR-14477: Fix incorrect 'relatedness()' calculations in json.facet 'terms' when 'prefix' option is used
2020-05-20 11:16:05 -07:00
Andrzej Bialecki
57b7d8a8db
SOLR-14486: Autoscaling simulation framework should stop using /clusterstate.json.
2020-05-19 18:52:47 +02:00
Joel Bernstein
16aad55369
SOLR-14476: Add percentiles and standard deviation aggregations to stats, facet and timeseries Streaming Expressions
2020-05-19 09:10:23 -04:00
murblanc
d2825282c9
SOLR-14473: Improve Overseer Javadoc ( #1510 )
...
Co-authored-by: Ilan Ginzburg <iginzburg@salesforce.com>
2020-05-18 15:21:16 -05:00
Uwe Schindler
06df50e759
LUCENE-9321: Port markdown task to Gradle ( #1477 )
2020-05-17 14:46:26 +02:00
David Smiley
803aad9175
SOLR-8394: /admin/luke didn't computeindexHeapUsageBytes ( #1497 )
...
Needed to call FilterLeafReader.unwrap.
Co-authored-by: igiguere <igiguere@opentext.com>
2020-05-15 14:02:49 -04:00
erick
34e5e6c127
SOLR-14485: Fix or suppress 11 resource leak warnings in apache/solr/cloud
2020-05-15 13:39:51 -04:00
Joel Bernstein
fe2135963c
SOLR-14407: Handle shards.purpose in the postlogs tool
2020-05-14 09:52:04 -04:00
David Smiley
4b9808a03d
SOLR-14351: commitScheduler was missing MDC logging ( #1498 )
2020-05-13 20:58:07 -04:00
Erick Erickson
687dd42f57
SOLR-14475: Fix deprecation warnings resulting from upgrading commons cli to 1.4
2020-05-13 19:30:57 -04:00
Jan Høydahl
1e449e3d04
SOLR-12131: ExternalRoleRuleBasedAuthorizationPlugin ( #341 )
2020-05-13 23:29:33 +02:00
Andrzej Bialecki
dd4fa8f2f8
SOLR-14423: Additional fixes for object caching and incorrect test assumptions.
2020-05-13 19:37:12 +02:00
Erick Erickson
e4dc9e9401
SOLR-11934: Visit Solr logging, it's too noisy. (added collection to log messages 'Registered new searcher...'
2020-05-13 12:34:45 -04:00
Samuel García Martínez
adddab9d14
SOLR-14456: Fix Content-Type header forwarding on compressed requests ( #1480 )
...
Co-authored-by: Samuel García Martínez <samuelgma@inditex.com>
2020-05-12 17:50:07 -04:00
Andrzej Bialecki
4680e9245f
SOLR-14423: Move static SolrClientCache from StreamHandler to CoreContainer for wider reuse and better life-cycle management.
2020-05-12 21:44:00 +02:00
Jan Høydahl
6971244134
SOLR-14463: Solr Admin ZkStatus page now works with ZK 3.6 ( #1499 )
2020-05-12 10:57:33 +02:00
Erick Erickson
a0e158c3d0
SOLR-14266: Fix or suppress 14 resource leak warnings in apache/solr/core
2020-05-11 21:55:29 -04:00
Erick Erickson
15be0db586
SOLR-11934: Visit Solr logging, it's too noisy.
2020-05-09 12:49:59 -04:00
Tomas Fernandez Lobbe
d9f9d6dd47
SOLR-13289: Add Support for BlockMax WAND ( #1456 )
...
Add support for BlockMax WAND via a minExactHits parameter. Hits will be counted accurately at least until this value, and above that, the count will be an approximation. In distributed search requests, the count will be per shard, so potentially the count will be accurately counted until numShards * minExactHits. The response will include the value numFoundExact which can be true (The value in numFound is exact) or false (the value in numFound is an approximation).
2020-05-08 14:25:47 -07:00
Mike Drob
03a60231e8
SOLR-14465: Solr query handling code catches FuzzyTermsException
...
This reverts commit 7ea7ed72ac
.
2020-05-07 17:49:28 -05:00
Mike Drob
31b350e804
SOLR-14426 Move auxiliary classes to nested classes ( #1487 )
2020-05-07 10:04:06 -05:00
Marcus
6f775bfa69
SOLR-14014 Allow disabling AdminUI at launch ( #1471 )
2020-05-04 16:51:31 -05:00
Christine Poerschke
b81083142c
SOLR-14400: SuggestComponent can use parent class' SolrMetricsContext
2020-05-04 16:45:43 +01:00
Christine Poerschke
9c3b2b6654
SOLR-14400: DirectUpdateHandler2 no longer needs to override getSolrMetricsContext
2020-05-04 16:45:28 +01:00
Andrzej Bialecki
5eea489e44
SOLR-14431: SegmentsInfoRequestHandler does not release IndexWriter.
2020-05-04 14:44:01 +02:00
David Smiley
e7c7a62a84
SOLR-14351: Oops; add back null check for ZkController
2020-05-03 10:23:16 -04:00
Mike Drob
242f48a1ca
SOLR-14440 Cert Auth plugin
2020-05-01 13:11:01 -05:00
Mike Drob
a5c73d39d3
Revert "SOLR-14440 CertAuth plugin ( #1463 )"
...
Another commit accidentally snuck in
This reverts commit 7b289d6185
.
2020-05-01 13:09:28 -05:00
Mike Drob
7b289d6185
SOLR-14440 Cert Auth plugin ( #1463 )
2020-05-01 12:47:12 -05:00
Erick Erickson
217c2faa2c
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-05-01 13:06:57 -04:00
Erick Erickson
9ae05e9b4f
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-04-30 19:50:31 -04:00
Ishan Chattopadhyaya
9ed5b6a218
SOLR-14237: Fix HDFS nightly test failure
2020-04-30 21:04:08 +05:30
Ishan Chattopadhyaya
561e36660a
SOLR-14237: A new panel with security info in admin UI's dashboard
2020-04-29 22:44:19 +05:30
Ishan Chattopadhyaya
0c682d0e9a
SOLR-14237: A new panel with security info in admin UI's dashboard
2020-04-29 22:34:13 +05:30
Erick Erickson
6e96d01efc
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-04-29 10:56:54 -04:00
David Smiley
2dd92fc052
Solr GraphTermsQParser simplifications ( #1405 )
...
No WeightOrDocIdSet; no override of bulkScorer (needless)
2020-04-28 17:32:27 -04:00
Christine Poerschke
2d074399e8
Include time unit in SolrCLI's TimeoutException wording.
2020-04-28 17:19:05 +01:00
David Smiley
daeaffa9d7
SOLR-14433: Improve SolrShardReporter default metrics list ( #1453 )
...
Now includes TLOG and UPDATE./update.
These were small bugs to begin with but from user perspective this is an incremental improvement.
2020-04-27 23:48:34 -04:00