Commit Graph

16868 Commits

Author SHA1 Message Date
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
Uwe Schindler bd1a1e5ffc LUCENE-4713: The SPI components used to load custom codecs or analysis components were fixed to also scan the Lucene ClassLoader in addition to the context ClassLoader, so Lucene is always able to find its own codecs. The special case of a null context ClassLoader is now also supported.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455860 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 10:10:33 +00:00
Steven Rowe 651a15492b SOLR-4567: copyField source glob matching explicit field(s) stopped working in Solr 4.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455832 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 08:01:50 +00:00
Robert Muir 806bdbe834 LUCENE-4826: add mime-type and license exclusion for test data file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455784 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 03:08:25 +00:00
Mark Robert Miller ba800da0e6 logging: this should not be warn anymore - changing to debug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455753 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 23:29:28 +00:00
Michael McCandless 7cc57853d6 LUCENE-4826: fix PostingsHighlighter PassageQueue comparator so we keep the best 2 passages
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455693 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 20:09:36 +00:00
Steven Rowe 092545884e LUCENE-4642: Add create(AttributeFactory) to TokenizerFactory and subclasses with ctors taking AttributeFactory, and remove Tokenizer's and subclasses' ctors taking AttributeSource.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455670 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 19:04:06 +00:00
Erick Erickson 22401bab04 Fix for SOLR-4557, fixes for reload testing. Also made a series of changes to make reloading cores more robust
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455606 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 16:42:26 +00:00
Robert Muir b25cc528d9 LUCENE-4819: move Sorted(set)DocValuesTermsEnum to codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455391 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 02:17:27 +00:00
Erick Erickson 325ab7dfe1 Fix for assumption in the test harness uncovered by SOLR-4317
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455368 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 00:12:48 +00:00
Michael McCandless 6e2ed94b23 LUCENE-4821: AnalyzingSuggester uses end offset to determine whether the final token was finished or not
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455338 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 21:24:36 +00:00
Simon Willnauer f5c2ceffa3 LUCENE-4822: Add missing files - I blame git...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455325 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 20:51:29 +00:00
Simon Willnauer 45e65d12b8 LUCENE-4822: Add PatternKeywordTokenFilter to marks keywords based on regular expressions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455321 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 20:38:35 +00:00
Chris M. Hostetter a5c4101d9b SOLR-4538: Date Math expressions were being truncated to 32 characters when used in field:value queries in the lucene QParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455269 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 18:14:24 +00:00