Commit Graph

25566 Commits

Author SHA1 Message Date
Mike McCandless 15526e776a Remove IW.slowFileExists, since it's only called from "used to be helpful but now useless" asserts:
- Directory.copyFrom now throws an exception if the test already exists

  - Directory.sync now throws an exception if a file name didn't already exist
2016-07-11 05:33:47 -04:00
Shalin Shekhar Mangar 9d8cc80a79 SOLR-9291: ZkSolrResourceLoader should not retry fetching resources if the server has been shutdown
(cherry picked from commit 42e1caf)
2016-07-11 07:36:30 +05:30
David Smiley da25555baf SOLR-9270: spatialContextFactory now accepts "JTS" alias. Spatial config attributes with old package names are now rewritten with a warning.
(cherry picked from commit 360b9a3)
2016-07-09 10:56:59 -04:00
yonik 1a53346c0e SOLR-9163: sync basic_configs w/ data_driven_schema_configs 2016-07-08 15:45:30 -04:00
Mike McCandless df2207c5dc LUCENE-7276: MatchNoDocsQuery now inclues an optional reason for why it was used 2016-07-08 13:08:26 -04:00
Alan Woodward fda3d8b7c2 SOLR-9181: Fix race in constructState() and missing call in forceUpdateCollection() 2016-07-08 14:29:49 +01:00
Alan Woodward 86d8d3a937 SOLR-9181: More logging 2016-07-08 14:29:42 +01:00
Alan Woodward 60232cd028 SOLR-9181: Add some logging to ZkStateReader to try and debug test failures 2016-07-08 14:29:34 +01:00
markrmiller b0386f0d64 SOLR-9236: Don't use System.currentTimeMillis. 2016-07-07 20:32:09 -04:00
markrmiller e91863b8e1 SOLR-9236: Fix import. 2016-07-07 12:47:50 -04:00
markrmiller dc763e383d SOLR-9236: AutoAddReplicas will append an extra /tlog to the update log location on replica failover. 2016-07-07 09:39:05 -04:00
Mike McCandless 182f01365f improve docs 2016-07-07 08:45:38 -04:00
Dawid Weiss 4bcda43fd8 Added tests.awaitsfix to properties passed to forked JVMs in tests. Added a little info about tests.filter to test-help. 2016-07-07 10:16:11 +02:00
Shalin Shekhar Mangar 4921dcd80c SOLR-8858: SolrIndexSearcher#doc() completely ignores field filters unless lazy field loading is enabled.
This closes #47.
(cherry picked from commit 24d6b78)
2016-07-07 13:23:39 +05:30
Erick 90b572bce6 Merge remote-tracking branch 'origin/branch_6x' into branch_6x
# Conflicts:
#	solr/CHANGES.txt
2016-07-06 21:03:05 -07:00
Erick 602a72ddad SOLR-9277: Clean up some more remnants of supporting old and new style solr.xml in tests
(cherry picked from commit 7743718)
2016-07-06 21:02:20 -07:00
jbernste de7a3f6f68 SOLR-9193,SOLR-9243: update CHANGES.txt 2016-07-06 19:20:44 -04:00
jbernste a86f25ea0c SOLR-9193: Fix-up javdoc 2016-07-06 19:20:44 -04:00
Erick Erickson 6a278333f2 SOLR-7903: Comment out trappy references to example docs in elevate.xml files
(cherry picked from commit db29544)
2016-07-06 15:00:39 -07:00
Chris Hostetter f69e624645 Merge remote-tracking branch 'refs/remotes/origin/branch_6x' into branch_6x (SOLR-9180) 2016-07-06 14:15:21 -07:00
Shalin Shekhar Mangar a942de68fc SOLR-9207: PeerSync recovery failes if number of updates requested is high. A new useRangeVersions config option is introduced (defaults to true) to send version ranges instead of individual versions for peer sync.
(cherry picked from commit 380c5a6)
2016-07-07 02:35:20 +05:30
jbernste e27849052e SOLR-9193: Added terms.limit and distrib=true params to /terms request 2016-07-06 16:58:40 -04:00
jbernste 7a5e6a5f7e SOLR-9193: Added test using the termFreq param and basic error handling 2016-07-06 16:58:40 -04:00
jbernste bc0eac8b6b SOLR-9193: Fix conflict between parameters of TermsComponent and json facet API 2016-07-06 16:58:40 -04:00
jbernste ed86e014f6 SOLR-9193: fixing failing tests due to changes in TermsComponent 2016-07-06 16:58:40 -04:00
jbernste 879a245e4e SOLR-9193: Add scoreNodes Streaming Expression
Conflicts:
	solr/core/src/java/org/apache/solr/handler/StreamHandler.java
