Commit Graph

17081 Commits

Author SHA1 Message Date
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
Uwe Schindler 681f24ca8a LUCENE-4839: Javadocs links, prevent synthetic accessor method access$0() for merge()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457284 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 18:03:13 +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
Adrien Grand 8613df447f LUCENE-4839: Sorter API: Use TimSort to sort doc IDs and postings lists.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457272 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 16:33:30 +00:00
Simon Willnauer 77797c8c85 LUCENE-4837: Expose buffer size in BufferedIndexOutput
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457211 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 06:57:56 +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
Simon Willnauer f4cf5ead7d LUCENE-4836: Fix SimpleRateLimiter#pause to return the actual time spent sleeping
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457154 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 22:45:51 +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
Michael McCandless 8f2294f644 LUCENE-4795: add new facet method to facet from SortedSetDocValues without using taxonomy index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457092 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 20:12:19 +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
Adrien Grand 5eb31627cd LUCENE-4834: Sorter API: Make TermsEnum.docs accept any source of liveDocs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456842 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 09:49:08 +00:00
Adrien Grand 8e387dc423 LUCENE-4830: Add missing @Override.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456796 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 07:37:38 +00:00
Adrien Grand 44ca68f294 LUCENE-4830: Sorter API: Make the doc ID mapping an abstract class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456787 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 07:10:26 +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
Shai Erera 0d8da94624 LUCENE-4831: Association facets aggregators should not support rollupValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456653 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 20:21:01 +00:00
Adrien Grand 3c065d3922 More documentation to help people pick the right PackedInts structure.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456647 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 20:16:57 +00:00
Robert Muir 4e8f2b1749 LUCENE-4827: correct issue number in CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456602 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 18:30:58 +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
Adrien Grand 9dbfa22b82 LUCENE-4833: Make IndexWriterConfig setters throw an exception when passed null if null is not a valid value.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456564 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 17:29:46 +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
Michael McCandless 412a233f5b catch another case where CP can silently corrupt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456500 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 16:04:39 +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
Michael McCandless 1f25393c40 remove CREATE from facet examples
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456120 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 20:30:31 +00:00
Michael McCandless 7b1b6b3399 remove CREATE when creating taxo writer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456118 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 20:24:18 +00:00
Michael McCandless e48d0d44a9 LUCENE-4816: passing null to PostingsHighlighter means the entire content is treated as a single Passage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456115 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 20:07:34 +00:00
Michael McCandless 234fa47dba LUCENE-4820: add optional payload to Analyzing/FuzzySuggester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456095 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 19:13:56 +00:00
Michael McCandless c476a59ff9 LUCENE-4828: BooleanQuery.extractTerms no longer includes terms from MUST_NOT clauses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456074 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 18:22:03 +00:00
Mark Robert Miller c04f1ba800 SOLR-4566: revert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455943 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 14:00:32 +00:00
Mark Robert Miller ccb85cd5cd SOLR-4566: Fix DocCollection to return all shards not just active shards.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455911 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 12:45:22 +00:00
Mark Robert Miller fd1e30a471 change runtime exception to service unavailable solrexception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455904 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 12:28:39 +00:00
Robert Muir c64b374f96 use test-framework seed for randomness and dont share across threads
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455899 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 12:13:08 +00:00