Anshum Gupta
d3401ccc66
SOLR-8299: ConfigSet DELETE operation no longer allows deletion of config sets that are currently in use by other collections
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716223 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 17:56:25 +00:00
Anshum Gupta
2162d892f2
SOLR-7912: Removing complicated query assertions from the MLTQParser cloud test as it was getting to be more of a hack. Only test for doc ordering and query assertion in simple cases.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716156 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 15:19:18 +00:00
Anshum Gupta
1af0271c67
SOLR-7912: Another attempt at fixing CloudMLTQParserTest from the original commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716029 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 05:12:46 +00:00
Anshum Gupta
dc5249a849
SOLR-7912: Fix CloudMLTQParserTest from the previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716028 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 05:03:50 +00:00
Erik Hatcher
255ff56d4e
SOLR-8307: move EmptyEntityResolver to another package to avoid conflict with solr-core and javadoc generation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716007 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 01:25:00 +00:00
Erik Hatcher
4995bbdd85
SOLR-8333: fix public API from referring to inner class implementation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715999 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 00:34:26 +00:00
Anshum Gupta
064f9e9970
SOLR-7912: Add boost support, and also exclude the queried document in MoreLikeThis QParser
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715931 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 19:41:08 +00:00
Chris M. Hostetter
5b0b4194a1
SOLR-8329: SchemaSimilarityFactory now supports a 'defaultSimFromFieldType' init option for using a fieldType name to identify which Similarity to use as a default
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715881 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 16:50:49 +00:00
Erik Hatcher
8090380ecd
Fix XXE vulnerability in MBeansHandler diff feature
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715863 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 16:05:45 +00:00
Christine Poerschke
11d8f445be
SOLR-8277: (Search|Top)GroupsFieldCommand tweaks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715798 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 13:09:21 +00:00
Yonik Seeley
1047e54916
tests: add nested terms facet on blockChildren under parent terms facet
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715705 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 21:48:30 +00:00
Uwe Schindler
f4fe17cce8
SOLR-5971: Fix error 'Illegal character in query' when proxying request
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715615 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 09:56:22 +00:00
Uwe Schindler
8f7764a1ba
SOLR-8303: CustomBufferedIndexInput now includes resource description when throwing EOFException
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715402 13f79535-47bb-0310-9956-ffa450edef68
2015-11-20 18:55:55 +00:00
Chris M. Hostetter
cae3ddd5c7
SOLR-8271: Change implicit default Similarity to use SchemaSimilarityFactory when luceneMatchVersion >= 6
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715393 13f79535-47bb-0310-9956-ffa450edef68
2015-11-20 17:00:34 +00:00
Alan Woodward
3fdbc588a9
SOLR-8302: Remove deprecated methods in trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715345 13f79535-47bb-0310-9956-ffa450edef68
2015-11-20 12:56:00 +00:00
Alan Woodward
0f3aecfdff
SOLR-8302: SolrResourceLoader takes a Path for its instance directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715342 13f79535-47bb-0310-9956-ffa450edef68
2015-11-20 12:12:05 +00:00
Varun Thacker
9cc17dd904
SOLR-8315: Removed default core checks in the dispatch filter since we don't have a default core anymore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715317 13f79535-47bb-0310-9956-ffa450edef68
2015-11-20 03:42:26 +00:00
Varun Thacker
80403d0a28
SOLR-8309: the test waits for the cluster state to get updated locally before checking correctness of routing requests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715314 13f79535-47bb-0310-9956-ffa450edef68
2015-11-20 02:17:31 +00:00
Chris M. Hostetter
766b017b1a
SOLR-8280: Fixed bug in SimilarityFactory initialization that prevented SolrCoreAware factories from functioning properly with managed schema features
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715215 13f79535-47bb-0310-9956-ffa450edef68
2015-11-19 17:03:36 +00:00
Christine Poerschke
491bb5ba90
SOLR-8298: small preferLocalShards implementation refactor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715208 13f79535-47bb-0310-9956-ffa450edef68
2015-11-19 16:20:53 +00:00
Christine Poerschke
b7195573ec
SOLR-8283: factor out SortSpecParsing[Test] from QueryParsing[Test]
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715049 13f79535-47bb-0310-9956-ffa450edef68
2015-11-18 19:48:40 +00:00
Christine Poerschke
e776333c02
SOLR-8283: factor out StrParser from QueryParsing.StrParser (Christine Poerschke)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714994 13f79535-47bb-0310-9956-ffa450edef68
2015-11-18 13:33:19 +00:00
Chris M. Hostetter
95dbd95e62
SOLR-8295: fix buggy test assumption
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714843 13f79535-47bb-0310-9956-ffa450edef68
2015-11-17 18:18:05 +00:00
Noble Paul
b5ed21b258
SOLR-7569 test failure fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714842 13f79535-47bb-0310-9956-ffa450edef68
2015-11-17 18:15:07 +00:00
Varun Thacker
dd8b980036
SOLR-8300: Use constants for the /overseer_elect znode
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714841 13f79535-47bb-0310-9956-ffa450edef68
2015-11-17 18:07:52 +00:00
Christine Poerschke
ea917093f8
SOLR-8290: remove SchemaField.checkFieldCacheSource's unused QParser argument
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714766 13f79535-47bb-0310-9956-ffa450edef68
2015-11-17 12:00:16 +00:00
Shai Erera
64783d1757
SOLR-8246: fix SolrCLI to delete config directory if creating a core failed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714764 13f79535-47bb-0310-9956-ffa450edef68
2015-11-17 11:56:52 +00:00
Chris M. Hostetter
edb2b4818f
SOLR-8295: Fix NPE in collapse QParser when collapse field is missing from all docs in a segment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714701 13f79535-47bb-0310-9956-ffa450edef68
2015-11-16 22:42:25 +00:00
Yonik Seeley
0186803a9d
SOLR-8284: fix NPE short form sort:index and sort:count
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714641 13f79535-47bb-0310-9956-ffa450edef68
2015-11-16 17:47:09 +00:00
Mark Robert Miller
9ba90f5f71
SOLR-8288: DistributedUpdateProcessor#doFinish should explicitly check and ensure it does not try to put itself into LIR.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714271 13f79535-47bb-0310-9956-ffa450edef68
2015-11-13 22:07:14 +00:00
Adrien Grand
0ed54b3105
LUCENE-6276: Added TwoPhaseIterator.matchCost().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714261 13f79535-47bb-0310-9956-ffa450edef68
2015-11-13 20:08:01 +00:00
Christine Poerschke
56b0a46f10
SOLR-8287: TrieDoubleField and TrieLongField now override toNativeType
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714226 13f79535-47bb-0310-9956-ffa450edef68
2015-11-13 15:52:02 +00:00
Mark Robert Miller
31da6a3535
SOLR-8279: Add a new SolrCloud test that stops and starts the cluster while indexing data.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714216 13f79535-47bb-0310-9956-ffa450edef68
2015-11-13 14:46:58 +00:00
Mark Robert Miller
15ac4b0e83
SOLR-7989: After a new leader is elected it, it should ensure it's state is ACTIVE if it has already registered with ZK.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714211 13f79535-47bb-0310-9956-ffa450edef68
2015-11-13 14:33:27 +00:00
Mark Robert Miller
820eea1f3d
SOLR-8075: Fix faulty implementation.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714204 13f79535-47bb-0310-9956-ffa450edef68
2015-11-13 13:40:52 +00:00
Chris M. Hostetter
918476e0ac
SOLR-6168: Add a 'sort' local param to the collapse QParser to support using complex sort options to select the representitive doc for each collapsed group
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714133 13f79535-47bb-0310-9956-ffa450edef68
2015-11-12 22:52:06 +00:00
Erick Erickson
7d1ccd8ddb
SOLR-6273: Removed unused imports, no code changes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714099 13f79535-47bb-0310-9956-ffa450edef68
2015-11-12 17:43:00 +00:00
Alan Woodward
067c8b2b30
SOLR-8278: Fix Windows test bug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714041 13f79535-47bb-0310-9956-ffa450edef68
2015-11-12 13:26:20 +00:00
Alan Woodward
eb0da10bb4
SOLR-8278: Use NIO2 APIs in ConfigSetService
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713996 13f79535-47bb-0310-9956-ffa450edef68
2015-11-12 09:43:26 +00:00
Dennis Gove
1161f2d018
SOLR-7669: Add SelectStream and Tuple Operations to the Streaming API and Streaming Expressions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713967 13f79535-47bb-0310-9956-ffa450edef68
2015-11-12 04:37:37 +00:00
Dennis Gove
19715d10ef
SOLR-8188: Adds Hash and OuterHash Joins to the Streaming API and Streaming Expressions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713950 13f79535-47bb-0310-9956-ffa450edef68
2015-11-12 00:08:45 +00:00
Chris M. Hostetter
da18097f85
SOLR-8270: Change implicit default Similarity to use BM25 when luceneMatchVersion >= 6
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713902 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 17:48:40 +00:00
Mark Robert Miller
9f9a5d50f0
SOLR-7989, SOLR-7569: Ignore this test.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713898 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 17:26:26 +00:00
Mark Robert Miller
e7329a7b83
SOLR-7989: Revert changes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713882 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 16:02:50 +00:00
Dennis Gove
5c5812940a
SOLR-7584: Adds Inner and LeftOuter Joins to the Streaming API and Streaming Expressions (Dennis Gove, Corey Wu)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713753 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 01:45:04 +00:00
Dennis Gove
cad6188624
SOLR-8268: StatsStream now implements the Expressible interface
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713749 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 00:50:34 +00:00
Mark Robert Miller
148b453949
SOLR-8258: Change default hdfs tlog replication factor from 1 to 3.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713673 13f79535-47bb-0310-9956-ffa450edef68
2015-11-10 15:51:15 +00:00
Steven Rowe
50c89d58e6
SOLR-8249: Address OverseerTest.testOverseerStatsReset() failures by switching back from testing for stats on the LEADER operation to testing STATE message stats
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713669 13f79535-47bb-0310-9956-ffa450edef68
2015-11-10 15:28:30 +00:00
Alan Woodward
aa34b6f794
SOLR-8259: Remove deprecated getDispatchFilter() method from trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713602 13f79535-47bb-0310-9956-ffa450edef68
2015-11-10 10:09:57 +00:00
Alan Woodward
9cbae39ab8
SOLR-8259: Add getCoreContainer() method to JettySolrRunner
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713601 13f79535-47bb-0310-9956-ffa450edef68
2015-11-10 10:06:49 +00:00
Chris M. Hostetter
f4faf98980
SOLR-8261: Change SchemaSimilarityFactory default to BM25Similarity
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713557 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 22:07:57 +00:00
Alan Woodward
be10d9e501
SOLR-8260: Use nio2 API in core discovery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713490 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 17:50:19 +00:00
Alan Woodward
1057db3e14
SOLR-8254: HttpSolrCore.getCoreByCollection() can throw NPE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713468 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 16:17:20 +00:00
Noble Paul
17fbe3a6cd
SOLR-8249: Addressing the test failures due to Leader election changes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713234 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 15:21:49 +00:00
Noble Paul
a238b5ee6f
SOLR-8249: Addressing the test failures due to Leader election changes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713231 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 14:42:32 +00:00
Erick Erickson
4caac50712
SOLR-6273: Took out inadvertent copyright comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713207 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 05:18:53 +00:00
Chris M. Hostetter
088fc1c441
SOLR-8239: remove (deprecated) DefaultSimilarityFactory from trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713039 13f79535-47bb-0310-9956-ffa450edef68
2015-11-06 21:03:52 +00:00
Erick Erickson
47959bfe75
SOLR-6273: testfix7, improves test pass ratio significantly
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713022 13f79535-47bb-0310-9956-ffa450edef68
2015-11-06 20:18:19 +00:00
Chris M. Hostetter
ecf410f413
SOLR-8239: Added ClassicSimilarityFactory, marked DefaultSimilarityFactory as deprecated
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712979 13f79535-47bb-0310-9956-ffa450edef68
2015-11-06 15:45:50 +00:00
Noble Paul
0af209af06
SOLR-7569: A collection API called FORCELEADER when all replicas in a shard are down
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712851 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 19:25:15 +00:00
Chris M. Hostetter
d207e8c39a
SOLR-8239: reverting r1712840 from trunk -- backport to 5x was more complicated then I expected because aparently DefaultSimilarity deprecation with ClassicSimilarity was never backported? want to clarify/resolve that before moving forward here
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712845 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 18:44:13 +00:00
Chris M. Hostetter
2a24085bcd
SOLR-8239: Added ClassicSimilarityFactory, marked DefaultSimilarityFactory as deprecated
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712840 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 18:19:54 +00:00
Christine Poerschke
c2095b44fe
SOLR-8223: Avoid accidentally swallowing OutOfMemoryError (in LeaderInitiatedRecoveryThread.java or CoreContainer.java)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712817 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 17:03:49 +00:00
Noble Paul
9343bc9cab
SOLR-7989: After a new leader is elected it should change it's state to ACTIVE even
...
if the last published state is something else
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712753 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 12:51:27 +00:00
Alan Woodward
43cd1639f5
LUCENE-6884: Analyzer.tokenStream() and Tokenizer.setReader() don't need to throw IOException
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712731 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 10:00:11 +00:00
Yonik Seeley
2bbbc4d42d
SOLR-8222: optimize method=dv faceting for counts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712608 13f79535-47bb-0310-9956-ffa450edef68
2015-11-04 18:27:55 +00:00
Varun Thacker
b5b4292afc
SOLR-8215: Only active replicas should handle incoming requests against a collection
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712601 13f79535-47bb-0310-9956-ffa450edef68
2015-11-04 17:59:37 +00:00
Chris M. Hostetter
be76c6845c
SOLR-8113: CloneFieldUpdateProcessorFactory now supports choosing a dest field name based on a regex pattern and replacement init options.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712195 13f79535-47bb-0310-9956-ffa450edef68
2015-11-03 00:43:17 +00:00
Yonik Seeley
978491938b
SOLR-8203: use shutdownNow on updateExecutor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712111 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 18:41:02 +00:00
Christine Poerschke
fbc7ea4532
SOLR-8218: DistributedUpdateProcessor (initialCapacity) tweaks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712087 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 17:13:43 +00:00
Yonik Seeley
368d19a2b9
SOLR-8203: reject updates if core container is shutting down
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712034 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 14:58:28 +00:00
Noble Paul
07202b9a42
SOLR-8126: update-<component-name> does not work if the component is only
...
present in solrconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1711943 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 12:22:14 +00:00
Noble Paul
7f8b3db927
added javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1711929 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 10:12:34 +00:00
Michael McCandless
d3869edb96
LUCENE-6861: switch trunk to Luceen60 codec, implementing dimensional format
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1711732 13f79535-47bb-0310-9956-ffa450edef68
2015-11-01 10:19:50 +00:00
Adrien Grand
ae779d8115
LUCENE-6870: Make DisjunctionMaxQuery immutable.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1711509 13f79535-47bb-0310-9956-ffa450edef68
2015-10-30 17:12:38 +00:00
Alan Woodward
2018b052db
SOLR-8221: Ensure that SSL config is passed to MiniSolrCloudCluster
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1711112 13f79535-47bb-0310-9956-ffa450edef68
2015-10-28 19:57:58 +00:00
Alan Woodward
cb234d3c6b
SOLR-8221: MiniSolrCloudCluster creates subdirectories for its child nodes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1711041 13f79535-47bb-0310-9956-ffa450edef68
2015-10-28 15:43:51 +00:00
Adrien Grand
9f1248e841
LUCENE-6840: Put ord indexes on disk.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710876 13f79535-47bb-0310-9956-ffa450edef68
2015-10-27 19:49:47 +00:00
Yonik Seeley
9557796cb4
SOLR-8217: add method param for JSON terms facet
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710869 13f79535-47bb-0310-9956-ffa450edef68
2015-10-27 19:07:59 +00:00
Christine Poerschke
676a0e4f2f
SOLR-8196: TestMiniSolrCloudCluster.testStopAllStartAll case plus necessary MiniSolrCloudCluster tweak
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710824 13f79535-47bb-0310-9956-ffa450edef68
2015-10-27 14:13:40 +00:00
Michael McCandless
e5c4ba48df
LUCENE-6825: add dimensionally indexed values
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710752 13f79535-47bb-0310-9956-ffa450edef68
2015-10-27 09:31:35 +00:00
Shalin Shekhar Mangar
9e779427aa
SOLR-4854: Add a test to assert that [elevated] DocTransfer works correctly with javabin response format
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710667 13f79535-47bb-0310-9956-ffa450edef68
2015-10-26 18:17:39 +00:00
Christine Poerschke
737a62843e
SOLR-8195: IndexFetcher download trace now includes bytes-downloaded[-per-second]
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710662 13f79535-47bb-0310-9956-ffa450edef68
2015-10-26 17:43:38 +00:00
Shalin Shekhar Mangar
8e929f3468
Added code comment explaining why this thread pool is unbounded
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710592 13f79535-47bb-0310-9956-ffa450edef68
2015-10-26 13:15:46 +00:00
Yonik Seeley
b3ee21b7e9
SOLR-8192: SOLR-8206: fix allBuckets for multi-valued fields, fix limit:0 and normalize offset to 0 when limit==0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710476 13f79535-47bb-0310-9956-ffa450edef68
2015-10-25 18:50:13 +00:00
Yonik Seeley
1f7e417bba
doc: add comments about 1 thread for streaming update client
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710389 13f79535-47bb-0310-9956-ffa450edef68
2015-10-24 21:31:23 +00:00
Shalin Shekhar Mangar
b9ac587c32
SOLR-8189: Use WeakIdentityMap.newConcurrentHashMap instead of a synchronized WeakHashMap for better concurrency
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710366 13f79535-47bb-0310-9956-ffa450edef68
2015-10-24 16:58:56 +00:00
Shalin Shekhar Mangar
fe22692ad2
SOLR-7993: Raw json output for fields stopped working in 5.3.0 when requested fields do not include the unique key field name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710361 13f79535-47bb-0310-9956-ffa450edef68
2015-10-24 16:11:33 +00:00
Shalin Shekhar Mangar
755c578e95
SOLR-8182: Disable TestSolrCloudWithKerberosAlt on Java 9
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710310 13f79535-47bb-0310-9956-ffa450edef68
2015-10-24 07:41:09 +00:00
Mark Robert Miller
d3d9d353af
SOLR-8074: LoadAdminUIServlet directly references admin.html
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710271 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 17:23:55 +00:00
Shalin Shekhar Mangar
3a4b4310b4
SOLR-8189: eTag calculation during HTTP Cache Validation uses unsynchronized WeakHashMap causing threads to be stuck in runnable state
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710218 13f79535-47bb-0310-9956-ffa450edef68
2015-10-23 14:03:49 +00:00
Yonik Seeley
8d2a0a135e
SOLR-8164: fix parsedquery debug output double-parens, add tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710106 13f79535-47bb-0310-9956-ffa450edef68
2015-10-22 21:33:31 +00:00
Yonik Seeley
369aa32aea
SOLR-8164: fix debug query string repr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709903 13f79535-47bb-0310-9956-ffa450edef68
2015-10-21 19:27:15 +00:00
Yonik Seeley
c7911f41f5
LUCENE-6821: remove unnecessary term clones
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709683 13f79535-47bb-0310-9956-ffa450edef68
2015-10-20 21:05:39 +00:00
Shalin Shekhar Mangar
5beea1098e
SOLR-6273: Fixed a null check, some typos and a few compiler warnings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709619 13f79535-47bb-0310-9956-ffa450edef68
2015-10-20 14:46:39 +00:00
Shalin Shekhar Mangar
8239523660
Fix comment to match actual default value and renamed constant
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709610 13f79535-47bb-0310-9956-ffa450edef68
2015-10-20 14:32:31 +00:00
Tommaso Teofili
9534904c25
LUCENE-6821 - TermQuery's constructors should clone the incoming term
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709576 13f79535-47bb-0310-9956-ffa450edef68
2015-10-20 11:57:37 +00:00
Yonik Seeley
0fe5ab3b9b
SOLR-8170: fix DocSetBuilder not removing doc 0 if it was deleted
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709499 13f79535-47bb-0310-9956-ffa450edef68
2015-10-20 01:12:57 +00:00
Christine Poerschke
c1ec5f5ec7
SOLR-8114: in Grouping.java rename sort to groupSort
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709288 13f79535-47bb-0310-9956-ffa450edef68
2015-10-18 15:14:05 +00:00
Shalin Shekhar Mangar
15bbb3fd0b
SOLR-8162: JmxMonitoredMap#clear triggers a query on all the MBeans thus generating lots of warnings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709242 13f79535-47bb-0310-9956-ffa450edef68
2015-10-18 08:32:53 +00:00
Christine Poerschke
64c73ef6a2
SOLR-8114: in Grouping.java rename groupSort to withinGroupSort
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709230 13f79535-47bb-0310-9956-ffa450edef68
2015-10-18 04:52:14 +00:00
Shalin Shekhar Mangar
fabb90d1d3
SOLR-8135: Disable test until it can be fixed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709142 13f79535-47bb-0310-9956-ffa450edef68
2015-10-17 12:00:56 +00:00
Noble Paul
91a6c31d77
SOLR-8167: Authorization framework does not work with POST params
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709056 13f79535-47bb-0310-9956-ffa450edef68
2015-10-16 16:57:05 +00:00
Shalin Shekhar Mangar
70ae2272df
SOLR-8050: Partial update on document with multivalued date field fails to parse date and can also fail to remove dates in some cases.
...
This closes #202
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709042 13f79535-47bb-0310-9956-ffa450edef68
2015-10-16 15:37:42 +00:00
Michael McCandless
c855dd5a33
LUCENE-6829: OfflineSorter now uses Directory API; add Directory.createTempOutput and IndexOutput.getName
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1708760 13f79535-47bb-0310-9956-ffa450edef68
2015-10-15 09:58:18 +00:00
Christine Poerschke
a918ee57a6
SOLR-8116: SearchGroupsResultTransformer tweaks (String literals, list/map initialCapacity)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1708686 13f79535-47bb-0310-9956-ffa450edef68
2015-10-14 19:51:15 +00:00
Gregory Chanan
a87883cc5f
SOLR-8152: Overseer Task Processor/Queue can miss responses, leading to timeouts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1708539 13f79535-47bb-0310-9956-ffa450edef68
2015-10-13 23:22:06 +00:00
Joel Bernstein
14854b4f08
SOLR-8153: Support upper case and mixed case column identifiers in the SQL interface
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1708259 13f79535-47bb-0310-9956-ffa450edef68
2015-10-12 21:51:45 +00:00
Adrien Grand
876181ff1b
LUCENE-6834: Removed BoostQuery.toString()'s hack with parenthesis.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1708146 13f79535-47bb-0310-9956-ffa450edef68
2015-10-12 16:04:28 +00:00
Adrien Grand
b3d191832c
LUCENE-6301: Removal of org.apache.lucene.Filter.
...
From a Lucene perspective Filter is gone. However it was still used for things
like DocSet and SolrConstantScoreQuery in Solr, so it has been moved to
the oas.search package for now, even though in the long term it would be nice
for Solr to move to the Query API entirely as well.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1708097 13f79535-47bb-0310-9956-ffa450edef68
2015-10-12 12:15:07 +00:00
Alan Woodward
3e8cd29d55
SOLR-8151: Don't log OverseerCollectionMessageHandler info as WARN
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1708046 13f79535-47bb-0310-9956-ffa450edef68
2015-10-12 07:52:05 +00:00
Mark Robert Miller
c03a8deaeb
SOLR-8123: Add HdfsChaosMonkeyNothingIsSafeTest test.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1707976 13f79535-47bb-0310-9956-ffa450edef68
2015-10-11 13:36:27 +00:00
Mark Robert Miller
75c7abbd99
SOLR-8130: Solr's hdfs safe mode detection does not catch all cases of being in safe mode.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1707974 13f79535-47bb-0310-9956-ffa450edef68
2015-10-11 13:14:03 +00:00
Jan Høydahl
b831a14ba5
SOLR-7888: Analyzing suggesters can now filter suggestions by a context field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1707907 13f79535-47bb-0310-9956-ffa450edef68
2015-10-10 19:01:59 +00:00
Uwe Schindler
4edfc729df
Fix Java 9 compile failure (type inference does not work for this example: Java 9 compiler is right!)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1707843 13f79535-47bb-0310-9956-ffa450edef68
2015-10-10 08:38:23 +00:00
Joel Bernstein
6085c0a4c2
SOLR-8086: Add support for SELECT DISTINCT queries to the SQL interface
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1707819 13f79535-47bb-0310-9956-ffa450edef68
2015-10-09 21:34:43 +00:00
Yonik Seeley
0a4b0833a2
SOLR-7543: basic graph traversal query
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1707818 13f79535-47bb-0310-9956-ffa450edef68
2015-10-09 21:27:03 +00:00
Shawn Heisey
99ede423de
SOLR-6188: Only load resources in SOLRHOME/lib once.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1707630 13f79535-47bb-0310-9956-ffa450edef68
2015-10-08 22:40:53 +00:00
Mark Robert Miller
c8b1059b30
SOLR-8121: It looks like ChaosMonkeySafeLeader test can fail with replica inconsistency because waitForThingsToLevelOut can pass while state is still changing.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1707618 13f79535-47bb-0310-9956-ffa450edef68
2015-10-08 20:58:04 +00:00
Gregory Chanan
4a78c824a5
SOLR-7967: AddSchemaFieldsUpdateProcessorFactory does not check if the ConfigSet is immutable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1707424 13f79535-47bb-0310-9956-ffa450edef68
2015-10-08 00:14:33 +00:00
Mark Robert Miller
20a8df7a5d
SOLR-8132: HDFSDirectoryFactory now defaults to using the global block cache.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1707067 13f79535-47bb-0310-9956-ffa450edef68
2015-10-06 14:40:12 +00:00
Mark Robert Miller
a34385d9c0
SOLR-8072: Rebalance leaders feature does not set CloudDescriptor#isLeader to false when bumping leaders.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1707062 13f79535-47bb-0310-9956-ffa450edef68
2015-10-06 14:26:09 +00:00
Noble Paul
deb81534bc
wrong error formatting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1706956 13f79535-47bb-0310-9956-ffa450edef68
2015-10-06 06:58:12 +00:00
Gregory Chanan
e04a4e9abc
SOLR-7995: Add a LIST command to ConfigSets API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1706920 13f79535-47bb-0310-9956-ffa450edef68
2015-10-05 20:54:41 +00:00
Mark Robert Miller
f4a599904f
SOLR-8075: Leader Initiated Recovery should not stop a leader that participated in an election with all of it's replicas from becoming a valid leader.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1706699 13f79535-47bb-0310-9956-ffa450edef68
2015-10-04 16:49:04 +00:00
Mark Robert Miller
66ab2d013f
SOLR-8094: HdfsUpdateLog should not replay buffered documents as a replacement to dropping them.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1706681 13f79535-47bb-0310-9956-ffa450edef68
2015-10-04 13:54:11 +00:00
Joel Bernstein
04efea7e7d
Call waitForRecoveriesToFinish(false) in the Streaming and SQL tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1706497 13f79535-47bb-0310-9956-ffa450edef68
2015-10-02 22:18:58 +00:00
Mark Robert Miller
88b43c815e
SOLR-8085: Fix a variety of issues that can result in replicas getting out of sync.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1706423 13f79535-47bb-0310-9956-ffa450edef68
2015-10-02 14:40:13 +00:00
Christine Poerschke
b095fdfd9f
SOLR-8025: remove unnecessary ResponseBuilder.getQueryCommand() calls
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1706313 13f79535-47bb-0310-9956-ffa450edef68
2015-10-01 19:56:45 +00:00
Mark Robert Miller
3749a573b5
SOLR-8095: Allow disabling HDFS Locality Metrics and disable by default as it may have performance implications on rapidly changing indexes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1706302 13f79535-47bb-0310-9956-ffa450edef68
2015-10-01 18:16:45 +00:00
David Wayne Smiley
c0bb4b8b35
LUCENE-6650: Spatial module no longer uses Filter.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1706181 13f79535-47bb-0310-9956-ffa450edef68
2015-10-01 03:26:00 +00:00
Noble Paul
27fdb7bac7
SOLR-8104: removed nocommit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1705859 13f79535-47bb-0310-9956-ffa450edef68
2015-09-29 13:33:31 +00:00
Noble Paul
155f5a5dad
SOLR-8104: Config API does not work for spellchecker
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1705858 13f79535-47bb-0310-9956-ffa450edef68
2015-09-29 13:31:35 +00:00
Noble Paul
7f0ad083cf
SOLR-8083: convert the ZookeeperInfoServlet to a request handler at /admin/zookeeper
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1705683 13f79535-47bb-0310-9956-ffa450edef68
2015-09-28 13:11:54 +00:00
Noble Paul
a72c536a2a
SOLR-8083: convert the ZookeeperInfoServlet to a request handler at /admin/zookeeper
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1705662 13f79535-47bb-0310-9956-ffa450edef68
2015-09-28 12:10:39 +00:00
Joel Bernstein
fb881a4f0f
SOLR-8038: Add StatsStream to the Streaming API and wire it into the SQLHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1704973 13f79535-47bb-0310-9956-ffa450edef68
2015-09-24 01:49:09 +00:00
Anshum Gupta
498cafc40a
SOLR-8068: Check and throw exception in the SDF early if the core container wasn't initialized properly or is shutting down.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1704935 13f79535-47bb-0310-9956-ffa450edef68
2015-09-23 21:12:46 +00:00
Mark Robert Miller
dfe7af145f
SOLR-8077: Replication can still cause index corruption.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1704840 13f79535-47bb-0310-9956-ffa450edef68
2015-09-23 12:56:15 +00:00
Mark Robert Miller
bd464ee9ed
SOLR-8069: Ensure that only the valid ZooKeeper registered leader can put a replica into Leader Initiated Recovery.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1704836 13f79535-47bb-0310-9956-ffa450edef68
2015-09-23 12:36:02 +00:00
Noble Paul
5693b53c4e
hardening test failure jenkins.thetaphi.de/job/Lucene-Solr-trunk-Solaris/67
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1704268 13f79535-47bb-0310-9956-ffa450edef68
2015-09-21 11:25:04 +00:00
Shalin Shekhar Mangar
c0da2bc3b6
Renamed a few variables to be more explicit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1703914 13f79535-47bb-0310-9956-ffa450edef68
2015-09-18 19:32:20 +00:00
Shalin Shekhar Mangar
66883c7ac5
SOLR-8066: SolrCore.checkStale method doesn't restore interrupt status
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1703859 13f79535-47bb-0310-9956-ffa450edef68
2015-09-18 14:04:09 +00:00
Mark Robert Miller
1d80b3678d
SOLR-8046: HdfsCollectionsAPIDistributedZkTest checks that no transaction logs failed to be opened during the test but does not isolate this to the test and could fail due to other tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1703827 13f79535-47bb-0310-9956-ffa450edef68
2015-09-18 12:52:52 +00:00
Mikhail Khludnev
e8bb3e4757
SOLR-8026: skew test query to get factional scores for assert
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1703817 13f79535-47bb-0310-9956-ffa450edef68
2015-09-18 12:22:57 +00:00
Anshum Gupta
9e0061e157
SOLR-8058: Fix the exclusion filter so that collections that start with js, css, img, tpl can be accessed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1703441 13f79535-47bb-0310-9956-ffa450edef68
2015-09-16 18:16:58 +00:00
Alan Woodward
b570fb0352
LUCENE-6489: Move Payload queries to queries module and PayloadSpanUtil to sandbox
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1703392 13f79535-47bb-0310-9956-ffa450edef68
2015-09-16 12:43:31 +00:00
Anshum Gupta
c14de34a90
SOLR-8034: Leader no longer puts replicas in recovery in case of a failed update, when minRF isn't achieved.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1703289 13f79535-47bb-0310-9956-ffa450edef68
2015-09-15 20:39:14 +00:00
Noble Paul
fdefc995f9
SOLR-8053: Basic auth support in SolrJ
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1703145 13f79535-47bb-0310-9956-ffa450edef68
2015-09-15 10:45:30 +00:00
Robert Muir
a944ab17a7
LUCENE-6789: change IndexSearcher default similarity to BM25
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1703070 13f79535-47bb-0310-9956-ffa450edef68
2015-09-14 22:03:35 +00:00
Alan Woodward
22cc3a1560
LUCENE-6716: Change SpanPayloadCheckQuery to take List<BytesRef>
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702872 13f79535-47bb-0310-9956-ffa450edef68
2015-09-14 08:52:38 +00:00
Uwe Schindler
b57234a745
LUCENE-6795: Fix Solr tests that break RamUsageTester on Java 9 Jigsaw
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702770 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 12:25:40 +00:00
Uwe Schindler
b8a213ccf7
LUCENE-6795: Forbid AccessibleObject#setAccessible and suppress legitimate uses / wrap with doPrivileged
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702690 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 01:07:11 +00:00
Uwe Schindler
208a153780
LUCENE-6795: Improve SystemInfoHandler for IBM J9 OperatingSystemMXBean (some properties may throw UOE)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702669 13f79535-47bb-0310-9956-ffa450edef68
2015-09-12 19:21:32 +00:00
Yonik Seeley
996a3fb117
SOLR-8037: speed up term range queries, use filter cache for embedded ranges
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702661 13f79535-47bb-0310-9956-ffa450edef68
2015-09-12 18:51:36 +00:00
Uwe Schindler
f213b3bfdc
LUCENE-6795: Make SystemInfoHandler more dynamic, add support for IBM J9 OperatingSystemMXBean
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702656 13f79535-47bb-0310-9956-ffa450edef68
2015-09-12 17:55:34 +00:00
Uwe Schindler
84d98091b5
LUCENE-6795: Improve SystemInfoHandler to get the bean directly instead of downcasting (thanks Peter Levart from jigsaw-dev), also more fixes with UOE thrown by RuntimeMXBean#getBootClassPath()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702628 13f79535-47bb-0310-9956-ffa450edef68
2015-09-12 12:52:23 +00:00
Uwe Schindler
d7f184b3b0
LUCENE-6795: Fix SystemInfoHandler to work with Java 9 Jigsaw
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702613 13f79535-47bb-0310-9956-ffa450edef68
2015-09-12 10:54:43 +00:00
Yonik Seeley
68d942eee1
SOLR-8043: add DocSetCollector constructor that calculates small-set-size, add DocSetUtil.smallSetSize
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702586 13f79535-47bb-0310-9956-ffa450edef68
2015-09-12 03:14:34 +00:00
Gregory Chanan
555cc50930
SOLR-7746: Ping requests stopped working with distrib=true in Solr 5.2.1
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702581 13f79535-47bb-0310-9956-ffa450edef68
2015-09-12 01:17:45 +00:00
Yonik Seeley
bab7afb072
SOLR-7918: remove dead code in DocSetUtil
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702572 13f79535-47bb-0310-9956-ffa450edef68
2015-09-11 23:57:24 +00:00
Mikhail Khludnev
99762f7339
SOLR-8026: ignoring score values asserts on cloud score join (SOLR-7775)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702138 13f79535-47bb-0310-9956-ffa450edef68
2015-09-10 00:29:44 +00:00
Joel Bernstein
087154a0d8
SOLR-7903: Add the FacetStream to the Streaming API and wire it into the SQLHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702132 13f79535-47bb-0310-9956-ffa450edef68
2015-09-09 23:37:35 +00:00
Shalin Shekhar Mangar
f538ed4e57
SOLR-7819: ZK connection loss or session timeout do not stall indexing threads anymore and LIR activity is moved to a background thread
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702067 13f79535-47bb-0310-9956-ffa450edef68
2015-09-09 18:07:45 +00:00
Shawn Heisey
cae3b6574a
SOLR-6188: Revert r1701999
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702057 13f79535-47bb-0310-9956-ffa450edef68
2015-09-09 16:55:33 +00:00
Yonik Seeley
5db80b0b90
SOLR-7990: don't swallow ExitingReaderException
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702015 13f79535-47bb-0310-9956-ffa450edef68
2015-09-09 14:00:44 +00:00
Shawn Heisey
3cffe74393
SOLR-6188: Only load jars in default sharedLib once.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1701999 13f79535-47bb-0310-9956-ffa450edef68
2015-09-09 13:15:22 +00:00
Robert Muir
921c285350
LUCENE-6758: don't let queries over nonexistent fields screw up querynorm
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1701895 13f79535-47bb-0310-9956-ffa450edef68
2015-09-09 03:16:15 +00:00
Erik Hatcher
50bf071600
SOLR-7978: Fixed example/files update-script.js to be Java 7 and 8 compatible
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1701883 13f79535-47bb-0310-9956-ffa450edef68
2015-09-08 23:52:16 +00:00
Adrien Grand
962313b83b
LUCENE-6590: Replace Query.getBoost, setBoost and clone with a new BoostQuery.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1701621 13f79535-47bb-0310-9956-ffa450edef68
2015-09-07 13:34:46 +00:00
Yonik Seeley
92d3ef3462
SOLR-8007: tests: fix TestSearcherReuse by avoiding background merges
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1701291 13f79535-47bb-0310-9956-ffa450edef68
2015-09-04 16:44:17 +00:00
Chris M. Hostetter
ae23ea91d9
SOLR-8001: Fixed bugs in field(foo,min) and field(foo,max) when some docs have no values
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1701081 13f79535-47bb-0310-9956-ffa450edef68
2015-09-03 17:22:10 +00:00
Noble Paul
da05e9a96a
SOLR-8006: Test failures in BasicAuthIntegrationTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1701066 13f79535-47bb-0310-9956-ffa450edef68
2015-09-03 16:39:53 +00:00
Yonik Seeley
082707f2d8
SOLR-7836: change SolrCoreState to use a reentrant locking implementation to fix deadlocks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1701043 13f79535-47bb-0310-9956-ffa450edef68
2015-09-03 15:07:24 +00:00
Noble Paul
21bd68a443
SOLR-7984: wrong and misleading error message 'no default request handler is registered'
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700840 13f79535-47bb-0310-9956-ffa450edef68
2015-09-02 15:13:27 +00:00
Noble Paul
0baae2f832
SOLR-8004: RuleBasedAuthorization plugin does not work for the collection-admin-edit permission
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700784 13f79535-47bb-0310-9956-ffa450edef68
2015-09-02 12:21:11 +00:00
Noble Paul
51510e2274
SOLR-8000: security.json is not loaded on server start
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700751 13f79535-47bb-0310-9956-ffa450edef68
2015-09-02 10:15:18 +00:00
Uwe Schindler
f515227898
SOLR-7999: SolrRequestParser tests no longer depend on external URLs that may fail to work
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700706 13f79535-47bb-0310-9956-ffa450edef68
2015-09-02 05:28:21 +00:00
Mark Robert Miller
442963d020
SOLR-7844: Zookeeper session expiry during shard leader election can cause multiple leaders.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700603 13f79535-47bb-0310-9956-ffa450edef68
2015-09-01 16:13:38 +00:00
Mark Robert Miller
7fd588f57f
SOLR-7999: SolrRequetParserTest#testStreamURL started failing.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700592 13f79535-47bb-0310-9956-ffa450edef68
2015-09-01 15:28:18 +00:00
Noble Paul
4b61fc9903
SOLR-7988: LukeRequest on default path is broken with CloudSolrClient
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700580 13f79535-47bb-0310-9956-ffa450edef68
2015-09-01 14:37:20 +00:00
Yonik Seeley
330907bf11
SOLR-7876: exit ExitableDirectoryReader wrapper if timeout is not enabled
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700276 13f79535-47bb-0310-9956-ffa450edef68
2015-08-31 16:43:57 +00:00
Mark Robert Miller
431ed53d46
SOLR-7956: Remove a few more interrupt causes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700185 13f79535-47bb-0310-9956-ffa450edef68
2015-08-31 02:22:09 +00:00
Mark Robert Miller
a956d3ffe2
SOLR-7956: There are interrupts on shutdown in places that can cause ChannelAlreadyClosed exceptions which prevents proper closing of transaction logs, interfere with the IndexWriter, the hdfs client and other things.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700177 13f79535-47bb-0310-9956-ffa450edef68
2015-08-30 23:44:31 +00:00
Shalin Shekhar Mangar
e6e4f18fac
SOLR-7957: Fix javadoc error causing precommit to fail
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698442 13f79535-47bb-0310-9956-ffa450edef68
2015-08-29 07:47:03 +00:00
Gregory Chanan
31b0bc959f
SOLR-7789: Increase ConfigSets API timeout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698436 13f79535-47bb-0310-9956-ffa450edef68
2015-08-29 01:16:18 +00:00
Yonik Seeley
db78023736
SOLR-7957: expand ResultContext to allow for multiple DocLists per response, remove redundant TransformContext
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698421 13f79535-47bb-0310-9956-ffa450edef68
2015-08-28 21:24:44 +00:00
Yonik Seeley
bdf516f015
SOLR-7966: set X-Frame-Options to DENY for admin ui
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698341 13f79535-47bb-0310-9956-ffa450edef68
2015-08-28 14:47:58 +00:00
Christine Poerschke
8ce033a971
SOLR-7979: Fix two typos (in a CoreAdminHandler log message and a TestCloudPivotFacet comment).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698229 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 20:28:53 +00:00
Chris M. Hostetter
bb32ecb0fd
LUCENE-6760: if the list of whitspace characters changes again in a future JVM, fail fast with a clear error that the test needs corrected -- even if jvm assertions are disabled OR we get really lucky with the chars radnomly selected
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698227 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 20:25:09 +00:00
Yonik Seeley
fbd8608206
SOLR-6787: fix BlobHandler.forward to not close request until after response has been written
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698226 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 20:23:30 +00:00
Chris M. Hostetter
456f70cf0d
SOLR-7942: Previously removed unlockOnStartup option (LUCENE-6508) now logs warning if configured, will be an error in 6.0. Also improved error msg if an index is locked on startup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698200 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 17:35:40 +00:00
Christine Poerschke
e1ec3e9631
SOLR-7970: Factor out a SearchGroupsFieldCommandResult class.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698105 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 10:13:46 +00:00
Gregory Chanan
679dd8f790
SOLR-7789: Introduce a ConfigSet management API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698043 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 02:18:36 +00:00
Chris M. Hostetter
942750c33f
SOLR-7954: Fixed an integer overflow bug in the HyperLogLog code used by the 'cardinality' option of stats.field to prevent ArrayIndexOutOfBoundsException in a distributed search when a large precision is selected and a large number of values exist in each shard
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697969 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 16:33:39 +00:00
Jan Høydahl
c7d7b00e03
SOLR-7961: Add version command to bin/solr start script. Also adds -h for help
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697904 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 12:33:10 +00:00
Anshum Gupta
a4f4c3bd7a
SOLR-7974: Delete the ignored TestSolrCloudWithKerberos test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697804 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 01:48:05 +00:00
Erik Hatcher
99c26b08c3
Fix SimplePostTool (also bin/post) -filetypes * to work properly in 'web' mode
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697798 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 01:12:25 +00:00
Erik Hatcher
4199c14da7
Fix ReRankQuery.toString typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697793 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 01:05:07 +00:00
Mark Robert Miller
d5d058df69
SOLR-7956: There are interrupts on shutdown in places that can cause ChannelAlreadyClosed exceptions which prevents proper closing of transaction logs.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697707 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 16:00:09 +00:00
Shalin Shekhar Mangar
99a31e17d0
SOLR-6629: Watch /collections zk node on all nodes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697562 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 05:56:35 +00:00
Dawid Weiss
c1dc2fb6a6
SOLR-7790, SOLR-7792, SOLR-7791: Update Carrot2 clustering component to version 3.10.3. Upgrade HPPC library to version 0.7.1, morfologik-stemming to version 1.10.0. (Dawid Weiss)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697345 13f79535-47bb-0310-9956-ffa450edef68
2015-08-24 09:53:04 +00:00
Uwe Schindler
6a44b00201
SOLR-7958: Move TestUtil#randomWhitespace to the only Solr test that is using it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697262 13f79535-47bb-0310-9956-ffa450edef68
2015-08-23 21:41:03 +00:00
Mikhail Khludnev
e31c84e061
SOLR-7775: \{\!join score=.. fromIndex=...\} supports single-sharded replicated SolrCloudollection
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697157 13f79535-47bb-0310-9956-ffa450edef68
2015-08-23 09:02:38 +00:00
Christine Poerschke
2cde9b620a
SOLR-7007: DistributedUpdateProcessor now logs replay flag as boolean instead of int
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696852 13f79535-47bb-0310-9956-ffa450edef68
2015-08-20 20:08:47 +00:00
Shalin Shekhar Mangar
98f8e9fe2e
SOLR-6760: New optimized DistributedQueue implementation for overseer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696706 13f79535-47bb-0310-9956-ffa450edef68
2015-08-20 05:12:22 +00:00
Noble Paul
8589202889
SOLR-7941: multivalued params are concatenated when using config API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696453 13f79535-47bb-0310-9956-ffa450edef68
2015-08-18 16:31:31 +00:00
Yonik Seeley
bc6a8d9fff
SOLR-7935:fix race that can cause a NPE in openNewSearcher called from an update concurrent with a core reload
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696417 13f79535-47bb-0310-9956-ffa450edef68
2015-08-18 14:04:06 +00:00
Timothy Potter
2443a7e6c1
SOLR-7934: SolrCLI masks underlying cause of create collection failure.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696056 13f79535-47bb-0310-9956-ffa450edef68
2015-08-15 15:43:36 +00:00
Timothy Potter
62fa28acd4
SOLR-7921: ignore testTechproductsExample unit test due to Jenkins failures
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695930 13f79535-47bb-0310-9956-ffa450edef68
2015-08-14 15:03:51 +00:00
Timothy Potter
2d7df11ab8
SOLR-7921: Fix non-reproducible test failure on sarowe's Jenkins by adding a brief wait before checking that tech product docs have been committed to the example server
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695752 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 19:06:04 +00:00
Shalin Shekhar Mangar
7ebc890bec
SOLR-7869: Overseer does not handle BadVersionException correctly and, in some cases, can go into an infinite loop if cluster state in ZooKeeper is modified externally
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695746 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 18:31:09 +00:00
Robert Muir
9dc862147e
LUCENE-6711: Use CollectionStatistics.docCount() for IDF and average field length computations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695744 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 17:37:15 +00:00
Timothy Potter
5af08f7211
SOLR-7921: The techproducts example fails when running in a directory that contains spaces.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695728 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 15:52:15 +00:00
Yonik Seeley
a2ef0a013b
SOLR-7922: 0 bucket was being skipped for numeric facets
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695715 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 14:31:06 +00:00
Yonik Seeley
4f671e69ab
SOLR-7918: optimize term->DocSet generation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695623 13f79535-47bb-0310-9956-ffa450edef68
2015-08-12 23:13:46 +00:00
Yonik Seeley
d336b25449
tests: avoid json responsewriter bug w/ unknown classes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695596 13f79535-47bb-0310-9956-ffa450edef68
2015-08-12 18:53:16 +00:00
Uwe Schindler
1331a57e3d
LUCENE-6732: Remove tabs in JS and XML files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695395 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 23:00:39 +00:00
Uwe Schindler
f0654e355e
LUCENE-6732: Improve checker for invalid source patterns to also detect javadoc-style license headers. Use Groovy to implement the checks instead of plain Ant
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695380 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 22:13:00 +00:00
Noble Paul
11ac3f7f88
SOLR-7838: changed the permissions froma map to an array so that order is obvious
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695308 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 14:28:50 +00:00
Anshum Gupta
040849908c
SOLR-7911: Remove unwanted logging and no commit from CoreContainer.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695200 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 03:15:43 +00:00
Yonik Seeley
b4c04ddbc8
SOLR-7219: use SolrConstantScoreQuery to fix 5x filter() break
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695133 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 16:45:23 +00:00
Shalin Shekhar Mangar
9c177facb9
SOLR-7908: SegmentsInfoRequestHandler gets a ref counted IndexWriter and does not properly release it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695069 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 13:51:45 +00:00
Ramkumar Aiyengar
264767d47d
SOLR-7902: Split out use of child timers from RTimer to a sub-class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694935 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 23:55:22 +00:00
Erick Erickson
cc3b13c1c4
SOLR-7836: Possible deadlock when closing refcounted index writers. Surrounded ulog updates with updatelock
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694913 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 21:46:41 +00:00
Noble Paul
1e82854532
SOLR-7849: Hardening tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694867 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 10:51:18 +00:00
Erick Erickson
2676aa61b9
SOLR-7836: Possible deadlock when closing refcounted index writers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694854 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 03:38:08 +00:00
Ramkumar Aiyengar
b4aafbb606
SOLR-7859: Clamp down on use of System.currentTimeMillis
...
- Use RTimer where currentTimeMillis is used for timing
- Abstract out a new class TimeOut for when currentTimeMillis/nanoTime
is used to timeout operations.
- Used `new Date()` in some cases where that is the logical intent.
- Deprecated a couple of APIs which were publicly exposing epoch time,
in favour of Date objects to make the intent clearer.
- A couple of cases had currentTimeMillis in dead code.
- In some cases where currentTimeMillis was used to just generate a name,
used nanoTime instead (really it should be some sequence/random number
in such a case).
- In some other cases where stamps were used for SQL queries, HTTP headers,
comparing against data in external files, ZK etc., used SuppressForbidden.
- Also currently allow the use of currentTimeMillis in commit data,
this is then used in replication -- this is concerning since absolute
times are being compared, but that can be dealt with separately.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694798 13f79535-47bb-0310-9956-ffa450edef68
2015-08-08 13:39:58 +00:00
Yonik Seeley
c61b8e7678
SOLR-7219: add filter() to query syntax
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694708 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 16:14:41 +00:00
Shalin Shekhar Mangar
29e1d19b73
SOLR-5756: A utility Collection API to move a collection from stateFormat=1 to stateFormat=2
...
SOLR-7870: Write a test which asserts that requests to stateFormat=2 collection succeed on a node even after all local replicas of that collection have been removed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694692 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 14:07:21 +00:00
Noble Paul
f612c08a27
SOLR-7849: avoid re-regisetring pkiAuthentication plugin http interceptor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694681 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 13:08:20 +00:00
Noble Paul
0b27204418
SOLR-7849: Verify all nodes have received the new security config
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694673 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 12:41:32 +00:00
Uwe Schindler
7c9d78a2c4
LUCENE-6417: Upgrade ANTLR used in expressions module to version 4.5
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694614 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 07:10:40 +00:00
Tomas Eduardo Fernandez Lobbe
b3e0a10336
SOLR-7875: Speedup SolrQueryTimeoutImpl
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694574 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 21:27:07 +00:00
Noble Paul
bd430506ce
SOLR-7837: An AuthenticationPlugin which implements the HTTP BasicAuth protocol and stores credentials securely in ZooKeeper
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694555 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 19:03:25 +00:00
Noble Paul
d841e40a7e
SOLR-7838: An authorizationPlugin interface where the access control rules are stored/managed in ZooKeeper
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694553 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 18:59:23 +00:00
Noble Paul
db2ccb1d41
SOLR-7757: Improved security framework where security components can be edited/reloaded, Solr now watches /security.json. Components can choose to make their configs editable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694552 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 18:57:34 +00:00
David Wayne Smiley
13f8ab93a9
LUCENE-6720: new FunctionRangeQuery wrapper around ValueSourceScorer.
...
And ValueSourceScorer improvements.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694543 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 17:47:24 +00:00
Mark Robert Miller
d16712c71b
SOLR-7868: CdcrReplicationDistributedZkTest should be run @Nightly.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694515 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 15:00:52 +00:00
Gregory Chanan
589a27eb27
SOLR-7855: OverseerCollectionProcessor: separate general task management from collection message handling
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694406 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 06:07:32 +00:00
Timothy Potter
7cdc63f3d4
SOLR-7866: Harden code to prevent an unhandled NPE when trying to determine the max value of the version field.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694385 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 00:53:28 +00:00
Christine Poerschke
1e71faf3ba
SOLR-7877: TestAuthenticationFramework.testBasics to preserve/restore the original request(Username|Password)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694314 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 20:05:27 +00:00
Yonik Seeley
40773abf6e
SOLR-7220: Nested C-style comments in solr queries.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694273 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 17:50:43 +00:00
Noble Paul
4112979808
SOLR-7849: Solr-managed inter-node authentication when authentication enabled
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694217 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 13:59:14 +00:00
Varun Thacker
23762d5015
SOLR-7818: Distributed stats is only calculated with the terms that are present in the last shard of a distributed request
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694210 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 13:30:53 +00:00
Varun Thacker
4b83947e1c
SOLR-7756: ExactStatsCache and LRUStatsCache will throw an NPE when a term is not present on a shard
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694182 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 11:40:12 +00:00
Christine Poerschke
2de2e0a16f
SOLR-7766: support creation of a coreless collection via createNodeSet=EMPTY
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694181 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 11:34:46 +00:00
Timothy Potter
1930323dbc
SOLR-7847: disable the testTechproductsExample test that is failing on Jenkins
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694176 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 11:11:42 +00:00
Timothy Potter
6bb7fdd949
SOLR-7847: rollback accidental commit of VersionInfo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694173 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 11:10:29 +00:00
Timothy Potter
01185c98db
SOLR-7847: disable the testTechproductsExample test that is failing on Jenkins
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694172 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 11:08:50 +00:00
Timothy Potter
2753a1f187
SOLR-7847: fix test failures due to post.jar missing, work around by invoking SimplePostTool directly vs using post.jar
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694104 13f79535-47bb-0310-9956-ffa450edef68
2015-08-04 20:27:49 +00:00
Chris M. Hostetter
4ceb26a3ce
LUCENE-6609: refactor Solr tests to isolate SortedSetSelector dependent code into a test that SuppressCodecs the problematic docvalues formats
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694090 13f79535-47bb-0310-9956-ffa450edef68
2015-08-04 17:19:55 +00:00
Timothy Potter
c1522a9c75
SOLR-7847: Implement run example logic in Java instead of OS-specific scripts in bin/solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694083 13f79535-47bb-0310-9956-ffa450edef68
2015-08-04 16:32:12 +00:00
Chris M. Hostetter
0b309054b6
LUCENE-6609: Add getSortField impls to many subclasses of FieldCacheSource which return the most direct SortField implementation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693979 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 23:13:22 +00:00
Erik Hatcher
5b21274051
SOLR-7799: fix mistake of docs count for terms being inside the new if condition inadvertently
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693943 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 17:33:00 +00:00
Erik Hatcher
2255cd3e54
SOLR-7799: Added includeIndexFieldFlags to /admin/luke
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693935 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 17:06:49 +00:00
Noble Paul
40e2cded26
SOLR-6625: Remove the HttpContext which provides our request
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693931 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 16:23:01 +00:00
Mikhail Khludnev
83520603c1
SOLR-5882: introducing local param {!parent score=..}..
...
fixing ScoreMode.Min for ToParentBlockJoinQuery
fixing ScoreMode parsing exception in ScoreJoinQParserPlugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693926 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 16:14:52 +00:00
Jan Høydahl
8d79295286
SOLR-7863: Lowercase the CLUSTERPROP command in ZkCLI for consistency, print error for unknown cmd (janhoy)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693887 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 12:18:30 +00:00
Jan Høydahl
4a63a328d4
SOLR-3085: New edismax param mm.autoRelax which helps in certain cases of the stopwords/zero-hits issue
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693833 13f79535-47bb-0310-9956-ffa450edef68
2015-08-02 22:31:19 +00:00
Shalin Shekhar Mangar
85347285f8
SOLR-6273: Reset test hooks in a finally block to avoid leakage to other tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693786 13f79535-47bb-0310-9956-ffa450edef68
2015-08-02 05:26:25 +00:00
Shalin Shekhar Mangar
2a8bef841a
SOLR-7854: Remove unused ZkStateReader.updateClusterState(false) method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693681 13f79535-47bb-0310-9956-ffa450edef68
2015-08-01 06:24:04 +00:00
Chris M. Hostetter
5f5ab2a79f
SOLR-2522: new two argument option for the existing field() function; picks the min/max value of a docValues field to use as a ValueSource: "field(field_name,min)" and "field(field_name,max)"
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693625 13f79535-47bb-0310-9956-ffa450edef68
2015-07-31 16:21:44 +00:00
Christine Poerschke
22d67a637a
SOLR-7823: TestMiniSolrCloudCluster.testCollectionCreateSearchDelete async collection-creation (sometimes)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693616 13f79535-47bb-0310-9956-ffa450edef68
2015-07-31 15:35:10 +00:00
Noble Paul
e513869cd6
SOLR-6625: formatting fixed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693434 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 14:39:23 +00:00
Noble Paul
b09a4553f7
SOLR-6625: Enable registering interceptors for the calls made using HttpClient and make the
...
request object available at the interceptor context
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693432 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 14:28:20 +00:00
Timothy Potter
db1f4a81a7
SOLR-6357: Allow delete documents by doing a score join query.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693338 13f79535-47bb-0310-9956-ffa450edef68
2015-07-29 19:45:47 +00:00
Shalin Shekhar Mangar
a5d3bd5645
SOLR-7842: ZK connection loss or session expiry events should not fire config directory listeners
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693218 13f79535-47bb-0310-9956-ffa450edef68
2015-07-29 08:56:28 +00:00
Chris M. Hostetter
cf829a36ba
SOLR-7804: fix test bug that caused incorrect epsilon comparisons when expected value is negative. also fix bug in "test the test" sanity checks of epsilon comparisons
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693160 13f79535-47bb-0310-9956-ffa450edef68
2015-07-28 21:01:57 +00:00
Mikhail Khludnev
65b595add4
SOLR-6234: Scoring for query time join
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693092 13f79535-47bb-0310-9956-ffa450edef68
2015-07-28 13:24:04 +00:00
Chris M. Hostetter
0155076b1f
SOLR-7829: Fixed a bug in distributed pivot faceting that could result in a facet.missing=true count which was lower then the correct count if facet.sort=index and facet.pivot.mincount > 1
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692983 13f79535-47bb-0310-9956-ffa450edef68
2015-07-28 03:32:20 +00:00
Shalin Shekhar Mangar
f33b81fe1e
Remove unnecessary INFO log line
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692690 13f79535-47bb-0310-9956-ffa450edef68
2015-07-26 05:30:17 +00:00
Shalin Shekhar Mangar
ec8b180757
Fix typos
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692688 13f79535-47bb-0310-9956-ffa450edef68
2015-07-26 05:21:48 +00:00
Jan Høydahl
2d5f162bb8
SOLR-7735: Look for solr.xml in Zookeeper by default
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692673 13f79535-47bb-0310-9956-ffa450edef68
2015-07-26 00:15:27 +00:00
Shalin Shekhar Mangar
8649f3f3bd
SOLR-7825: Forbid all usages of log4j and java.util.logging classes in Solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692624 13f79535-47bb-0310-9956-ffa450edef68
2015-07-25 14:34:47 +00:00
Chris M. Hostetter
f00964e7db
SOLR-7804: Fix test bug where it was randomly generating 2 identical facet.pivot params w/o realizing it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692552 13f79535-47bb-0310-9956-ffa450edef68
2015-07-24 17:34:08 +00:00
Gregory Chanan
d50f1e3703
SOLR-7742: Avoid stacktrace in info logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692309 13f79535-47bb-0310-9956-ffa450edef68
2015-07-22 18:18:54 +00:00
Yonik Seeley
fbd467ad76
SOLR-7446: simplify missing bucket handling
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692304 13f79535-47bb-0310-9956-ffa450edef68
2015-07-22 17:54:36 +00:00
Joel Bernstein
129a83b198
SOLR-7441:Improve overall robustness of the Streaming stack: Streaming API, Streaming Expressions, Parallel SQL
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692193 13f79535-47bb-0310-9956-ffa450edef68
2015-07-21 20:28:35 +00:00
Chris M. Hostetter
9e61daf0fa
SOLR-7765: Hardened the behavior of TokenizerChain when null arguments are used in constructor. This prevents NPEs in some code paths.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692170 13f79535-47bb-0310-9956-ffa450edef68
2015-07-21 16:49:37 +00:00
Adrien Grand
3b63fbe07a
SOLR-7815: Removed LuceneQueryOptimizer.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692070 13f79535-47bb-0310-9956-ffa450edef68
2015-07-21 08:50:06 +00:00
Adrien Grand
3be6ef209b
LUCENE-7715: Removed IgnoreAcceptDocsQuery.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692062 13f79535-47bb-0310-9956-ffa450edef68
2015-07-21 08:03:32 +00:00
Uwe Schindler
4d2bdd36d6
SOLR-7803: Use Java 8 ThreadLocal
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691900 13f79535-47bb-0310-9956-ffa450edef68
2015-07-20 09:41:19 +00:00
Uwe Schindler
50f168ed4c
SOLR-7803: Prevent class loading deadlock in TrieDateField; refactor date formatting and parsing out of TrieDateField and move to static utility class DateFormatUtil
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691893 13f79535-47bb-0310-9956-ffa450edef68
2015-07-20 09:07:50 +00:00
Erick Erickson
e7640f99a0
SOLR-6273: Cross Data Center Replication. All tests are now passing on my machine, let's see if Jenkins flushes anything out
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691606 13f79535-47bb-0310-9956-ffa450edef68
2015-07-17 16:38:13 +00:00
Dawid Weiss
8b3bc2f088
Merging with trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691514 13f79535-47bb-0310-9956-ffa450edef68
2015-07-17 11:10:25 +00:00
Yonik Seeley
58ec4d8824
SOLR-7800: avg facet function should skip missing values
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691430 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 18:28:57 +00:00
Dawid Weiss
85afee91b7
Corrected same-argument assertion.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691415 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 15:30:19 +00:00
Dawid Weiss
4404d92e48
Locale-sensitive format is banned.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691367 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 11:29:55 +00:00
Dawid Weiss
623d6b16b2
FileWriter is banned.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691362 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 11:26:07 +00:00
Dawid Weiss
8b8d724e30
Author tags removed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691361 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 11:22:50 +00:00
Dawid Weiss
396af9aee6
Correct javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691359 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 11:14:59 +00:00
Dawid Weiss
139460e8c5
Ported tests as well.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691351 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 10:47:37 +00:00
Dawid Weiss
1842589815
SOLR-7787 (jhll integration).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691350 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 10:32:07 +00:00
Noble Paul
422694f9c0
SOLR-7793: Refactor some utility methods to a separate utility class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690935 13f79535-47bb-0310-9956-ffa450edef68
2015-07-14 13:55:46 +00:00
Gregory Chanan
8b06b59efa
SOLR-7742: Support for Immutable ConfigSets
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690828 13f79535-47bb-0310-9956-ffa450edef68
2015-07-13 22:01:50 +00:00
Anshum Gupta
82bb97f005
SOLR-7703: Authentication plugin is now loaded using the RessourceLoader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690553 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 23:49:08 +00:00
Yonik Seeley
9152164afb
SOLR-7781: change FacetField BytesRef shallow clone to deep clone
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690541 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 22:34:53 +00:00
Shalin Shekhar Mangar
07a615fd65
SOLR-7529: CoreAdminHandler Reload throws NPE on null core name instead of a bad request error
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690426 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 05:36:05 +00:00
Shalin Shekhar Mangar
2c64848c78
SOLR-7705: CoreAdminHandler Unload no longer handles null core name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690424 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 05:28:55 +00:00
Erick Erickson
6f109e7c65
SOLR-7172: addreplica API fails with incorrect error msg 'cannot create collection'
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690341 13f79535-47bb-0310-9956-ffa450edef68
2015-07-11 04:17:49 +00:00