Commit Graph

32589 Commits

Author SHA1 Message Date
Munendra S N 2d2f4b9521 SOLR-11706: add support for aggregation on multivalued fields
* min, max, sum, sumsq, avg, stddev, variance, percentile aggregations
  in JSON facets now supports multivalued fields
2019-12-05 11:01:50 +05:30
Robert Muir 5325c29cf9 SOLR-14015: remove blanket filesystem read access from solr-tests.policy
Restrict this to only minimal paths like lucene. It is the defense for directory traversal attacks.
It will also help find bad bugs where things are reading filesystem in the wrong locations.
2019-12-05 00:06:57 -05:00
Andrzej Bialecki 6ebe4d16d2 SOLR-13981: Remove unused DistributedQueue interface. (Andras Salamon) 2019-12-04 11:14:07 +01:00
Anshum Gupta b4375cc235
SOLR-13998: Add thread safety annotations to classes (#1053) (#1057) 2019-12-04 12:09:22 +05:30
Ishan Chattopadhyaya 8a7d875912 Add back-compat indices for 8.3.1 2019-12-04 10:15:51 +05:30
Ishan Chattopadhyaya fcf4d400c6 Add bugfix version 8.3.1 2019-12-04 10:08:54 +05:30
Robert Muir 57cce89397 SOLR-14001: fix HDFS jaas on 32bit, unix, old jdk, etc 2019-12-03 23:13:10 -05:00
Robert Muir 11f1c958eb SOLR-14002: fix another static leak in test 2019-12-03 22:44:07 -05:00
Robert Muir 08720cf5c0 SOLR-14000: clean up more static field leaks in tests
On windows, these objects can't be inspected due to security restrictions. So the test runner fails the tests since it does not know how big the leak is.
2019-12-03 18:53:43 -05:00
Jeff dc15f2e563 SOLR-13926: javadocs on CompositeIdRouter
Closes #1009

(cherry picked from commit 16f793915e)
2019-12-03 17:45:09 -05:00
Robert Muir 72b86bc222 fix static leaks, null stuff out in afterclass 2019-12-03 06:28:52 -05:00
Robert Muir 55b77358cf SOLR-13982: set security-related http response headers by default
Unfortunately, as a first start this is very weak protection against
e.g. XSS.  This is because some 'unsafe-xxx' rules must be present due
to the insecurity of angular JS: Until SOLR-13987 is fixed, XSS & co are
still easy.
2019-12-03 06:18:11 -05:00
Adrien Grand d09a963e4a Fix CHANGES formatting. 2019-12-03 11:30:19 +01:00
noble 664d93591f SOLR-13995: Move ZkShardTerms.Terms to SolrJ 2019-12-03 15:37:22 +11:00
Robert Muir 17f4cc3688 SOLR-13991: clean up permissions in solr-tests.policy AKA break all the tests to hell, please ping the issue for repeated test failures 2019-12-02 21:23:46 -05:00
Noble Paul 80abab2935 SOLR-13992: Refactor code to have collection, shard name in Replica,Slice (#1051)
* SOLR-13992: Refactor code to have collection name shard name in Replica,Slice
2019-12-03 13:12:23 +11:00
Cassandra Targett 0ebb62a9f2 SOLR-13885: various Ref Guide typos. This closes #990 2019-12-02 13:38:06 -06:00
Mikhail Khludnev f0d7aa4bc0 LUCENE-9073: IntervalQuery expose field on toString and explain 2019-12-02 19:25:15 +03:00
Bruno Roustant bb600e3638
LUCENE-9045: Do not use TreeMap/TreeSet in BlockTree and PerFieldPostingsFormat.
Closes #1007
2019-12-02 14:36:44 +01:00
Robert Muir 58473a04b9 LUCENE-9076: give replicator its own policy rather than reusing solr policy 2019-12-02 06:55:53 -05:00
Robert Muir 3de517b286 SOLR-13986: remove execute permission from solr-tests.policy 2019-12-02 05:39:28 -05:00
Shalin Shekhar Mangar ba95111d71 SOLR-13805: NPE when calling /solr/admin/info/health on standalone solr
(cherry picked from commit 5a697344ed)
2019-11-30 10:04:44 +05:30
Jan Høydahl 325e72c45f SOLR-13977: solr create -c not working under Windows 10
(cherry picked from commit 936f4b6ee9)
2019-11-29 13:07:50 +01:00
Bruno Roustant 1927e850c8
SOLR-13968: Support postingsFormat and docValuesFormat in schema fields.
Closes #1039
2019-11-28 17:17:23 +01:00
David Smiley 8b2d8d0947 SOLR-13971: Revert changes to the default configset. * clarified these are Java system properties * trivial dead code change; Boolean.getBoolean returns a primitive 2019-11-28 11:07:51 -05:00
Ishan Chattopadhyaya 26b5506290 8.3.1 release: CHANGES got misaligned 2019-11-28 19:41:07 +05:30
Bruno Roustant e35de97991
LUCENE-8983: TestPhraseWildcardQuery more robust wrt randomization. 2019-11-28 12:58:05 +01:00
Ishan Chattopadhyaya bf2899fb00 SOLR-13971: Renamed the velocity template parameter names 2019-11-28 15:44:19 +05:30
Jan Høydahl ee39b15b86 SOLR-13969: Clean up and document AuditEvent API (#1041)
(cherry picked from commit 9f78482295)
2019-11-28 09:57:01 +01:00
Ishan Chattopadhyaya 05c5bcc8b3 SOLR-13971: Removing velocity from _default and disabling custom template support by default 2019-11-28 07:54:37 +05:30
Alan Woodward e681f9dca4 LUCENE-9062: QueryVisitor.consumeTermsMatching (#1037)
This commit adds a consumeTermsMatching() method to QueryVisitor, allowing
queries that match against a class of terms to report this back to the visitor. It also
changes highlighting code to use this new method, replacing the current implementation
via instanceof checks.
2019-11-27 16:30:38 +00:00
Andrzej Bialecki 2144bc9b4e Fix the list of common handler metrics. 2019-11-27 16:01:27 +01:00
iverase 01469fc046 Fix failing test due to a typo 2019-11-27 12:20:53 +01:00
Ignacio Vera 26647cbf65 LUCENE-9067: Polygon2D#contains is now thread safe (#1040)
Use a byte to handle the logic if a point lies on the boundary.
2019-11-27 12:10:37 +01:00
Bruno Roustant d764bf345e
LUCENE-8983: Add PhraseWildcardQuery to control multi-terms expansions in phrase. 2019-11-27 11:50:54 +01:00
Benedict Jin c6efd58282 Fix typos in various comments and log msgs (#1000)
(cherry picked from commit f70e21c91c)
2019-11-27 10:34:23 +01:00
Harry Wood d9a7a6e4fa Fix typo (#934)
Fix missing word. "one **which** has too many states"

(cherry picked from commit 451e2da779)
2019-11-27 09:53:24 +01:00
Rohan Bhargava 276b3531fe made minor changes to docstring (#234)
(cherry picked from commit 76d9297c11)
2019-11-27 08:59:10 +01:00
Jonathan Pool c2542b6a76 Correct inconsistency on plugin support (#272)
(cherry picked from commit a5ab17db82)
2019-11-27 08:56:26 +01:00
Eduardo Leggiero 316e130409 Removed extra whitespace (#292)
(cherry picked from commit 70c5942f3d)
2019-11-27 08:51:51 +01:00
Bruno Roustant 363a31ccd4
LUCENE-9049: Remove FST cached root arcs now redundant with labels indexed by bitset. 2019-11-26 20:04:51 +01:00
Alan Woodward 7337555f85 LUCENE-9050: Backport changes 2019-11-26 14:30:39 +00:00
Adrien Grand d1ef153d42 UCENE-9063: Speed up computation of impacts. (#1038)
The current design of CompetitiveImpactAccumulator treats norms in -128..127
as a special case that should be optimized. This commit goes a bit further by
treating it as the normal case, and only ever adding impacts to the TreeSet if
the norm is outside of the byte range. It avoids a number of operations on
TreeSets like adding impacts or removing redundant impacts.
2019-11-26 12:03:33 +01:00
Adrien Grand f76f4eaff8 LUCENE-9059: Reduce garbage created by ByteBuffersDataOutput. (#1031) 2019-11-26 11:59:39 +01:00
noble 4ad3902137 SOLR-13963: JavaBinCodec has concurrent modification of CharArr resulting in corrupt internode updates 2019-11-26 08:22:48 +11:00
Thomas Wöckinger 5e24a010e0 SOLR-13961: Allow null/empty for removal of child doc in atomic update
Cherry pick: b5fd6d7b22
2019-11-25 10:46:48 -05:00
Mikhail Khludnev 4cde41b828 LUCENE-9031: Swipe imports 2019-11-24 17:47:00 +03:00
Mikhail Khludnev f4647f76a0 LUCENE-9031: Implement MatchesIterator.getQuery(). 2019-11-24 16:21:37 +03:00
Jan Høydahl 340b238f1c SOLR-12193: reverting one line back to trace
(cherry picked from commit 592ea19eff)
2019-11-24 00:06:47 +01:00
Jan Høydahl 5f11efb2d5 SOLR-12193: Move some log messages to TRACE level, remove some dead code
(cherry picked from commit d809bc27f1)
2019-11-24 00:03:36 +01:00