Commit Graph

3938 Commits

Author SHA1 Message Date
Mark Robert Miller dfc1718c4c SOLR-4597: Because of Windows, we have to wait to delete the data dir after the SolrCore is closed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457816 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 15:36:40 +00:00
Robert Muir edc777e22e SOLR-4607: use noggit 0.5 release jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457811 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 15:28:35 +00:00
Mark Robert Miller d5bcb41586 SOLR-4605: Rollback does not work correctly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457784 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 14:52:49 +00:00
Robert Muir c04a4a5c96 SOLR-4544: Refactor HttpShardHandlerFactory so load-balancing logic can be customized
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457754 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 13:21:41 +00:00
Uwe Schindler 9a54942863 LUCENE-4747: Fix nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457747 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 13:07:24 +00:00
Uwe Schindler 6231597974 LUCENE-4747: Move to Java 7 in trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457734 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 12:28:52 +00:00
Mark Robert Miller 0756041335 SOLR-4604: remove previous init code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457648 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 05:31:29 +00:00
Mark Robert Miller 5f618b8000 SOLR-4604: UpdateLog#init is over called on SolrCore#reload
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457646 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 05:27:15 +00:00
Mark Robert Miller f33c2917e3 SOLR-4604: SolrCore is not using the UpdateHandler that is passed to it in SolrCore#reload.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457640 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 04:49:48 +00:00
Mark Robert Miller 5aca9b9dab SOLR-4603: CachingDirectoryFactory should use an IdentityHashMap for byDirectoryCache.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457638 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 04:38:12 +00:00
Steven Rowe 4cc5cd56ec Move SOLR-4567 from 4.3 to 4.2.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457629 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 03:40:49 +00:00
Steven Rowe 2315bb4d46 Move SOLR-4537 from 4.3 to 4.2.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457614 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 00:51:37 +00:00
Steven Rowe d612e1139c Add 4.2.1 sections to Solr and Lucene CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457608 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 00:22:26 +00:00
Mark Robert Miller d2275c3145 SOLR-4601: clean up test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457591 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 23:31:07 +00:00
Mark Robert Miller c12d7e22f1 SOLR-4601: A Collection that is only partially created and then deleted will leave pre allocated shard information in ZooKeeper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457585 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 23:18:02 +00:00
Mark Robert Miller 720ded1e46 SOLR-4602: ZkController#unregister should cancel it's election participation before asking the Overseer to delete the SolrCore information.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457584 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 23:16:59 +00:00
Mark Robert Miller 4ba86e84ae fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457557 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 20:46:28 +00:00
Mark Robert Miller 2d406a50b2 SOLR-4597: Additional work.
SOLR-4598: The Core Admin unload command's option 'deleteDataDir', should use the DirectoryFactory API to remove the data dir. 

