Mark Robert Miller
a8949dce07
SOLR-2565: Fix bug - soft commit should not try and respect commitWithin. Also, since it drives me nuts, make CommitTracker more thread safe than it was.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159472 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 01:48:31 +00:00
Uwe Schindler
236fb6d96c
SOLR-2565: Revert the commit that caused the slowness in some tests until we have a reason and solution for this
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159448 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 23:43:06 +00:00
Chris M. Hostetter
75d3e1e37d
SOLR-2675: CoreAdminHandler now allows arbitrary properties to be specified when CREATEing a new SolrCore using property.* request params
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159418 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 21:13:56 +00:00
Mark Robert Miller
7354f8d9e8
SOLR-2654: Directorys used by a SolrCore are now closed when they are no longer used.
...
SOLR-2654: The same Directory instance is now always used across a SolrCore so that
it's easier to add other DirectoryFactory's without static caching hacks.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159378 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 19:46:30 +00:00
Mark Robert Miller
277c674be0
SOLR-2717: Some tests annoyingly use a data dir under example/multicore/core0|1 - worse, more than one test does this, so sometimes they can stomp on each other.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159304 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 16:37:13 +00:00
Robert Muir
74f13af83d
LUCENE-3382: fix compound-file/NoSuchDirectoryException bugs in NRTCachingDir
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159291 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 16:02:06 +00:00
Christopher John Male
3a9bdecab0
SOLR-2708: Further DocumentObjectBinder cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159083 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 08:29:26 +00:00
Christopher John Male
04bd9ae73a
LUCENE-3286: Moved xml qp's demo into demo contrib
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159002 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 02:57:00 +00:00
Christopher John Male
4f2fc58301
LUCENE-3271: Moved 'good' queries into queries module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158997 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 02:36:32 +00:00
Steven Rowe
7c7326ef30
LUCENE-3378: Maven build config: stop building no-longer-necessary Lucene and analysis-common test jars; drop unnecessary test dependencies from contribs/modules
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158947 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 22:26:43 +00:00
Robert Muir
ed387369dd
LUCENE-3330: revise Scorer visitor API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158916 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 21:12:39 +00:00
Robert Muir
caf468b938
LUCENE-3378: add a QPTestBase for shared QP test methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158861 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 18:34:04 +00:00
Steven Rowe
8203481079
LUCENE-3378: Maven build config: Include test-framework non-java files in Lucene's test resources, so that tests can find the europarl file now under test-framework
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158858 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 18:24:06 +00:00
Robert Muir
a5d2d78cec
LUCENE-3378: nuke another useless custom test-classpath
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158857 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 18:21:41 +00:00
Robert Muir
cd237006cc
LUCENE-3378: move CachingWrapperFilterHelper to test-framework
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158832 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 17:06:59 +00:00
Robert Muir
efbdae6dd2
LUCENE-3378: remove unneeded special test-classpaths in build
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158821 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 16:45:37 +00:00
Robert Muir
99ac972281
LUCENE-3378: move collationtestbase to tests-framework
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158819 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 16:43:13 +00:00
Robert Muir
8a0578dfe2
LUCENE-3378: move VocabularyAssert to test-framework
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158730 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 14:19:15 +00:00
Robert Muir
f06edac7c5
LUCENE-3378: some contribs depend on core tests compiled
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158697 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 13:44:23 +00:00
Robert Muir
dfd24c6424
LUCENE-3354: don't use such long strings in test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158661 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 12:39:09 +00:00
Martijn van Groningen
cadb01d22b
LUCENE-3354 fixed test failure
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158571 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 08:31:56 +00:00
Christopher John Male
114df7a852
SOLR-2708: Cleaned up DocumentObjectBinder
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158525 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 05:45:42 +00:00
Robert Muir
480fd0c8b5
unbreak the build
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158489 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 02:12:16 +00:00
Martijn van Groningen
6bada90b74
LUCENE-3354: FieldCache can cache DocTermOrds.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158422 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 19:06:11 +00:00
Martijn van Groningen
4dfa638783
LUCENE-3354: FieldCache can cache DocTermOrds.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158393 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 17:44:16 +00:00
Robert Muir
7eab19aff7
LUCENE-3375: fix synonyms bug where keepOrig=false would discard unmatched inputs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158342 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 16:01:05 +00:00
Christopher John Male
e227a64b9d
LUCENE-3311: Cleaned up XML QP codebase
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158088 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 02:11:07 +00:00
Ryan McKinley
4bf2a3ab2b
SOLR-2657: adding some more comments and caching glob calculations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1157692 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 01:02:18 +00:00
Ryan McKinley
e290f25420
SOLR-2700: supporting score==*,score
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1157687 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 00:42:42 +00:00
Uwe Schindler
87dddfb87f
also support new "Oracle" JRE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1157437 13f79535-47bb-0310-9956-ffa450edef68
2011-08-13 22:52:45 +00:00
Mark Robert Miller
e3e644b28d
SOLR-2565: Stop trying to avoid soft/hard commit together for now - it's more complicated than this - also allow name for CommitTracker.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1157425 13f79535-47bb-0310-9956-ffa450edef68
2011-08-13 21:06:01 +00:00
Yonik Seeley
baf2b785af
tests: don't compare response header
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1156597 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 12:37:02 +00:00
Stanisław Osiński
0f69e62854
SOLR-2706: The carrot.lexicalResourcesDir parameter does not work with absolute directories, CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1156591 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 12:23:08 +00:00
Stanisław Osiński
d003046438
SOLR-2706: The carrot.lexicalResourcesDir parameter does not work with absolute directories
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1156590 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 12:20:37 +00:00
Mark Robert Miller
9d3eb8755b
SOLR-2705: Add extra test check suggested by Yury
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1156441 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 02:00:11 +00:00
Mark Robert Miller
adab6ebc59
SOLR-2705: Improve fix - refactor SolrCore out of DefaultIndexProvider and into it's methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1156333 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 19:37:13 +00:00
Simon Willnauer
1a70ccb893
LUCENE-3372: decrement SIS files if preparecommit fails
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1156314 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 18:58:21 +00:00
Mark Robert Miller
6dcc59e10c
SOLR-2705: On reload, IndexWriterProvider holds onto the initial SolrCore it was created with.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1156303 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 18:34:45 +00:00
Mark Robert Miller
9c1d10c4e9
defense against NPE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1156201 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 14:49:03 +00:00
Simon Willnauer
8c83a10317
migrate changes from 3.x
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1156054 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 07:36:21 +00:00
Simon Willnauer
06ffbbdc1e
LUCENE-3365: Create or Append mode determined before obtaining write lock
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1156053 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 07:34:32 +00:00
Yonik Seeley
25e1cf93dc
SOLR-2565: fix update handler reopen race
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1155964 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 22:59:30 +00:00
Simon Willnauer
78d186e081
LUCENE-3348: IndexWriter applies wrong deletes during concurrent flush-all
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1155278 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 09:22:15 +00:00
Mark Robert Miller
fda091ef24
SOLR-2698: Enhance CoreAdmin STATUS command to return index size.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1155194 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 02:40:52 +00:00
Robert Muir
12eab24036
switch to address that won't cause false fails
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1155030 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 17:58:11 +00:00
Simon Willnauer
e1e8bc134a
removed unused import
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1154953 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 13:15:39 +00:00
Robert Muir
f7237cb165
LUCENE-3361: remove api deprecations in trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1154943 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 12:17:33 +00:00
Robert Muir
ef56f5d551
LUCENE-3361: port url+email tokenizer to standardtokenizerinterface, fix combining marks bug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1154936 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 11:57:59 +00:00
Robert Muir
718f42479f
SOLR-2688: switch solr 4.0 example to DirectSpellChecker
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1154935 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 11:55:03 +00:00
Robert Muir
f000ddc947
LUCENE-3362: use a seed for the test runner, so tests work better from IDEs/maven
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1154926 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 11:35:37 +00:00