Commit Graph

32649 Commits

Author SHA1 Message Date
Robert Muir 9e5d11be8a fix static leaks, null stuff out in afterclass 2019-12-03 06:28:19 -05:00
Robert Muir c8c9c10023 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:12:33 -05:00
Adrien Grand 441abb8319 Fix CHANGES formatting. 2019-12-03 11:28:36 +01:00
noble a51c7b89f2 SOLR-13995: Move ZkShardTerms.Terms to SolrJ 2019-12-03 15:16:34 +11:00
Noble Paul d8f9f47ca0
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:10:19 +11:00
Robert Muir aebf7f7a46 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 20:34:40 -05:00
Cassandra Targett de1c9fb9e8 SOLR-13885: various Ref Guide typos. This closes #990 2019-12-02 13:33:45 -06:00
Mikhail Khludnev eb3a4757ff LUCENE-9073: IntervalQuery expose field on toString and explain 2019-12-02 19:12:05 +03:00
Bruno Roustant 71f1bc33b3
LUCENE-9045: Do not use TreeMap/TreeSet in BlockTree and PerFieldPostingsFormat.
Closes #1007
2019-12-02 14:30:24 +01:00
Robert Muir 2cd4a8ac9a LUCENE-9076: give replicator its own policy rather than reusing solr policy 2019-12-02 06:55:02 -05:00
Robert Muir 1d238c844e SOLR-13986: remove execute permission from solr-tests.policy 2019-12-02 05:36:29 -05:00
Shalin Shekhar Mangar 5a697344ed SOLR-13805: NPE when calling /solr/admin/info/health on standalone solr 2019-11-30 10:04:00 +05:30
Jan Høydahl 936f4b6ee9 SOLR-13977: solr create -c not working under Windows 10 2019-11-29 01:22:06 +01:00
Jan Høydahl 48010ffc9f Add 8.3.1 CHANGES entry for SOLR-13465, SOLR-13941 and SOLR-13905 2019-11-28 20:56:57 +01:00
David Smiley 6a72b81ed3 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 10:45:58 -05:00
Bruno Roustant b4cc3c6ad2
SOLR-13968: Support postingsFormat and docValuesFormat in schema fields.
Closes #1039
2019-11-28 16:13:10 +01:00
Atri Sharma 165f6b276c
Revert "LUCENE-8213: Asynchronous Caching in LRUQueryCache (#916)" (#1044)
This reverts commit 2d98a619dd.
2019-11-28 20:18:52 +05:30
Atri Sharma e4bd0f3624 Revert "Remove excessively strict assertion in testLRUConcurrentCachingAcrossSegments"
This reverts commit cc4f3802ef.
2019-11-28 20:15:18 +05:30
Bruno Roustant 8bd5d7dd2e
LUCENE-8983: TestPhraseWildcardQuery more robust wrt randomization. 2019-11-28 12:55:56 +01:00
Ishan Chattopadhyaya 212593d362 SOLR-13971: Renamed the velocity template parameter names 2019-11-28 15:46:26 +05:30
Jan Høydahl 9f78482295
SOLR-13969: Clean up and document AuditEvent API (#1041) 2019-11-28 09:55:11 +01:00
Atri Sharma cc4f3802ef Remove excessively strict assertion in testLRUConcurrentCachingAcrossSegments 2019-11-28 09:42:21 +05:30
Ishan Chattopadhyaya 50e8cea918 SOLR-13971: Removing velocity from _default and disabling custom template support by default 2019-11-28 07:52:43 +05:30
Alan Woodward bed694ec88
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:28:19 +00:00
Andrzej Bialecki 47a908a0b9 Fix the list of common handler metrics. 2019-11-27 15:59:53 +01:00
iverase 9d374b69a3 Fix failing test due to a typo 2019-11-27 12:20:14 +01:00
Ignacio Vera 14dc678f39
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:09:23 +01:00
Bruno Roustant 8485b5a939
LUCENE-8983: Add PhraseWildcardQuery to control multi-terms expansions in phrase. 2019-11-27 10:53:45 +01:00
Benedict Jin f70e21c91c Fix typos in various comments and log msgs (#1000) 2019-11-27 10:34:00 +01:00
Harry Wood 451e2da779 Fix typo (#934)
Fix missing word. "one **which** has too many states"
2019-11-27 09:53:11 +01:00
Noa Horn 2a88b3dced Fix error message (#108)
There was a missing space in error message
2019-11-27 09:29:03 +01:00
Rohan Bhargava 76d9297c11 made minor changes to docstring (#234) 2019-11-27 08:57:18 +01:00
Jonathan Pool a5ab17db82 Correct inconsistency on plugin support (#272) 2019-11-27 08:55:52 +01:00
Eduardo Leggiero 70c5942f3d Removed extra whitespace (#292) 2019-11-27 08:50:12 +01:00
Bruno Roustant e43b5eaf24
LUCENE-9049: Remove FST cached root arcs now redundant with labels indexed by bitset. 2019-11-26 16:07:22 +01:00
Alan Woodward 6ced6498a4 LUCENE-9050: Backport changes 2019-11-26 14:18:08 +00:00
Adrien Grand ded8efa82a
LUCENE-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 11:49:57 +01:00
Adrien Grand e37e56c795
LUCENE-9059: Reduce garbage created by ByteBuffersDataOutput. (#1031) 2019-11-26 11:41:11 +01:00
Atri Sharma 2d98a619dd
LUCENE-8213: Asynchronous Caching in LRUQueryCache (#916)
* LUCENE-8213: Introduce Asynchronous Caching in LRUQueryCache
2019-11-26 12:02:03 +05:30
noble 6c7a095f33 SOLR-13963: JavaBinCodec has concurrent modification of CharArr resulting in corrupt internode updates 2019-11-26 08:12:23 +11:00
Dawid Weiss 063c82ebd6 SOLR-13952: reverting Erick's commit (with permission). 2019-11-25 17:56:20 +01:00
Thomas Wöckinger b5fd6d7b22 SOLR-13961: Allow null/empty for removal of child doc in atomic update
Closes #1030
2019-11-25 09:57:07 -05:00
Erick Erickson f1cf3db588 SOLR-13952: Separate out Gradle-specific code from other (mostly test) changes and commit separately, forgot CHANGES.txt 2019-11-24 13:31:45 -05:00
Erick Erickson 4b34d726ab SOLR-13952: Separate out Gradle-specific code from other (mostly test) changes and commit separately 2019-11-24 13:24:40 -05:00
Mikhail Khludnev 46c91dbf6d LUCENE-9031: Swipe imports 2019-11-24 17:42:21 +03:00
Mikhail Khludnev fc5cad931f LUCENE-9031: Implement MatchesIterator.getQuery(). 2019-11-24 16:18:48 +03:00
Jan Høydahl 592ea19eff SOLR-12193: reverting one line back to trace 2019-11-24 00:06:07 +01:00
Jan Høydahl d809bc27f1 SOLR-12193: Move some log messages to TRACE level, remove some dead code 2019-11-23 23:57:59 +01:00
Dawid Weiss fad75cf98d LUCENE-9061: Use an explicit executor service in async channel tests, otherwise they leak internal JVM threads. 2019-11-23 14:01:51 +01:00
Jan Høydahl 312431b182
SOLR-13465 CoreContainer.auditloggerPlugin should be volatile (#672) 2019-11-23 01:21:47 +01:00