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
Michael McCandless
b16b38118e
LUCENE-4810: don't increment position on every gram (only the first, for a given input token) in EdgeNGramTokenizer/Filter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453937 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 16:07:23 +00:00
Erick Erickson
917abf2873
Fixed EOL-style property
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453873 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 13:59:12 +00:00
Mark Robert Miller
09f4fa2191
SOLR-4497: Collection Aliasing.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453687 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 05:52:23 +00:00
Chris M. Hostetter
2d0001942e
SOLR-4200: Reduce INFO level logging from CachingDirectoryFactory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453560 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 21:07:35 +00:00
Chris M. Hostetter
d5d1603116
more docs about how NOW and TZ params affect DateMathParser
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453507 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 19:35:04 +00:00
Erick Erickson
09bf66350b
Took out extra tracking info, problems doesn't seem to be recurring
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453461 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 18:12:40 +00:00
Steven Rowe
4618a5a0fe
SOLR-4503: Add REST API methods to get schema information: fields, dynamicFields, fieldTypes, and copyFields. Restlet 2.1.1 is integrated and is used to service these requests.
...
Also fixes bugs in dynamic copyField logic described in SOLR-3798.
Also fixes a bug with proxied SolrCloud requests (SOLR-4210) when using the GET method.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453161 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 04:50:33 +00:00