SOLR-4599: CachingDirectoryFactory calls close(Directory) on forceNew if the Directory has a refCnt of 0, but it should call closeDirectory(CacheValueValue).

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457556 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 20:41:17 +00:00
Mark Robert Miller 025e30b992 SOLR-4597: CachingDirectoryFactory#remove should not attempt to empty/remove the index right away but flag for removal after close.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457494 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 17:36:59 +00:00
Mark Robert Miller 0dece6b609 SOLR-4555: improve solution
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457475 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 16:11:15 +00:00
Mark Robert Miller 20cb1cdca9 tests: higher timeout, more specific fail msg, remove unused import
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457455 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 14:35:59 +00:00
Mark Robert Miller 2549f2e1ef SOLR-4596: DistributedQueue should ensure its full path exists in the constructor.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457310 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 21:17:10 +00:00
Mark Robert Miller 826ab5a532 SOLR-4594: StandardDirectoryFactory#remove accesses byDirectoryCache without a lock
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457293 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 19:02:19 +00:00
Mark Robert Miller c216ff7d82 SOLR-4595: CachingDirectoryFactory#close can throw a concurrent modification exception.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457292 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 19:01:11 +00:00
Mark Robert Miller 13c5526d07 SOLR-4573: Accessing Admin UI files in SolrCloud mode logs warnings.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457281 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 17:53:31 +00:00
Mark Robert Miller 87a6c98b7c SOLR-4592: DefaultSolrCoreState#doRecovery needs to check the CoreContainer shutdown flag inside the recoveryLock sync block.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457199 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 04:06:05 +00:00
Mark Robert Miller 243db2c376 tests: more logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457146 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 22:09:49 +00:00
Stefan Matheis 7710b18b1f SOLR-4311: Admin UI - Optimize Caching Behaviour
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457143 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 21:55:09 +00:00
Mark Robert Miller 0d191235dc tests: use filesystem dir until I figure out why ephemerals dirs are having trouble
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457134 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 21:40:01 +00:00
Mark Robert Miller 596616b469 don't use package as var name - the police will be all over that
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457132 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 21:33:36 +00:00
Stefan Matheis 5b6b0776ef SOLR-4311: Admin UI - Optimize Caching Behaviour
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457099 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 20:36:01 +00:00
Erick Erickson 05c544ec19 SOLR-4318 NPE when doing a wildcard query on a TextField with the default analysis chain
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457032 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 17:40:16 +00:00
Mark Robert Miller 62fd532bae SOLR-4585: The Collections API validates numShards with < 0 but should use <= 0.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456979 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 15:03:02 +00:00
Erick Erickson 78081caf97 Added comments for deprecating solr.xml (SOLR-4196 etc)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456938 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 12:59:53 +00:00
Steven Rowe 67083534ff LUCENE-4642:
* TokenizerFactory.create(Reader) is made final, and calls the AttributeFactory-accepting version with AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY
* TokenizerFactory.create(AttributeFactory, Reader) is made abstract
* Added AttributeFactory-accepting constructors to all Tokenizer's with existing TokenizerFactory subclasses that didn't already have them
* Removed create(Reader) from all TokenizerFactory subclasses

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456768 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 04:41:50 +00:00
Mark Robert Miller c14131d4e7 SOLR-4569: CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456733 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 00:39:54 +00:00
Mark Robert Miller 841d757232 SOLR-4570: Even if an explicit shard id is used, ZkController#preRegister should still wait to see the shard id in it's current ClusterState.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456731 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 00:31:55 +00:00
Mark Robert Miller 4609e9017f SOLR-4571: SolrZkClient#setData should return Stat object.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456727 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 00:04:22 +00:00
Mark Robert Miller b6719269fa SOLR-4568: The lastPublished state check before becoming a leader is not working correctly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456723 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 23:44:21 +00:00
Mark Robert Miller a9fd4c7a3f SOLR-4574: The Collections API will silently return success on an unknown ACTION parameter.
SOLR-4576: Collections API validation errors should cause an exception on clients and otherwise act as validation errors with the Core Admin API.
SOLR-4577: The collections API should return responses (success or failure) for each node it attempts to work with. 

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456683 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 21:01:00 +00:00
Robert Muir 2c64eb9019 LUCENE-4607: add DISI/Spans.cost
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456670 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 20:48:23 +00:00
Erick Erickson d7a71a3a29 Fixed silly sensitivity to file separators (Windows/Unix). Bah.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456659 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 20:37:38 +00:00
Robert Muir 53fd6a8919 LUCENE-4827: expose bm25 parameters in PassageScorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456597 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 18:25:18 +00:00
Mark Robert Miller 3943f0f8c4 SOLR-4578: CoreAdminHandler#handleCreateAction gets a SolrCore and does not close it in SolrCloud mode when a core with the same name already exists.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456596 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 18:25:10 +00:00
Stefan Matheis 07dd466743 SOLR-4371: Admin UI - Analysis Screen shows empty result
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456521 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 16:40:37 +00:00
Erick Erickson 55cb4b443f Fix for SOLR-4575, solr.core.* no longer respected when evaluating config files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456468 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 15:11:51 +00:00
Erick Erickson 43af8ee91b SOLR-4543 added note to CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456435 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 13:53:57 +00:00
Erick Erickson 89a08a3b31 Fix for SOLR-4543, setting shardHandlerFactory in solr.xml/solr.properties does not work
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456433 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 13:47:35 +00:00
Shalin Shekhar Mangar 8f92803353 SOLR-4297: Atomic update request containing null=true sets all subsequent fields to null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456322 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 04:56:45 +00:00
Steven Rowe 37e0f23758 SOLR-4567: Beef up copyField tests, and assert schema conforms to test assumptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456288 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 00:11:06 +00:00