Commit Graph

4309 Commits

Author SHA1 Message Date
David Wayne Smiley ce0363c0ad SOLR-8180: jcl-over-slf4j is officially a solrj/solr dependency now; not marked optional in a POM.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717481 13f79535-47bb-0310-9956-ffa450edef68
2015-12-01 18:12:00 +00:00
Christine Poerschke ab86b188ea SOLR-8321: add a (SolrQueryRequest free) SortSpecParsing.parseSortSpec variant
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717454 13f79535-47bb-0310-9956-ffa450edef68
2015-12-01 16:26:28 +00:00
Erick Erickson 9181fa67d7 Took out debug statements I'd left in a long time ago, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717450 13f79535-47bb-0310-9956-ffa450edef68
2015-12-01 16:06:07 +00:00
Shalin Shekhar Mangar bf48cb639c SOLR-7339: Use GzipHandler instead of GzipFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717431 13f79535-47bb-0310-9956-ffa450edef68
2015-12-01 13:23:08 +00:00
Shalin Shekhar Mangar c10dd7daa7 SOLR-7339: Upgrade Jetty to v9.3.6.v20151106
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717377 13f79535-47bb-0310-9956-ffa450edef68
2015-12-01 04:21:34 +00:00
Gregory Chanan 5a9e07d57a SOLR-8351: Improve HdfsDirectory toString representation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717344 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 22:59:24 +00:00
Gregory Chanan 562d97a69d SOLR-7928: Improve CheckIndex to work against HdfsDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717340 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 22:46:48 +00:00
Alan Woodward e5be9136a6 SOLR-8336: CoreDescriptor takes a Path for its instance dir, rather than a String
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717254 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 14:02:45 +00:00
Christine Poerschke e32f6e5e67 SOLR-8340: Fixed NullPointerException in HighlightComponent.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716911 13f79535-47bb-0310-9956-ffa450edef68
2015-11-27 20:01:25 +00:00
Noble Paul 19b101566d SOLR-8326: If BasicAuth enabled, inter node requests fail after node restart
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716675 13f79535-47bb-0310-9956-ffa450edef68
2015-11-26 14:23:27 +00:00
David Wayne Smiley 0442747f05 LUCENE-6900: Grouping sortWithinGroup shouldn't be null; use Sort.RELEVANCE.
Enhanced related Solr side a bit.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716569 13f79535-47bb-0310-9956-ffa450edef68
2015-11-26 04:56:47 +00:00
Yonik Seeley 45aef9f26d SOLR-8341: fix parsing of domain:{excludeTags:mytag}
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716523 13f79535-47bb-0310-9956-ffa450edef68
2015-11-25 19:51:08 +00:00
Erick Erickson d9129621aa SOLR-8263: Reverting commit, missed latest patch from Renaud
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716233 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 18:50:14 +00:00
Erick Erickson 0f53ac705a SOLR-8263: Tlog replication could interfere with the replay of buffered updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716229 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 18:30:41 +00:00
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