2016-07-06 16:58:40 -04:00
jbernste 1427f4b2e7 SOLR-9243:Add terms.list parameter to the TermsComponent to fetch the docFreq for a list of terms 2016-07-06 16:58:40 -04:00
David Smiley 1e1dc91bbf Fix duplicate Bug Fixes section 2016-07-06 16:48:18 -04:00
Chris Hostetter fee9526208 SOLR-9180: More comprehensive tests of psuedo-fields for RTG and SolrCloud requests
This commit also includes new @AwaitsFix'ed tests for the following known issues...

 * SOLR-9285 ArrayIndexOutOfBoundsException when ValueSourceAugmenter used with RTG on uncommitted doc
 * SOLR-9286 SolrCloud RTG: psuedo-fields (like ValueSourceAugmenter, [shard], etc...) silently fails (even for committed doc)
 * SOLR-9287 single node RTG: NPE if score is requested
 * SOLR-9288 RTG: fl=[docid] silently missing for uncommitted docs
 * SOLR-9289 SolrCloud RTG: fl=[docid] silently ignored for all docs

(cherry picked from commit ae316f1e39)
2016-07-06 13:46:15 -07:00
David Smiley 4a1b78af71 LUCENE-7340: MemoryIndex.toString renamed to toStringDebug; fix NPE
(cherry picked from commit 3ca4fea)
2016-07-06 11:30:08 -04:00
Mike McCandless 4ff882e4aa LUCENE-7302: IW.getMaxCompletedSequenceNumber was returning the wrong value after IW.deleteAll 2016-07-06 09:29:57 -04:00
Mike McCandless 6c730ab74f LUCENE-7287: normalize Ukrainian morfologik dictionary to have unique token+lemma pairs 2016-07-06 06:19:19 -04:00
Varun Thacker ee21bb3b3f SOLR-9088: Fixed TestManagedSchemaAPI failures which exposed race conditions in the schema API 2016-07-06 14:09:56 +05:30
Varun Thacker 413ea47670 SOLR-9242: Collection backup/restore to provide a param for specifying underlying storage repository to use 2016-07-06 13:21:31 +05:30
Erick Erickson 98ad225cf4 SOLR-8848:When a SolrJ alias watch is triggered, the new alias state should be logged
(cherry picked from commit da1f6e9)
2016-07-05 18:13:27 -07:00
Steve Rowe 7d092fac4e LUCENE-2605: Add classic QueryParser option setSplitOnWhitespace() to control whether to split on whitespace prior to text analysis. Default behavior remains unchanged: split-on-whitespace=true. 2016-07-05 18:04:09 -04:00
Chris Hostetter 5abdcb8fa5 SOLR-9235: Fixed NPE when using non-numeric range query in deleteByQuery
(cherry picked from commit 54b3945572)
2016-07-05 14:23:21 -07:00
Shalin Shekhar Mangar 119ea15ad6 SOLR-8048: Stop using deprecated CollectionAdminRequest.Reload constructor
(cherry picked from commit 8653be9)
2016-07-05 12:54:49 +05:30
Shalin Shekhar Mangar 31316f7682 SOLR-8048: Close the http client in a finally clause at the end of the test
(cherry picked from commit 2d6b7ea)
2016-07-05 12:54:49 +05:30
Erick 50a9153462 SOLR-9276: Remove remnants of old-style core definitions from OpenCloseCoreStressTest
(cherry picked from commit 32e0f5f)
2016-07-04 17:14:51 -07:00
Erick Erickson 71842a6277 SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper. Windows text fix 3
(cherry picked from commit 9dd9a6f)
2016-07-04 10:27:21 -07:00
Christine Poerschke bb8fc6f29b LUCENE-7358: Remove redundant failonerror=true in (contrib|modules)-crawl elements. 2016-07-04 12:10:12 +01:00
Adrien Grand 64780b7592 LUCENE-7353: ScandinavianFoldingFilterFactory and ScandinavianNormalizationFilterFactory now implement MultiTermAwareComponent. 2016-07-04 09:49:26 +02:00
Adrien Grand 01de73bc0a LUCENE-7351: Doc id compression for points. 2016-07-04 09:33:59 +02:00
Adrien Grand 4eaf66acb6 LUCENE-7367: Upgrade TestQualityRun to bm25. 2016-07-04 09:09:39 +02:00
Erick Erickson c0036aaeee SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper. More Windows fixes
(cherry picked from commit 65c3485)
2016-07-03 17:32:10 -07:00
Erick Erickson dd761584c7 SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper - Fix Windows failures 2016-07-02 19:15:21 -07:00
Erick ee0dbf55f7 SOLR-9194: fixed merge foo 2016-07-02 11:43:37 -07:00
Erick fa3e79ba3c SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper
(cherry picked from commit a851d5f)
2016-07-02 11:35:46 -07:00
Alan Woodward 997489f78a SOLR-9076: Fix ivy config to pass precommit 2016-07-01 16:01:57 +01:00