Commit Graph

16900 Commits

Author SHA1 Message Date
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
Steven Rowe 42dd280c97 LUCENE-4843: Add LimitTokenPositionFilter: don't emit tokens with positions that exceed the configured limit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457572 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 22:09:44 +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
Michael McCandless fe6c8d3ea8 disperse the old FST TODO file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457549 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 20:14:14 +00:00
Michael McCandless 8cde21a2c2 LUCENE-4841: add example for SortedSetDV facets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457545 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 19:51:50 +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
Michael McCandless 3c5031804f add Closeable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457459 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 15:13:37 +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
Shai Erera 0f3af7cec9 LUCENE-4838: Add BytesRefHash.find()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457400 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 08:58:51 +00:00
Steven Rowe efaef82383 Fix AnalyzerFactoryTask to call ResourceLoaderAware.inform using the current directory if neither the 'work.dir' property value nor ./work/ are legit directories; also fix the english-porter-comparison.alg report task to be RepSumByNameRound instead of RepSumByName.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457390 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 07:32:30 +00:00
Steven Rowe 9fffda8c34 LUCENE-4842: Unbreak SynonymMap.Builder.join(String[],CharsRef)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457380 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 06:02:33 +00:00
Michael McCandless 9316cb96f2 LUCENE-4840: fix test to either use DV or not ... don't mix (so that we catch any bugs in SSDVFFs drill down
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457350 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 00:26:48 +00:00
Adrien Grand 30773dc5a4 Add svn:eol-style.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457343 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 23:39:39 +00:00
Michael McCandless 6e44af52e1 LUCENE-4840: fix SortedSetDocValuesFacetFields to index drill-down postings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457323 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 22:17:27 +00:00
Steven Rowe 3f9dcad7ac Add alg to compare performance of porter and porter2 stemmers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457317 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 21:45:03 +00:00
Adrien Grand cd5b023219 LUCENE-4839: Fix bug in SorterTemplate.timSort().
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457315 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 21:37:33 +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
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