Shalin Shekhar Mangar
a99904a2bd
SOLR-6153: ReplicationHandler backup response format should contain backup name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602592 13f79535-47bb-0310-9956-ffa450edef68
2014-06-14 14:57:30 +00:00
Shalin Shekhar Mangar
a52a82bec5
SOLR-6161: SolrDispatchFilter should throw java.lang.Error back even if wrapped in another exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602590 13f79535-47bb-0310-9956-ffa450edef68
2014-06-14 14:46:10 +00:00
Chris M. Hostetter
e785f602bd
SOLR-5426: Fixed a bug in ReverseWildCardFilter that could cause InvalidTokenOffsetsException when highlighting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602525 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 21:15:50 +00:00
Robert Muir
1ea4ad0b03
LUCENE-5757: move RamUsageEstimator reflector to test-framework
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602515 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 20:41:17 +00:00
Adrien Grand
6f7949c940
LUCENE-5695: DocIdSet implements Accountable.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602387 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 11:39:43 +00:00
Michael McCandless
acf8672b4d
LUCENE-5752: move det to the testcase; clarify javadocs that getCommonPrefix requires det automaton
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5752@1602279 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 19:53:15 +00:00
Robert Muir
398af4596b
LUCENE-5748: Add SORTED_NUMERIC docvalues type
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602277 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 19:40:36 +00:00
Michael McCandless
fe6ba518c9
LUCENE-5752: finish cutover
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5752@1602228 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 16:57:33 +00:00
Shalin Shekhar Mangar
1ab2c1c6eb
Fix typo, rf is actually 3 in code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602210 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 15:45:08 +00:00
Noble Paul
51412938e5
SOLR-6048 the assert was not really failing the test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602138 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 12:18:21 +00:00
Shalin Shekhar Mangar
41fc77fa33
SOLR-6056: Don't publish recovery state until recovery runs to avoid overwhelming the overseer state queue
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602123 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 11:18:33 +00:00
Joel Bernstein
94b5cbe462
SOLR-6150: Improving AnalyticsMergeStrategyTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601997 13f79535-47bb-0310-9956-ffa450edef68
2014-06-11 19:35:19 +00:00
Uwe Schindler
386ad97623
SOLR-5940: post.jar reports back detailed error in case of error responses
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601970 13f79535-47bb-0310-9956-ffa450edef68
2014-06-11 17:50:45 +00:00
Uwe Schindler
9e91ecf59f
Fix test bug on Windows
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601893 13f79535-47bb-0310-9956-ffa450edef68
2014-06-11 13:38:08 +00:00
Steven Rowe
1b049e26ac
SOLR-6145: In AddSchemaFieldsUpdateProcessor.processAdd(), handle ManagedIndexSchema.addFields() failures that won't benefit from retrying.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601775 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 21:23:09 +00:00
Steven Rowe
5f2af20b04
SOLR-6145: Fix Schema API optimistic concurrency by moving it out of ManagedIndexSchema.add(Copy)Fields() into the consumers of those methods: CopyFieldCollectionResource, FieldCollectionResource, FieldResource, and AddSchemaFieldsUpdateProcessorFactory.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601770 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 20:57:00 +00:00
Alan Woodward
0b621ca842
SOLR-6158: Fix configSetBaseDir path resolution
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601758 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 19:48:11 +00:00
Uwe Schindler
43a3f7edb8
SOLR-6157: Disable test that hangs indefinitely
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601678 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 16:39:48 +00:00
Joel Bernstein
bcdd9d7ad8
SOLR-6150: Add new AnalyticsQuery to support pluggable analytics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601664 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 15:08:48 +00:00
Anshum Gupta
84e1847228
SOLR-6123: Fix an occasional failing Jenkins build.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601521 13f79535-47bb-0310-9956-ffa450edef68
2014-06-09 22:59:00 +00:00
Chris M. Hostetter
3e7f0ae52e
SOLR-6067: Refactor duplicate Collector code in SolrIndexSearcher
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601511 13f79535-47bb-0310-9956-ffa450edef68
2014-06-09 21:26:26 +00:00
Shalin Shekhar Mangar
07aeef7a71
SOLR-6149: Specifying the query value without any index value does not work in Analysis browser
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601317 13f79535-47bb-0310-9956-ffa450edef68
2014-06-09 06:38:28 +00:00
Anshum Gupta
fde58d3d67
SOLR-6148: Trying to fix Jenkins failures by not LazyLoading the ParallelExecutor in CoreAdminHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601047 13f79535-47bb-0310-9956-ffa450edef68
2014-06-07 00:53:56 +00:00
Chris M. Hostetter
247464ae9c
SOLR-5285: use FieldType methods to be less brittle
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601044 13f79535-47bb-0310-9956-ffa450edef68
2014-06-07 00:48:48 +00:00
Anshum Gupta
df6d417c44
SOLR-6148: Trying to fix Jenkins failures by not LazyLoading the ParallelExecutor in CoreAdminHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601038 13f79535-47bb-0310-9956-ffa450edef68
2014-06-06 23:44:43 +00:00
Chris M. Hostetter
db538d864c
SOLR-5285: Added a new [child ...] DocTransformer for optionally including Block-Join decendent documents inline in the results of a search
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601028 13f79535-47bb-0310-9956-ffa450edef68
2014-06-06 22:44:02 +00:00
Joel Bernstein
77edd9d5ac
SOLR-6088: Add query re-ranking with the ReRankingQParserPlugin
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600720 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 18:28:30 +00:00
Robert Muir
8f267c8560
LUCENE-5703: BinaryDocValues producers don't allocate or copy bytes on each access anymore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600688 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 15:54:49 +00:00
David Wayne Smiley
eee1f14787
SOLR-6103: DateRangeField
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600557 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 02:05:27 +00:00
David Wayne Smiley
1e24c0218f
SOLR-6103: Add QParser arg to AbstractSpatialFieldType.parseSpatialArgs(). Make getQueryFromSpatialArgs protected no private.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600556 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 02:04:36 +00:00
Anshum Gupta
19da2d5f1e
SOLR-6123: Make CLUSTERSTATE Api unblocked and non-blocking always
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600535 13f79535-47bb-0310-9956-ffa450edef68
2014-06-04 23:02:56 +00:00
Robert Muir
9e6c1432a6
LUCENE-5731: split out direct packed ints from in-ram ones
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600412 13f79535-47bb-0310-9956-ffa450edef68
2014-06-04 18:26:04 +00:00
Steven Rowe
d330799888
LUCENE-5650: Reset solr.hdfs.home correctly to allow TestRecoveryHdfs tests to pass
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600310 13f79535-47bb-0310-9956-ffa450edef68
2014-06-04 15:49:05 +00:00
Dawid Weiss
fc27c11d17
SOLR-6119: refactored doTestBackup into a separate class.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1599943 13f79535-47bb-0310-9956-ffa450edef68
2014-06-04 06:11:24 +00:00
Uwe Schindler
5dbdedb42f
LUCENE-5678: Remove more seeking stuff
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1599568 13f79535-47bb-0310-9956-ffa450edef68
2014-06-03 14:22:40 +00:00
Simon Willnauer
2eed3f94d3
LUCENE-5725: MoreLikeThis#like now accetps multiple values per field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1599442 13f79535-47bb-0310-9956-ffa450edef68
2014-06-03 07:51:55 +00:00
Dawid Weiss
bb9116c485
SOLR-6119: TestReplicationHandler attempts to remove open folders (and other fixes).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1599422 13f79535-47bb-0310-9956-ffa450edef68
2014-06-03 06:21:14 +00:00
Anshum Gupta
22174ac432
SOLR-6026: Also check work-queue while processing a REQUESTSTATUS Collection API Call
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1599248 13f79535-47bb-0310-9956-ffa450edef68
2014-06-02 15:47:26 +00:00
Michael McCandless
ef57126633
LUCENE-5711: fix solr tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598853 13f79535-47bb-0310-9956-ffa450edef68
2014-05-31 11:29:21 +00:00
Adrien Grand
add1e44fd7
LUCENE-5700: Add oal.util.Accountable and make all classes that can compute their memory usage implement it.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598470 13f79535-47bb-0310-9956-ffa450edef68
2014-05-30 07:01:31 +00:00
Dawid Weiss
cc199eb1af
SOLR-6119: a quick workaround for the problem of removing files that are still open during the test.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598205 13f79535-47bb-0310-9956-ffa450edef68
2014-05-29 05:43:09 +00:00
David Wayne Smiley
df42236e4a
Fix cast. IntelliJ didn't seem to care.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598143 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 21:22:57 +00:00
David Wayne Smiley
d61e0f7527
Auto index & optimize imports. And switch to java5 for-each in place of some iterators, generics issues.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598141 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 21:15:43 +00:00
David Wayne Smiley
36c9276bba
SOLR-6118: expand.sort bug for function queries; needed to sort.rewrite(searcher)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598138 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 20:52:24 +00:00
Dawid Weiss
4c29d60c62
Clean up SolrTestCaseJ4.recurseDelete a bit and remove hairy cases of removing the parent file in certain tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598012 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 13:34:52 +00:00
Joel Bernstein
b6d96d1ca8
SOLR-5973: Pluggable Ranking Collectors and Merge Strategies
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597921 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 03:02:13 +00:00
Joel Bernstein
1b9c63fc9d
SOLR-5973: Pluggable Ranking Collectors and Merge Strategies
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597775 13f79535-47bb-0310-9956-ffa450edef68
2014-05-27 13:19:15 +00:00
Shalin Shekhar Mangar
a912f7f8f1
SOLR-6112: Increase default timeout of 10 seconds to 90 seconds to pass on slow machines
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597391 13f79535-47bb-0310-9956-ffa450edef68
2014-05-25 05:20:57 +00:00
Adrien Grand
ed66d23ebc
LUCENE-5701: Move core closed listeners to AtomicReader.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597180 13f79535-47bb-0310-9956-ffa450edef68
2014-05-23 20:54:51 +00:00
Anshum Gupta
f6452d8120
SOLR-5681: Add synchronization while printing tracking maps to a fix jenkins failure
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597137 13f79535-47bb-0310-9956-ffa450edef68
2014-05-23 17:37:06 +00:00
Shalin Shekhar Mangar
7954c8584d
SOLR-6111: The 'deleteshard' collection API should be able to delete a shard in 'construction' state
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597077 13f79535-47bb-0310-9956-ffa450edef68
2014-05-23 12:33:15 +00:00
Timothy Potter
8a220db194
SOLR-6015: improved strategy for handling managed synonyms when ignoreCase=true
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596928 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 18:03:37 +00:00
Timothy Potter
1cc70e75fc
SOLR-5468: Add a little wait for state to propagate after healing partitions; to address intermittent Jenkins failures.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596916 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 16:33:45 +00:00
Shalin Shekhar Mangar
75b9821eb4
SOLR-6101: Shard splitting doesn't work when legacyCloud=false is set in cluster properties
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596828 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 12:10:38 +00:00
Shalin Shekhar Mangar
2af3939769
SOLR-6104: The 'addreplica' Collection API does not support 'async' parameter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596822 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 11:58:07 +00:00
Shalin Shekhar Mangar
988df83885
SOLR-6108: Add support for 'addreplica' Collection API in SolrJ
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596819 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 11:50:31 +00:00
Dawid Weiss
cf5a0caeb6
LUCENE-5650: Enforce read-only access to any path outside the temporary folder via security manager
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596767 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 06:15:26 +00:00
Timothy Potter
8ca3abe369
SOLR-5468: Improve reporting of cluster state when assertions fail; to help diagnose cause of Jenkins failures.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596652 13f79535-47bb-0310-9956-ffa450edef68
2014-05-21 18:56:59 +00:00
Timothy Potter
6abe8b86c4
SOLR-5495: Print cluster state in assertion failure messages if a leader cannot be found to determine root cause of HttpPartitionTest failures in Jenkins.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596636 13f79535-47bb-0310-9956-ffa450edef68
2014-05-21 18:05:53 +00:00
Robert Muir
d1e607f5df
LUCENE-5689: FieldInfo.setDocValuesGen should not be public
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596553 13f79535-47bb-0310-9956-ffa450edef68
2014-05-21 12:23:28 +00:00
Shalin Shekhar Mangar
8c87db7a50
SOLR-5309: Fix DUP.processDelete to route delete-by-id to one sub-shard only. Enable ShardSplitTest again.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596510 13f79535-47bb-0310-9956-ffa450edef68
2014-05-21 08:41:42 +00:00
Robert Muir
1e524542e1
make this assert more robust
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596346 13f79535-47bb-0310-9956-ffa450edef68
2014-05-20 18:17:30 +00:00
Timothy Potter
b49788abfe
SOLR-5468: Add wait loop to see replicas become active after restoring partitions; to address intermittent Jenkins test failures.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596234 13f79535-47bb-0310-9956-ffa450edef68
2014-05-20 13:20:28 +00:00
Timothy Potter
b1035b1a9e
SOLR-5495: Raise the amount of time the test waits for replicas to become active after partitions are healed (to address intermittent Jenkins failures)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596103 13f79535-47bb-0310-9956-ffa450edef68
2014-05-20 02:07:26 +00:00
Timothy Potter
195317786c
SOLR-5468: report replication factor that was achieved for an update request if requested by the client application.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596092 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 23:04:55 +00:00
Anshum Gupta
c3692aa73d
SOLR-5681: Make the OverseerCollectionProcessor multi-threaded
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596089 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 22:40:41 +00:00
Uwe Schindler
c4bdb2dad0
LUCENE-5678: Use FileOutputStream instead of RandomAccessFile to write index data. BufferedIndexOutput and related APIs were removed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596057 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 21:08:16 +00:00
Robert Muir
7aeac4f07b
LUCENE-4371: Replace IndexInputSlicer with IndexInput.slice
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595480 13f79535-47bb-0310-9956-ffa450edef68
2014-05-17 13:44:09 +00:00
Robert Muir
3c78c32c37
LUCENE-5666: merge trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1595228 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 15:04:20 +00:00
Uwe Schindler
67b7b43b49
Simplify for Java 7, which has support for new IOException(message, cause)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1595223 13f79535-47bb-0310-9956-ffa450edef68
2014-05-16 14:55:37 +00:00
Noble Paul
db8a1c7338
log the message when required only
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594801 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 07:46:19 +00:00
Joel Bernstein
18c9215bc1
SOLR-5973: Pluggable Ranking Collectors and Merge Strategies
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1594698 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 20:12:12 +00:00
Robert Muir
c85da1a6a9
LUCENE-5666: merge trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594507 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 07:46:44 +00:00
Robert Muir
2078b86ba7
LUCENE-5666: clear nocommits and fix precommit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594505 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 07:44:05 +00:00
Robert Muir
69d59acc31
LUCENE-5666: support the 2 crazy instances of insanity that are too hard for me to fix :(
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594492 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 07:05:47 +00:00
Robert Muir
7b63afc003
LUCENE-5166: clear most nocommits, move ord/rord to solr (and speed them up), nuke old purging stuff
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594464 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 05:51:24 +00:00
Robert Muir
b3a556bb32
LUCENE-5666: remove insanity during distributed grouping
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594452 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 04:22:07 +00:00
Robert Muir
cce7c4db9c
LUCENE-5666: still return missing count etc when there are no terms
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594445 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 01:57:38 +00:00
Robert Muir
fe8dd29a74
LUCENE-5666: fix StatsComponent insanity
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594441 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 01:25:48 +00:00
Robert Muir
9374fcc6e9
LUCENE-5666: fix rewrite bug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594418 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 23:24:44 +00:00
Robert Muir
ff8e841fa1
LUCENE-5666: fix test failures
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594417 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 23:17:45 +00:00
Robert Muir
1829663cc7
LUCENE-5666: fix test and bug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594327 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 18:55:27 +00:00
Robert Muir
85e4dc3300
LUCENE-5666: fix bug (null is no longer allowed)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594316 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 18:27:03 +00:00
Robert Muir
37d3efbc62
LUCENE-5666: fix some tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594311 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 18:08:30 +00:00
Robert Muir
c58788c27a
LUCENE-5666: fix test to assert from raw reader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594258 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 16:07:36 +00:00
Robert Muir
1489085807
LUCENE-5666: get solr started
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594254 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 15:49:10 +00:00
Robert Muir
9714faa314
LUCENE-5666: get solr compiling
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1593856 13f79535-47bb-0310-9956-ffa450edef68
2014-05-11 20:38:21 +00:00
Timothy Potter
b9e38c0a10
SOLR-5495: Fix HttpPartitionTest to dynamically select the port the Jetty and the SocketProxy binds to, was causing Jenkins failures.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593791 13f79535-47bb-0310-9956-ffa450edef68
2014-05-11 13:51:09 +00:00
Robert Muir
9df7b5c7cf
LUCENE-5666: current state to branch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1593790 13f79535-47bb-0310-9956-ffa450edef68
2014-05-11 13:49:39 +00:00
Ryan Ernst
050b0b8af9
SOLR-6043: Add ability to set http headers in solr response
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593423 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 21:26:37 +00:00
Timothy Potter
eb3beb2d70
SOLR-5495: Hardening recovery scenarios after the leader receives an error trying to forward an update request to a replica.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593312 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 15:48:26 +00:00
Noble Paul
b1a81fe2bc
SOLR-5340 removing a nocommit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593308 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 15:24:31 +00:00
Robert Muir
56ab1d1102
LUCENE-5654: Fix close methods that would suppress OOME or similar
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593152 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 22:44:18 +00:00
Noble Paul
4a84567693
SOLR-5340: Add support for named snapshots
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592957 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 10:12:29 +00:00
Uwe Schindler
0086a6e644
LUCENE-5640: Refactor Token, add new PackedTokenAttributeImpl, make use of Java 7 MethodHandles in DEFAULT_ATTRIBUTE_FACTORY
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592914 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 22:24:58 +00:00
Chris M. Hostetter
e9d549b889
SOLR-6039: fixed debug output when no results in response
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592605 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 18:54:08 +00:00
James Dyer
14d72257a6
SOLR-5090: SpellCheckComponent sometimes throws NPE when "spellcheck.alternativeTermCount" is set to zero
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592591 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 17:56:10 +00:00
Shalin Shekhar Mangar
88846a958d
Fixed a few typos in the javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592572 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 17:04:15 +00:00
Robert Muir
6e9cbf3986
LUCENE-5638: pack the core attributes into one impl by default
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592353 13f79535-47bb-0310-9956-ffa450edef68
2014-05-04 14:36:27 +00:00
Shalin Shekhar Mangar
d67884a07c
SOLR-6023: FieldAnalysisRequestHandler throws NPE if no parameters are supplied
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592195 13f79535-47bb-0310-9956-ffa450edef68
2014-05-03 13:01:36 +00:00
Ryan Ernst
ad37014a3a
SOLR-6022: Rename getAnalyzer() to getIndexAnalyzer()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592076 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 22:34:25 +00:00
Chris M. Hostetter
6821905d24
SOLR-6037: Fixed incorrect max/sum/stddev for Date fields in StatsComponent
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591800 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 00:33:28 +00:00
Shalin Shekhar Mangar
abe013d771
SOLR-6013: Fix method visibility of Evaluator, refactor DateFormatEvaluator for extensibility
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591573 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 09:11:04 +00:00
Shalin Shekhar Mangar
a5c8d6b7a5
SOLR-6030: Use System.nanoTime() instead of currentTimeInMills() in LRUCache.warm
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591555 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 07:39:39 +00:00
Uwe Schindler
bc0d7bbb25
Merged revision(s) 1591333 from lucene/dev/branches/branch_4x:
...
LUCENE-5632: Transition Version constants from LUCENE_MN to LUCENE_M_N
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591365 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 15:50:35 +00:00
Noble Paul
2ce57608ee
revert SOLR-5473 , SOLR-5474
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591253 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 11:24:06 +00:00
Dawid Weiss
8c17d6c662
Marking known offenders.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/LUCENE-5622@1591218 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 09:24:13 +00:00
Michael McCandless
f5de5d01e8
LUCENE-5611: simplify the default indexing chain
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591025 13f79535-47bb-0310-9956-ffa450edef68
2014-04-29 17:18:41 +00:00
Joel Bernstein
37e44ba41a
SOLR-6029: CollapsingQParserPlugin throws ArrayIndexOutOfBoundsException if elevated doc has been deleted from a segment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1590865 13f79535-47bb-0310-9956-ffa450edef68
2014-04-29 04:43:07 +00:00
Robert Muir
f0414ff3af
LUCENE-5611: fix the crazy getAttribute API to prevent double lookups and extra code everywhere
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5611@1590731 13f79535-47bb-0310-9956-ffa450edef68
2014-04-28 18:13:15 +00:00
Ryan Ernst
0dea18dd2e
SOLR-6017: Fix SimpleQParser to use query analyzer instead of index analyzer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1590166 13f79535-47bb-0310-9956-ffa450edef68
2014-04-25 22:18:24 +00:00
Steven Rowe
61ed64ed8e
SOLR-6006: Separate test and compile scope dependencies in the Solrj ivy.xml file, so that the derived Maven dependencies get filled out properly in the Solrj POM
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589937 13f79535-47bb-0310-9956-ffa450edef68
2014-04-25 06:12:45 +00:00
Yonik Seeley
54cfa922ae
SOLR-6011: ComplexPhraseQuery hashCode/equals fix for inOrder
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589812 13f79535-47bb-0310-9956-ffa450edef68
2014-04-24 18:12:15 +00:00
Mark Robert Miller
b25a5d00ab
SOLR-5735: Try to enable this test again.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589489 13f79535-47bb-0310-9956-ffa450edef68
2014-04-23 18:50:54 +00:00
Mark Robert Miller
b74b88a823
SOLR-6002: CLOSE_LOCK does not need to be static, waitForMerges when DirectUpdateHandler2 closes the IndexWriter, add Greg to CHANGES entry.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589327 13f79535-47bb-0310-9956-ffa450edef68
2014-04-23 01:01:45 +00:00
Mark Robert Miller
678758ae57
SOLR-6002: Fix a couple of ugly issues around SolrIndexWriter close and rollback as well as how SolrIndexWriter manages it's ref counted directory instance.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589294 13f79535-47bb-0310-9956-ffa450edef68
2014-04-22 21:23:31 +00:00
Ryan Ernst
056ba38708
SOLR-5999: Add checkIntegrityAtMerge support to solrconfig.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589272 13f79535-47bb-0310-9956-ffa450edef68
2014-04-22 19:45:58 +00:00
Uwe Schindler
0e8a6d7d2f
SOLR-5309: Disable test as it fails now almost every time
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588903 13f79535-47bb-0310-9956-ffa450edef68
2014-04-21 15:33:36 +00:00
Robert Muir
14a9e19e18
LUCENE-5612: fix NativeFSLockFactory to pass LockStressTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588870 13f79535-47bb-0310-9956-ffa450edef68
2014-04-21 11:09:26 +00:00
Robert Muir
ec0a9f1f13
LUCENE-5621: remove IndexOutput.flush
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588739 13f79535-47bb-0310-9956-ffa450edef68
2014-04-20 11:43:42 +00:00
Ryan Ernst
2af485f151
SOLR-5974: Remove ShardDoc.score and use parent's ScoreDoc.score
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588580 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 22:10:26 +00:00
Mark Robert Miller
07470a07f9
SOLR-5996: Fix checkIfDiffIsLegal, add some testing, refactor out a few methods into CloudInspectUtil.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588486 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 15:00:25 +00:00
Shalin Shekhar Mangar
a536cb3548
SOLR-5993: ZkController can warn about shard leader conflict even after the conflict is resolved
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588415 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 05:30:37 +00:00
Mark Robert Miller
bbad949644
SOLR-5776: *sigh* Revert this for now.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588406 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 02:56:48 +00:00
Mark Robert Miller
abed84e836
SOLR-5989: Pass add and delete fails to checkShardConsistency call in ChaosMonkeyNothingisSafeTest so that legal differences are ignored.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588403 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 02:37:12 +00:00
Mark Robert Miller
e2fb46a51e
SOLR-5776: Enabled SSL tests can easily exhaust random generator entropy and block.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588388 13f79535-47bb-0310-9956-ffa450edef68
2014-04-17 23:20:27 +00:00
Erick Erickson
c8bf11d202
add 'remove' as update option for atomically removing a value from a multivalued field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588385 13f79535-47bb-0310-9956-ffa450edef68
2014-04-17 22:46:38 +00:00
Noble Paul
bae74d6649
SOLR-5473 forbidden API usage
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587876 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 11:38:14 +00:00
Noble Paul
3cb0a855a0
SOLR-5473: Make one state.json per collection , SOLR-5474: Have a new mode for SolrJ to support stateFormat=2
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587834 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 08:37:26 +00:00
Shalin Shekhar Mangar
67e6e24d44
Example schema ships with random_ dynamic field so use it instead of rand_ in the example
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587819 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 07:23:34 +00:00
Mark Robert Miller
c7c9fc35a1
SOLR-5904: ElectionContext can cancel an election when it should not if there was an exception while trying to register as the leader.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587702 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 19:28:45 +00:00
Mark Robert Miller
3800409581
SOLR-5980: Add a test.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587149 13f79535-47bb-0310-9956-ffa450edef68
2014-04-14 04:47:19 +00:00
Mark Robert Miller
a4133ca6c2
tests: harden this test due to a current short coming in the collections api.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587099 13f79535-47bb-0310-9956-ffa450edef68
2014-04-13 21:32:58 +00:00
Mark Robert Miller
856cdf8d3e
SOLR-5980: AbstractFullDistribZkTestBase#compareResults always returns false for shouldFail.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586781 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 21:31:50 +00:00
Michael McCandless
bb639e561d
LUCENE-5582: remove IndexOutput.length/setLength
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586743 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 18:46:43 +00:00
Robert Muir
b72cd4b7d9
LUCENE-5573: Move docvalues constants and helper methods to o.a.l.index.DocValues
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586600 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 08:54:03 +00:00
Steven Rowe
597912787c
SOLR-5936: Removed deprecated non-Trie-based numeric & date field types.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586106 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 19:48:14 +00:00
Steven Rowe
f58f711f73
SOLR-4864: RegexReplaceProcessorFactory should support pattern capture group substitution in replacement string.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586093 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 19:31:01 +00:00
Michael McCandless
8559eafd99
LUCENE-4246: fix IW.close to just close, even on exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585759 13f79535-47bb-0310-9956-ffa450edef68
2014-04-08 15:34:50 +00:00
Noble Paul
abd4de42a0
SOLR-5859 Fixing test errors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585274 13f79535-47bb-0310-9956-ffa450edef68
2014-04-06 10:12:47 +00:00
Uwe Schindler
8674badf9d
SOLR-5960: Add support for basic authentication in post.jar tool
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585057 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 11:46:42 +00:00
Dawid Weiss
c72e8820a1
Merging with trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1585024 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 09:02:57 +00:00
Dawid Weiss
bfecbc9274
Moved createTemp* to LuceneTestCase, removing it from SolrTestCaseJ4. Created common infrastructure that creates temporary files and folders under the suite's master folder. Created a rule that cleans up afterwards (or provides an explicit message if something fails to clean up).:
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584832 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 17:37:58 +00:00
Adrien Grand
85642f59dd
LUCENE-5527: Refactor Collector API to use a dedicated Collector per leaf.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584747 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 15:31:00 +00:00
Shalin Shekhar Mangar
39a1cb98ec
SOLR-5749: Renamed some stat names
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584739 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 15:12:24 +00:00
Dawid Weiss
ee084bbe60
Cleanups and refactorings after Mark's suggestions.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584633 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 12:04:49 +00:00
Dawid Weiss
bc43bebedf
Merging with trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584603 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 10:27:05 +00:00
Noble Paul
77f452b45b
SOLR-5859 improved logging, and fix a potential bug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584271 13f79535-47bb-0310-9956-ffa450edef68
2014-04-03 07:07:50 +00:00
Uwe Schindler
21b6d9890e
SOLR-5951: Fixed SolrDispatchFilter to throw useful exception on startup if SLF4j logging jars are missing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584213 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 23:24:19 +00:00
Steven Rowe
a3b46516f7
SOLR-5654: Create a synonym filter factory that is (re)configurable, and capable of reporting its configuration, via REST API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584211 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 23:09:08 +00:00
Robert Muir
0c0d026fea
LUCENE-5563: remove sep layout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584140 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 19:28:33 +00:00
Noble Paul
2b3e0bb9a6
SOLR-5859 removing accidental removal of SOLR-5908 changes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584115 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 18:10:06 +00:00
Steven Rowe
e4e90c224f
SOLR-5859: add OCP.getCollectionStatus() param description for 'clusterState' to stop 'ant precommit' bitching 'Javadoc: Description expected after this reference' and failing the build
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584108 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 17:51:11 +00:00
Chris M. Hostetter
80cce99ebc
SOLR-5795: harden leader check to log cleanly (no NPE) in transient situations when there is no leader due to election in progress
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584097 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 17:20:11 +00:00
Shalin Shekhar Mangar
a9e04127df
SOLR-5943: SolrCmdDistributor does not distribute the openSearcher parameter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584083 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 16:31:47 +00:00
Noble Paul
3fd2922341
SOLR-5859 Harden Overseer restart
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584069 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 15:22:01 +00:00
Joel Bernstein
e081587dea
SOLR-5829: Allow ExpandComponent to accept query and filter query parameters
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583802 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 21:37:05 +00:00
Chris M. Hostetter
fe148ceb1a
SOLR-5795: New DocExpirationUpdateProcessorFactory supports computing an expiration date for documents from the TTL expression, as well as automatically deleting expired documents on a periodic basis
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583734 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 16:55:42 +00:00
Erick Erickson
930b68033e
SOLR-5488: Fix up test failures for Analytics Component. Runs clean locally.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583636 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 11:43:27 +00:00
Robert Muir
c189d0fb74
LUCENE-2446: add checksums to index files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583550 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 07:36:45 +00:00
Anshum Gupta
aacd7ee80f
SOLR-5908: Make the REQUESTSTATUS Collection API call non-blocking and non-blocked.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583532 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 04:52:54 +00:00
Joel Bernstein
002f3d1b6b
SOLR-5773: CollapsingQParserPlugin should make elevated documents the group head
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583500 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 00:23:33 +00:00
Uwe Schindler
f682af8641
LUCENE-5560: Replace com.google.common.base.Charsets by Java7 StandardCharsets
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583476 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 22:16:44 +00:00
Uwe Schindler
6750845f9b
LUCENE-5560: Followup: Cleanup charset handling for Java 7
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583449 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 20:35:16 +00:00
Uwe Schindler
2f8192f3c5
LUCENE-5560: Cleanup charset handling for Java 7
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583302 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 11:34:01 +00:00
Mark Robert Miller
a44e0a82ba
SOLR-5934: LBHttpSolrServer exception handling improvement and small test improvements.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583213 13f79535-47bb-0310-9956-ffa450edef68
2014-03-30 22:04:58 +00:00
Mark Robert Miller
6bf76b1015
SOLR-5914: Polish up createTempDir calls.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1583163 13f79535-47bb-0310-9956-ffa450edef68
2014-03-30 17:37:31 +00:00
Shalin Shekhar Mangar
8a328c9318
SOLR-5920: Fix forbidden-api-check failure
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582951 13f79535-47bb-0310-9956-ffa450edef68
2014-03-29 04:18:21 +00:00
Steven Rowe
145dcab3ca
SOLR-5920: fix CursorMarkTest.getRandomCollation() to call termAtt.fillBytesRef() and ts.end()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582934 13f79535-47bb-0310-9956-ffa450edef68
2014-03-29 01:35:24 +00:00
Steven Rowe
a53c78d7ef
SOLR-5920: Distributed sort on DateField, BoolField and BCD{Int,Long,Str}Field returns string cast exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582929 13f79535-47bb-0310-9956-ffa450edef68
2014-03-29 01:01:05 +00:00
Uwe Schindler
3a9185ec9d
Remove broken Javadoc parts on private method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582886 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 21:28:41 +00:00
Alan Woodward
a133eed069
SOLR-4478: Use CloudConfigSetService with embedded zk server
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582839 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 17:28:37 +00:00
Shalin Shekhar Mangar
3944c63ba4
SOLR-5466: A new List collections and cluster status API which clients can use to read collection and shard information instead of reading data directly from ZooKeeper
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582734 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 12:54:47 +00:00
Mark Robert Miller
48c5ea550f
SOLR-5914: Merge branch up to trunk, make all tests pass, make some other improvements and small changes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582571 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 00:55:45 +00:00
Mark Robert Miller
6afdd45556
SOLR-5914: Solr tests should use dataDir for tmp files.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582413 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 17:23:40 +00:00
Michael McCandless
9d52ea9598
SOLR-5915: get parserImpl=XXX working for PreAnalyzedField
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582397 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 16:55:16 +00:00
Dawid Weiss
688addbd50
Branch for solr5914
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582248 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 10:45:40 +00:00
Mark Robert Miller
b7b0643115
SOLR-5914: Cleanup and fix Solr's test cleanup code.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582038 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 20:30:16 +00:00
Chris M. Hostetter
83036e1800
SOLR-5783: harden tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581398 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 16:10:14 +00:00
Alan Woodward
1dba8a6f6b
SOLR-5903: SolrCore implements Closeable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581360 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 14:46:19 +00:00
Shalin Shekhar Mangar
436fc3149a
SOLR-5906: Collection create API ignores property.instanceDir parameter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581341 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 14:20:36 +00:00
Shalin Shekhar Mangar
4afe792b33
SOLR-5905: Changed IllegalStateException to a SolrException
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581236 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 05:09:11 +00:00
Shalin Shekhar Mangar
b9814a4a89
SOLR-5905: CollapsingQParserPlugin throws a NPE if required 'field' param is missing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581234 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 05:05:02 +00:00
Mark Robert Miller
563ebdbdf0
SOLR-5907: The hdfs write cache can cause a reader to see a corrupted state. It now defaults to off, and if you were using solr.hdfs.blockcache.write.enabled explicitly, you should set it to false.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581174 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 01:27:38 +00:00
Alan Woodward
dc2b46d161
SOLR-4478: Test fix for Windows filepaths
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580839 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 13:20:25 +00:00
Alan Woodward
0e8d8fefae
SOLR-4478: Allow cores to use configurations specified outside their instance directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580814 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 10:54:51 +00:00
Noble Paul
00d2b4d960
SOLR-5893 eliminating unnecessary NoNodeException logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580804 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 10:31:21 +00:00
Mark Robert Miller
b838ab4b96
tests: improve test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580755 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 05:39:44 +00:00
Mark Robert Miller
7095d0178f
SOLR-5884: When recovery is cancelled, any call to the leader to wait to see the replica in the right state for recovery should be aborted.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580714 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 03:05:04 +00:00
Mark Robert Miller
742aadf5a2
tests: improve this test.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580703 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 02:28:05 +00:00
Michael McCandless
ef3973c589
LUCENE-5543 remove/deprecate Directory.fileExists
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580540 13f79535-47bb-0310-9956-ffa450edef68
2014-03-23 17:05:36 +00:00
Erick Erickson
9a8a4c7c7f
SOLR-5228: Deprecate <fields> and <types> tags in schema.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580515 13f79535-47bb-0310-9956-ffa450edef68
2014-03-23 15:40:52 +00:00
Shalin Shekhar Mangar
68825572d2
SOLR-5749: Removed unused methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580465 13f79535-47bb-0310-9956-ffa450edef68
2014-03-23 07:30:21 +00:00
Shalin Shekhar Mangar
c263c714ce
SOLR-5749: A new Overseer status collection API exposes overseer queue sizes, timing statistics, success and error counts and last N failures per operation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580463 13f79535-47bb-0310-9956-ffa450edef68
2014-03-23 07:22:28 +00:00
Shalin Shekhar Mangar
3ecd526643
Don't swallow exception in getLatestVersion. Refactored some odd if conditions.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580294 13f79535-47bb-0310-9956-ffa450edef68
2014-03-22 19:34:47 +00:00
Shalin Shekhar Mangar
367e66b01f
SOLR-5895: JavaBinLoader hides IOExceptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580290 13f79535-47bb-0310-9956-ffa450edef68
2014-03-22 19:29:04 +00:00
Shalin Shekhar Mangar
d50899c506
SOLR-5860: Use leaderConflictResolveWait in WaitForState during recovery/startup, improve logging and force refresh cluster state every 15 seconds
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579954 13f79535-47bb-0310-9956-ffa450edef68
2014-03-21 15:14:20 +00:00
Mark Robert Miller
b2335520fe
SOLR-5865: Testing improvements.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579951 13f79535-47bb-0310-9956-ffa450edef68
2014-03-21 15:00:07 +00:00
Noble Paul
c05222bc0d
SOLR-5715 CloudSolrServer should choose URLs that match _route_
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579897 13f79535-47bb-0310-9956-ffa450edef68
2014-03-21 08:41:38 +00:00
Mark Robert Miller
5c20f7dfba
SOLR-5865: Un@Ignore test again.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579679 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 16:30:28 +00:00
Mark Robert Miller
2ce105ed45
SOLR-5888: Speed up SyncSliceTest as well as some other tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579539 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 05:03:14 +00:00
Mark Robert Miller
1ae8b73a89
tests: speed up this test for non nightly runs.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579350 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 18:51:09 +00:00
Mark Robert Miller
1109c1275b
SOLR-5883: Many tests do not shutdown SolrServer.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579336 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 18:25:00 +00:00
Mark Robert Miller
f946c7dd6a
tests: Add SuppressSSL to ChaosMOnkeyNothingIsSafeTest.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579321 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 17:53:55 +00:00
Mark Robert Miller
05a0b55434
SOLR-5865: Ignore test for the moment.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579247 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 14:54:03 +00:00
Mark Robert Miller
0cd51f329b
SOLR-5865: Don't use random for now, un@Ignore test, clear static in afterClass.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579135 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 05:10:49 +00:00
Mark Robert Miller
ee0eeb2d77
tests: cancel Timer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579125 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 03:52:09 +00:00
Mark Robert Miller
69de1dd4ab
SOLR-5865: Provide a MiniSolrCloudCluster to enable easier testing.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579116 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 03:11:03 +00:00
Robert Muir
0bba517d93
LUCENE-5111: Fix WordDelimiterFilter offsets
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578993 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 18:12:16 +00:00
Mark Robert Miller
0c18bb45d7
SOLR-5832: Improve scary logging from ZkControllerTest suggests test setup isn't doing what it's suppose to.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578975 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 17:31:51 +00:00
Mark Robert Miller
9b985f6461
SOLR-5832: Scary logging from ZkControllerTest suggests test setup isn't doing what it's suppose to.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578974 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 17:27:47 +00:00
Alan Woodward
7e8e19b7c0
SOLR-5858, SOLR-4812: Allow queryparser to be defined for highlight query, and edismax and dismax to be used for this purpose
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578800 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 09:46:48 +00:00
Anshum Gupta
6ea3907374
SOLR-5876: Fix self-calling createCollection(..) function.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578775 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 07:28:29 +00:00
Mark Robert Miller
0914b1bd60
Revert CollectionAPIDistributedZkTest for a bit - needs some more work.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578744 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 05:34:06 +00:00
Mark Robert Miller
855617a528
Improve CollectionsAPIDistributedZkTest.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578739 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 05:04:48 +00:00
Mark Robert Miller
2b7f281077
SOLR-5770: Further fixes and SSL migration test.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578635 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 22:26:49 +00:00
Steven Rowe
67bc019bd9
SOLR-5875: QueryComponent.mergeIds() unmarshals all docs' sort field values once per doc instead of once per shard.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578434 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 15:24:54 +00:00
Erick Erickson
023aa2bf2a
SOLR-1604: Wildcards, ORs etc inside Phrase Queries or 'ComplexPhraseQueryParser support in Solr'
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578200 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 01:11:15 +00:00
Shalin Shekhar Mangar
e790ae64c0
SOLR-5550: shards.info is not returned by a short circuited distributed query
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578078 13f79535-47bb-0310-9956-ffa450edef68
2014-03-16 14:11:07 +00:00
Shalin Shekhar Mangar
d99d2992cd
SOLR-3177: Enable tagging and excluding filters in StatsComponent via the localParams syntax
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577976 13f79535-47bb-0310-9956-ffa450edef68
2014-03-16 03:58:07 +00:00
Shalin Shekhar Mangar
4e38601baf
SOLR-5866: UpdateShardHandler needs to use the system default scheme registry to properly handle https via javax.net.ssl.* properties
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577971 13f79535-47bb-0310-9956-ffa450edef68
2014-03-16 03:28:44 +00:00
Shalin Shekhar Mangar
68b3675ce8
SOLR-5867: OverseerCollectionProcessor isn't properly generating https urls in some cases
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577968 13f79535-47bb-0310-9956-ffa450edef68
2014-03-16 03:17:12 +00:00
Anshum Gupta
e7eb819d4b
SOLR-5477: Removing an unwanted call to zk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577965 13f79535-47bb-0310-9956-ffa450edef68
2014-03-16 02:27:48 +00:00
Anshum Gupta
e3ebe4b98a
SOLR-5477: Fix URL scheme modification from an earlier commit for SOLR-5477.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577801 13f79535-47bb-0310-9956-ffa450edef68
2014-03-15 08:09:32 +00:00
Steven Rowe
8db8c88def
Create a stopword filter factory that is (re)configurable, and capable of reporting its configuration, via REST API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577540 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 14:05:49 +00:00
Jan Høydahl
2c7fe979af
SOLR-5863: Asserts wrong way around in TestSolrXml and a few other classes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577539 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 14:04:39 +00:00
Noble Paul
b2022c05d0
SOLR-5837 remove .equals from Solr doc objects
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577491 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 11:44:40 +00:00
Anshum Gupta
0371c620d3
SOLR-5477: Async execution of OverseerCollectionProcessor tasks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577444 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 08:01:18 +00:00
Shalin Shekhar Mangar
8d64ac3a90
SOLR-5861: Recovery should not set onlyIfLeaderActive=true for slice in 'recovery' state
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577228 13f79535-47bb-0310-9956-ffa450edef68
2014-03-13 16:30:18 +00:00
Yonik Seeley
2aa5585ede
SOLR-5783: fix mixing caching + non caching searchers, fix multiple registration of same searcher
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577167 13f79535-47bb-0310-9956-ffa450edef68
2014-03-13 14:01:35 +00:00
Jan Høydahl
44bec7cfe4
SOLR-5853: Return status for AbstractFullDistribZkTestBase#createCollection() and friends
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577156 13f79535-47bb-0310-9956-ffa450edef68
2014-03-13 13:38:20 +00:00
Steven Rowe
979230aca4
SOLR-5653: Create a RestManager to provide REST API endpoints for reconfigurable plugins
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1576939 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 21:52:49 +00:00
Robert Muir
3b67b17493
LUCENE-5512: remove redundant typing (diamond operator) in trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1576755 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 14:39:17 +00:00
Michael McCandless
2d88332e9d
LUCENE-5487: merge trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5487@1576473 13f79535-47bb-0310-9956-ffa450edef68
2014-03-11 19:03:45 +00:00
Michael McCandless
9bdf937ac2
LUCENE-5487: consolidate the FakeScorers within one package
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5487@1576273 13f79535-47bb-0310-9956-ffa450edef68
2014-03-11 10:47:43 +00:00
Noble Paul
babbd07ed1
SOLR-5837 Added .equals method for SolrDocument, SolrInputDocument and SolrInputField
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1575886 13f79535-47bb-0310-9956-ffa450edef68
2014-03-10 10:18:42 +00:00
Mark Robert Miller
3e397f0189
SOLR-5839: ZookeeperInfoServlet does not trim path properly.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1575592 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 19:05:24 +00:00
Mark Robert Miller
b97e7b5a4a
SOLR-5834: Overseer threads are only being interrupted and not closed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1575476 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 04:38:20 +00:00
Michael McCandless
d784980654
LUCENE-5487: merge trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5487@1575397 13f79535-47bb-0310-9956-ffa450edef68
2014-03-07 20:50:45 +00:00
Ryan Ernst
26c79531b0
SOLR-5818: distrib search with custom comparator does not quite work correctly
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1575344 13f79535-47bb-0310-9956-ffa450edef68
2014-03-07 18:01:52 +00:00
Michael McCandless
45649d2445
LUCENE-5487: add TopScorers to FilteredQuery too; fix Solr; resolve all nocommits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5487@1575057 13f79535-47bb-0310-9956-ffa450edef68
2014-03-06 21:48:23 +00:00
Michael McCandless
cee0e37635
LUCENE-5493: fix solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5493@1574969 13f79535-47bb-0310-9956-ffa450edef68
2014-03-06 17:20:45 +00:00
Chris M. Hostetter
b221115ebc
SOLR-5628: work arround for this test to avoid whatever bug is in the cloud test framework
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574941 13f79535-47bb-0310-9956-ffa450edef68
2014-03-06 16:13:20 +00:00
Mark Robert Miller
cdf254415b
SOLR-5820: OverseerCollectionProcessor#lookupReplicas has a timeout that is too short and a bad error message on timeout.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574883 13f79535-47bb-0310-9956-ffa450edef68
2014-03-06 14:06:35 +00:00
Mark Robert Miller
d23a3374e1
SOLR-5811: Improve logged message.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574753 13f79535-47bb-0310-9956-ffa450edef68
2014-03-06 02:29:43 +00:00
Mark Robert Miller
7f31dc2d7d
SOLR-5796: Fix illegal API call to format.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574664 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 21:12:41 +00:00
Mark Robert Miller
f9124b8d03
SOLR-5796: Increase how long we are willing to wait for a core to see the ZK advertised leader in it's local state.
...
SOLR-5796: Make how long we are willing to wait for a core to see the ZK advertised leader in it's local state configurable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574638 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 19:41:51 +00:00
Chris M. Hostetter
f54178970e
LUCENE-5472: IndexWriter.addDocument will now throw an IllegalArgumentException if a Term to be indexed exceeds IndexWriter.MAX_TERM_LENGTH
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574595 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 18:05:25 +00:00
Mark Robert Miller
af101b3057
SOLR-5813: tests for "" or null collection name - should default to core name.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574589 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 17:48:27 +00:00
Mark Robert Miller
e88091b3dd
SOLR-5811: Additional cleanup.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574580 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 17:28:31 +00:00
Mark Robert Miller
9f701bd304
SOLR-5811: The Overseer will retry work items until success, which is a serious problem if you hit a bad work item.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574280 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 01:33:35 +00:00
Chris M. Hostetter
96bcbefdd4
SOLR-5815: add some test logging to try and figure out WTF
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574273 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 01:01:18 +00:00
Mark Robert Miller
f38c82b7a2
SOLR-5714: You can now use one pool of memory for for the HDFS block cache that all collections share.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573847 13f79535-47bb-0310-9956-ffa450edef68
2014-03-04 03:18:47 +00:00
Chris M. Hostetter
08b0073e28
SOLR-5783: Requests to open a new searcher will now reuse the current registered searcher (w/o additional warming) if possible in situations where the underlying index has not changed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573763 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 21:37:50 +00:00
Joel Bernstein
d8e387dc0f
SOLR-5720: Java 6 compatibility change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573636 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 17:42:47 +00:00
Joel Bernstein
f48d27f241
SOLR-5720: Add ExpandComponent to expand results collapsed by the CollapsingQParserPlugin
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573589 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 15:45:59 +00:00
Mark Robert Miller
9441f0d4ce
SOLR-5734: We should use System.nanoTime rather than System.currentTimeMillis when calculating elapsed time.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573425 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 02:08:45 +00:00
Mark Robert Miller
1263b95738
tests: raise poll timeout for this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573423 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 02:07:16 +00:00
Mark Robert Miller
46c42df1df
tests: raise default update timeouts for tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573409 13f79535-47bb-0310-9956-ffa450edef68
2014-03-02 23:55:18 +00:00
Mark Robert Miller
2e6c905f42
tests: raise the timeout on this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573405 13f79535-47bb-0310-9956-ffa450edef68
2014-03-02 23:45:40 +00:00
Mark Robert Miller
a828f6ff05
SOLR-5799: Fix impl.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573401 13f79535-47bb-0310-9956-ffa450edef68
2014-03-02 23:09:13 +00:00
Mark Robert Miller
3c0c0b4c38
tests: double number of fails that can be seen before failing test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573322 13f79535-47bb-0310-9956-ffa450edef68
2014-03-02 16:03:51 +00:00
Shalin Shekhar Mangar
e1f33c6326
Remove redundant cleanups in tearDown method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573317 13f79535-47bb-0310-9956-ffa450edef68
2014-03-02 15:19:50 +00:00
Mark Robert Miller
f1cddb92ee
SOLR-5799: When registering as the leader, if an existing ephemeral registration exists, wait a short time to see if it goes away.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573242 13f79535-47bb-0310-9956-ffa450edef68
2014-03-02 00:27:25 +00:00
Mark Robert Miller
b32e9d6036
tests: boost timeout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573240 13f79535-47bb-0310-9956-ffa450edef68
2014-03-02 00:16:19 +00:00
Chris M. Hostetter
63c914fb21
SOLR-5793, SOLR-5792, SOLR-5791: switch to using Constants.JAVA_VENDOR in assume
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573019 13f79535-47bb-0310-9956-ffa450edef68
2014-02-28 17:40:37 +00:00
Michael McCandless
02e3fd09eb
LUCENE-5477: add near-real-time add/update/refresh to AnalyzingInfixSuggester
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572992 13f79535-47bb-0310-9956-ffa450edef68
2014-02-28 16:39:34 +00:00
Mark Robert Miller
095522a079
SOLR-5735: BadApple until I have time to dig into this.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572810 13f79535-47bb-0310-9956-ffa450edef68
2014-02-28 03:19:12 +00:00
Chris M. Hostetter
6b1f3f0bb2
SOLR-5183: JSON updates now support nested child documents using a "_childDocument_" object key
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572797 13f79535-47bb-0310-9956-ffa450edef68
2014-02-28 01:02:23 +00:00
Chris M. Hostetter
474373d7b3
SOLR-5794: dial back the randomized constants so we don't blow up the world when running with -Dnightly=true -Dtests.multiplier=2
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572775 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 22:57:05 +00:00
Chris M. Hostetter
fcec01ccda
SOLR-5793, SOLR-5792, SOLR-5791: disable these three tests on J9 JVM
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572706 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 19:15:19 +00:00
Noble Paul
58c98f703b
SOLR-5609 use coreNodeName to compare replicas, CollectionsAPIDistributedZkTest.testCollectionsAPI() randomly switches to legacyCloud=false
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572449 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 06:50:22 +00:00
Mark Robert Miller
586bcac8cf
SOLR-5776: Suppress SSL
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572391 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 01:52:55 +00:00
Mark Robert Miller
4d975ea3a9
tests: some doc improvements around SuppressSSL
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572385 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 01:34:41 +00:00
Mark Robert Miller
b01d8ad1b1
SOLR-5596: Improve this test.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572370 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 00:51:48 +00:00
Chris M. Hostetter
087041f8c0
SOLR-5777: Fix ordering of field values in JSON updates where field name key is repeated
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572262 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 21:26:14 +00:00
Robert Muir
e15aeb2859
LUCENE-5475: add required attribute bugURL to BadApple
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572186 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 18:31:39 +00:00
Mark Robert Miller
7200196393
tests: enable test - no JIRA issue
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572151 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 16:31:06 +00:00
Mark Robert Miller
06f8adce3f
tests: enable test, supress SSL
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572130 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 16:14:15 +00:00
Mark Robert Miller
ea781c3b11
tests: this test needed proper ssl suppression - no reason to disable without a JIRA issue
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572129 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 16:11:55 +00:00
Mark Robert Miller
dc77c92d0f
tests: enable test - discussion on the recent fail for this test should occur in SOLR-5735
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572125 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 16:09:12 +00:00
Mark Robert Miller
666ed8a243
tests: enable test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572122 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 16:06:55 +00:00
Robert Muir
5d3d038ca2
SOLR-5775: add badapple (fails locally constantly)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572040 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 13:07:38 +00:00
Robert Muir
00e339395e
SOLR-5775: disable constantly failing solr tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572036 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 12:55:22 +00:00
Noble Paul
c0cc5946b5
SOLR-5069 fixing test failure
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571702 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 14:08:39 +00:00
Robert Muir
9c450302e5
SOLR-5771: Add SuppressSSL instead of static boolean in SolrTestCaseJ4
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571691 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 13:50:03 +00:00
Steven Rowe
b88669c60f
SOLR-5423: CSV output doesn't include function field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571505 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 01:03:07 +00:00
Noble Paul
b7290ceab4
SOLR-5609 , removing accidental changes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571421 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 20:09:37 +00:00
Mark Robert Miller
c408c5258e
SOLR-5770: All attempts to match a SolrCore with it's state in clusterstate.json should be done with the CoreNodeName.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571349 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 17:04:16 +00:00
Mark Robert Miller
95c23d4b00
tests: turn off SSL for this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571322 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 16:02:59 +00:00
Noble Paul
79e9707ce7
SORL-5609 Don't let cores create slices/named replicas , SOLR-5130 addReplica Collections API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571264 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 12:31:30 +00:00
Shalin Shekhar Mangar
55426d5070
SOLR-1880: Distributed Search skips GET_FIELDS stage if EXECUTE_QUERY stage gets all fields. Requests with fl=id or fl=id,score are now single-pass.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571152 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 05:43:23 +00:00
Mark Robert Miller
4fd914a81a
tests: harden against slow envs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1570946 13f79535-47bb-0310-9956-ffa450edef68
2014-02-23 01:43:37 +00:00
Uwe Schindler
955282775c
SOLR-5764: Fix recently added tests to not use absolute paths to load test-files, use SolrTestCaseJ4.getFile() and getResource() instead; fix morphlines/map-reduce to not duplicate test resources and fix dependencies among them.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1570898 13f79535-47bb-0310-9956-ffa450edef68
2014-02-22 20:02:13 +00:00
Noble Paul
ee4460edf9
SOLR-3854 urlScheme property should be whitelisted
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1570797 13f79535-47bb-0310-9956-ffa450edef68
2014-02-22 06:48:16 +00:00
Mark Robert Miller
6cacf1554c
tests: raise tests timeouts for solrserver
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569955 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 23:05:09 +00:00
Mark Robert Miller
c5d84044bc
tests: boost poll length
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569925 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 21:31:29 +00:00
Mark Robert Miller
5a08413cd6
tests: raise poll timeout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569921 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 21:27:39 +00:00
Mark Robert Miller
71e638ce68
tests: raise poll timeout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569799 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 15:53:44 +00:00
Mark Robert Miller
57475143aa
tests: raise poll timeout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569797 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 15:51:19 +00:00