Commit Graph

16841 Commits

Author SHA1 Message Date
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
James Dyer e9f2108093 SOLR-4361: DIH to allow handler parameters with dots in the name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455245 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 17:37:17 +00:00
Uwe Schindler a770a0d184 Undo the stupid import and use correct type :-)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455202 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 15:59:11 +00:00
Erick Erickson f5b524f434 fix for SOLR-4317, don't requre 'collection1' in test harness. Thanks Tricia.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455196 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 15:46:52 +00:00
Uwe Schindler c724083016 Improve test for deprecated Version enum constants
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455179 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 15:24:18 +00:00
Robert Muir 1600711a61 LUCENE-4819: revert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454996 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 04:40:47 +00:00
Mark Robert Miller 5ea281a9d6 SOLR-4555: When forceNew is used with CachingDirectoryFactory#get, the old CachValue should have it's path set to null.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454993 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 04:20:14 +00:00
Robert Muir c97a94e020 LUCENE-4808: hack around the current jdk8 backwards break bug to please jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454986 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 03:31:41 +00:00
Robert Muir 300451f1f8 add 4.2 back compat index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454980 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 03:11:33 +00:00
Robert Muir 2d71e8843c add test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454978 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 02:42:46 +00:00
Robert Muir 55d9d0b69e add 4.3
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454976 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 02:26:15 +00:00
Robert Muir dd0855c4fe LUCENE-4819: move Sorted(set)DocValuesTermsEnum to codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454968 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 00:59:10 +00:00
Mark Robert Miller a0ef70931c SOLR-4554: There are some test fails because of a wait loop that causes lingering threads.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454932 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 22:19:48 +00:00
Mark Robert Miller a60156aae3 tests: this timeout needs to be even higher for apache freebsd, and this test currently requires 4 shards because I have seen shard1 get one node and shard2 get two
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454926 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 21:37:52 +00:00
Mark Robert Miller cea9a4e66b SOLR-4553: attempt to harden #testNodeWithoutCollectionForwarding
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454921 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 21:14:24 +00:00
Mark Robert Miller 3da40d53df SOLR-4550: Create a stress test for CachingDirectoryFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454918 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 20:56:49 +00:00
Mark Robert Miller 2fa013d7df SOLR-4475: Fix various places that still assume File based paths even when not using a file based DirectoryFactory.
SOLR-4551: CachingDirectoryFactory needs to create CacheEntry's with the fullpath not path.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454913 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 20:14:31 +00:00
Mark Robert Miller 5b85ec9eb1 tests: raise timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454868 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 16:04:45 +00:00
Shai Erera 3071009fda make sure docs and offsets are the same length
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454849 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 13:37:20 +00:00
Shai Erera cf803eaf92 SortingAtomicReader did not grow the arrays consistently
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454833 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 11:21:05 +00:00
Shai Erera 389bed49f8 LUCENE-3918: port IndexSorter to trunk API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454801 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 07:55:38 +00:00
Mark Robert Miller ff13a11930 tests: a bit more fudge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454761 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 20:41:16 +00:00
Erick Erickson c6ac3031c1 docs for KeywordRepeatFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454384 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 13:41:51 +00:00
Simon Willnauer 5a3ec2d457 LUCENE-4817: Add KeywordRepeaterFilter to emit tokens twice once as keyword and once not as keyword
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454313 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 10:33:23 +00:00
Steven Rowe 14c9f28f57 SOLR-4537: Clean up schema information REST API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454141 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 22:41:18 +00:00
Erick Erickson 62dcc4274a Fixed overly-sensitive failures.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453965 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 17:15:27 +00:00
Michael McCandless 46025f3746 LUCENE-4815: changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453944 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 16:24:32 +00:00
Michael McCandless d2c829cdca LUCENE-4815: allow more than one FacetRequest per dim
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453943 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 16:23:01 +00:00