Robert Muir
f025322f81
fix all malformed javadocs (@code/deprecated/param/returns/throws with no args)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389133 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 19:54:23 +00:00
David Wayne Smiley
ec184ba906
Enhance documentation for spatial. Still need to properly document the Strategy subclasses thoroughly.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388955 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 05:24:37 +00:00
David Wayne Smiley
5be591e97a
LUCENE-4374 pointVector -> pointvector
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388903 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 21:37:36 +00:00
David Wayne Smiley
e9cffebf96
LUCENE-4374 Rename TwoDoubles to PointVector
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388900 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 21:15:31 +00:00
David Wayne Smiley
255e8f1aa8
SOLR-3864 maxDetailDist -> maxDistErr and make units='degrees' mandatory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388864 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 18:27:44 +00:00
Sami Siren
b8f9525142
do not write to test-files dir, use dirs that are less likely to collide for jettys
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1388492 13f79535-47bb-0310-9956-ffa450edef68
2012-09-21 13:43:28 +00:00
Robert Muir
2aa725773f
SOLR-3733: add links (some broken ones in documentation-lint still, but in general working)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388094 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 16:15:10 +00:00
Uwe Schindler
7405b9772b
SOLR-3733: First version of patch (without Robert's changes)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388082 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 15:37:42 +00:00
Chris M. Hostetter
52d9fdb780
SOLR-3783: Fixed Pivot Faceting to work with facet.missing=true
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387824 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 00:17:57 +00:00
Robert Muir
c529308734
fix javadocs bugs found by my IDE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387823 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 00:17:50 +00:00
Chris M. Hostetter
f5b5835dee
SOLR-3087: Fixed DOMUtil so that code doing attribute validation will automaticly ignore nodes in the resserved "xml" prefix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387778 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 21:34:10 +00:00
Yonik Seeley
9be371a198
SOLR-3815: preserve shard properties
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387747 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 20:42:04 +00:00
Adrien Grand
2c481a3c59
Fix typo in CopyField javadocs, thanks to Jack Krupansky for pointing it out.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387666 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 16:22:03 +00:00
Yonik Seeley
7ae776e2d1
SOLR-3815: fix overseer.setShardLeader to not modify existing state
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387354 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 20:48:09 +00:00
Grant Ingersoll
4577c1696c
SOLR-3825: use unique key
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387259 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 17:04:31 +00:00
Erick Erickson
580b53efdd
Fixes for SOLR-3846 (very long tests on OS X for TestReplicationHandler)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387099 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 11:40:13 +00:00
Dawid Weiss
fa9182cfb6
Clean up static fields after the suite is over. Cleaned up generics too.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387044 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 08:30:56 +00:00
Chris M. Hostetter
562f150e17
SOLR-3519: verbose_option URL param in analysis UI, and updated tutorial links to use it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386924 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 00:17:04 +00:00
Yonik Seeley
8c5fc86a38
SOLR-3815: change clusterstate structure to add properties to slices
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386858 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 21:40:51 +00:00
Erick Erickson
ded01621a4
Fix for LUCENE-4362, ban tabs-indent
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386681 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 16:01:56 +00:00
Robert Muir
310eb39792
LUCENE-3720: fix BeiderMorseFilter OOM issues
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386662 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 15:32:46 +00:00
Mark Robert Miller
4214846719
switch some of the localhost usage to 127.0.0.1
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386639 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 14:46:02 +00:00
Grant Ingersoll
b7297c7f8d
SOLR-3825: added in optional logging of documents in a response
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386613 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 13:46:59 +00:00
David Wayne Smiley
e53321b1c6
commit after clear index in setUp()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386471 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 05:02:05 +00:00
David Wayne Smiley
f2b73851a8
SOLR-3304 use Field as covariant return type from createFields() to ease merging to 4x
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386464 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 03:52:28 +00:00
David Wayne Smiley
bf05f70a0b
SOLR-3304 Solr adapters for the new Lucene 4 spatial module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386457 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 03:17:02 +00:00
Mark Robert Miller
5539754a7d
add javadoc return statement
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385206 13f79535-47bb-0310-9956-ffa450edef68
2012-09-16 01:55:45 +00:00
Uwe Schindler
6b54b1a712
Fix violation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385173 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 20:47:25 +00:00
Mark Robert Miller
95fea9de64
SOLR-3845: Rename numReplicas to replicationFactor in Collections API.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385154 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 18:59:16 +00:00
Mark Robert Miller
9a7f34fc24
SOLR-3749: Allow default UpdateLog syncLevel to be configured by solrconfig.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385150 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 18:47:35 +00:00
Mark Robert Miller
f769169177
SOLR-3465: Replication causes two searcher warmups.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385145 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 18:14:31 +00:00
Mark Robert Miller
eb275c2b43
SOLR-3831: Atomic updates do not distribute correctly to other nodes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385136 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 17:39:28 +00:00
Mark Robert Miller
d8385729c2
SOLR-3844: SolrCore reload can fail because it tries to remove the index write lock while already holding it.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385135 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 17:37:15 +00:00
Michael McCandless
2cef8b7825
fix javadoc warning
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385049 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 12:28:18 +00:00
Mark Robert Miller
8ca9758dc4
if a task is rejected, decrement semaphore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385012 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 04:51:18 +00:00
Mark Robert Miller
a215370b3a
test fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385005 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 03:28:44 +00:00
Mark Robert Miller
1ff0eaec90
SOLR-3527: SolrCmdDistributor drops some of the important commit attributes (maxOptimizeSegments, softCommit, expungeDeletes) when sending a commit to replicas.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384964 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 22:56:47 +00:00
Yonik Seeley
3c95aa47d0
tlog: ensure tlog so corrupted that constructor can't complete is closed so windows can remove the file after
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384958 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 22:40:41 +00:00
Mark Robert Miller
ff7c8d0217
SOLR-3641: CoreContainer is not persisting roles core attribute.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384952 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 22:31:25 +00:00
Mark Robert Miller
f0185fb9d5
SOLR-3833: When a election is started because a leader went down, the new leader candidate should decline if the last state they published was not active.
...
SOLR-3836: When doing peer sync, we should only count sync attempts that cannot reach the given host as success when the candidate leader is syncing with the replicas - not when replicas are syncing to the leader.
SOLR-3835: In our leader election algorithm, if on connection loss we found we did not create our election node, we should retry, not throw an exception.
SOLR-3834: A new leader on cluster startup should also run the leader sync process in case there was a bad cluster shutdown.
SOLR-3772: On cluster startup, we should wait until we see all registered replicas before running the leader process - or if they all do not come up, N amount of time.
SOLR-3756: If we are elected the leader of a shard, but we fail to publish this for any reason, we should clean up and re trigger a leader election.
SOLR-3812: ConnectionLoss during recovery can cause lost updates, leading to shard inconsistency.
SOLR-3813: When a new leader syncs, we need to ask all shards to sync back, not just those that are active.
SOLR-3807: Currently during recovery we pause for a number of seconds after waiting for the leader to see a recovering state so that any previous updates will have finished before our commit on the leader - we don't need this wait for peersync.
SOLR-3837: When a leader is elected and asks replicas to sync back to him and that fails, we should ask those nodes to recovery asynchronously rather than synchronously.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384923 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 21:05:15 +00:00
Chris M. Hostetter
609396c37d
SOLR-3288: minor updates to the tutorial (mostly typo fixes) and improvements to the various README files in the example -- mostly related to SolrHome dir vs SolrCore instance dir
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384895 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 19:23:16 +00:00
Steven Rowe
cf02188f2b
LUCENE-4384: rat-sources should ignore IntelliJ IDEA module configuration files: *.iml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384608 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 00:28:43 +00:00
Chris M. Hostetter
bf73201486
SOLR-3569: Fixed debug output on distributed requests when there are no results found
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384597 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 23:22:13 +00:00
Chris M. Hostetter
5e1ed1e87a
SOLR-3828: Fixed QueryElevationComponent so that using 'markExcludes' does not modify the result set or ranking of 'excluded' documents relative to not using elevation at all
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384567 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 22:17:24 +00:00
Yonik Seeley
9422634680
tests: disable new test method for now due to windows failures
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384522 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 20:59:12 +00:00
Chris M. Hostetter
4fdd830ffd
SOLR-3809: Fixed config file replication when subdirectories are used
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384492 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 19:48:43 +00:00
Yonik Seeley
e494b8841b
tests: try to prevent corrupt tlog test from failing other methods on windows
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384420 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 17:36:51 +00:00
Yonik Seeley
0e33ea10fe
tests: additional corrupt tlog test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384394 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 16:24:03 +00:00
Yonik Seeley
6104078c44
tests: additional corrupt tlog test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384358 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 15:05:56 +00:00
Robert Muir
dc02cdd384
LUCENE-4355: improve AtomicReader sugar apis
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384274 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 11:21:03 +00:00
Robert Muir
1fe0640fcc
fix broken javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383902 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 12:12:56 +00:00
Chris M. Hostetter
e8c6d5b242
SOLR-3827: Fix shareSchema=true in solr.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383735 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 02:03:45 +00:00
Chris M. Hostetter
64d204c04e
SOLR-3823: Fix 'bq' parsing in edismax. Please note that this required reverting the negative boost support added by SOLR-3278
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383708 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 00:53:29 +00:00
Chris M. Hostetter
9561d856c5
SOLR-3087: CurrencyField now generates an appropriate error on schema init if it is configured as multiValued
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383648 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 23:02:25 +00:00
Robert Muir
1517b16cf4
fix remaining broken html and turn on check in linter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383055 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 19:08:41 +00:00
Robert Muir
fab19135fd
fix some bad javadocs html, make AbstractPluginLoader actually readable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383034 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 18:48:08 +00:00
Chris M. Hostetter
8a8d38a852
fix un-closed html tags in javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383011 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 18:05:13 +00:00
Steven Rowe
d8b619181a
Remove useless javadocs that trigger warnings and build failures for some people
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382976 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 16:37:44 +00:00
Yonik Seeley
b34c9a9683
SOLR-3815: separate ZkNodeProps from Replica, change properties from String values to Object values
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382621 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 02:14:50 +00:00
Robert Muir
9ff1c66154
LUCENE-4364: MMapDirectory makes too many maps for CFS
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382224 13f79535-47bb-0310-9956-ffa450edef68
2012-09-08 02:41:57 +00:00
Chris M. Hostetter
76059449d1
SOLR-3518: Include final 'hits' in log information when aggregating a distibuted request
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382209 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 23:45:37 +00:00
Chris M. Hostetter
ee0bf2549b
SOLR-3699: Fixed some Directory leaks when there were errors during SolrCore or SolrIndexWriter initialization
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382187 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 21:58:30 +00:00
Robert Muir
c1a5bef466
remove unnecessary dependencies: these are in solrj
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381837 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 01:12:14 +00:00
Robert Muir
ddda1b6089
SOLR-3686: fix solr/core and solr/solrj not to share a lib directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381792 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 22:47:01 +00:00
Steven Rowe
d3383239f8
LUCENE-4365: split maven modules into main/test sub-modules for the four modules with cyclic dependencies on the Lucene or Solr test-framework modules: lucene-core, lucene-codecs, solr-core, and solr-solrj
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381779 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 22:17:03 +00:00
Robert Muir
cdeb0bf933
fix more broken unicode
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381714 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 18:43:15 +00:00
Chris M. Hostetter
2a6f2c7cbb
SOLR-3795: Fixed LukeRequestHandler response to correctly return field name strings in copyDests and copySources arrays
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381685 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 17:22:48 +00:00
Stefan Matheis
a778718872
SOLR-3679: admin ui shows error message if creating a new core fails
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381655 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 16:03:18 +00:00
Yonik Seeley
77d5fba68f
SOLR-3793: use livedocs when caching big terms
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381568 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 12:11:41 +00:00
Adrien Grand
3f9aa4dcbb
LUCENE-4340: Move bloom PF utilities to lucene/codecs.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381504 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 08:02:36 +00:00
David Wayne Smiley
1db287ce64
LUCENE-4351 update to Spatial4j 0.3. Lucene spatial distances are now all degrees based (0-180). Also, improved TestRecursivePrefixTreeStrategy.geohashRecursiveRandom() to use circle index clusters.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381230 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 15:37:11 +00:00
Sami Siren
29012070bf
SOLR-3789: Fix bug in SnapPuller that caused 'internal' compression to fail
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381043 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 07:33:07 +00:00
Mark Robert Miller
678e35aa58
SOLR-3782: A leader going down while updates are coming in can cause shard inconsistency.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380974 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 04:03:55 +00:00
Sami Siren
9d96a5647c
catch and exceptons from MBean registation that may happen during some tests because multiple solr servers use same MBean Server
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380301 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 17:25:11 +00:00
Mark Robert Miller
278200cfaa
SOLR-3772,SOLR-3750: make optional, wait time configurable, default to off
...
SOLR-3782: A leader going down while updates are coming in can cause shard inconsistency.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380299 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 17:14:25 +00:00
Yonik Seeley
7af7d1de48
SOLR-3755: shard splitting - create cores, use writers from cores
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380287 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 16:36:20 +00:00
Dawid Weiss
f45c48e097
Don't interrupt zookeeper's SyncThread because it invokes system.exit. We
...
should ban System.exit via the policy file. Unfortunately System.exit is
used by the runner itself too (otherwise it wouldn't be able to exit the
JVM in the presence of background threads) so the policy would need to be
selective and either ban certain packages or revoke the grant for the
runner.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380200 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 11:10:53 +00:00
Sami Siren
fe0340cf60
fix test so that it does not miss the 2nd event
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380194 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 10:44:46 +00:00
Mark Robert Miller
362d518c19
drop to 100ms pause for now
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380101 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 00:37:46 +00:00
Mark Robert Miller
3b58473127
remove stale comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380098 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 00:14:00 +00:00
Uwe Schindler
12dddf2285
LUCENE-3312: Final merge before reintegrate
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1379940 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 11:21:01 +00:00
Mark Robert Miller
3a2f6e9dc8
SOLR-3773: Hash based on the external String id rather than the indexed representation for distributed updates.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379452 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 13:58:52 +00:00
Dawid Weiss
5d6583162d
Don't interrupt threads in this test, just report thread leak errors. Should help get past the broken (?) freebsd jvm.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379371 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 08:53:00 +00:00
Chris M. Hostetter
adc8db0353
SOLR-3441: ElisionFilterFactory is now MultiTermAware
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379275 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 03:44:05 +00:00
Chris M. Hostetter
59847bd6d2
SOLR-2768: new "mod(x,y)" function for computing the modulus of two value sources
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379225 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 23:29:00 +00:00
Uwe Schindler
50d2639308
LUCENE-3312: Merge up to trunk and fix basic Javadocs merge conflicts. The new classes now need method descriptions, mainly oal.index.StorableField(Type)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1379200 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 22:43:41 +00:00
Yonik Seeley
7754d1d105
SOLR-3755: basic shard splitting code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379195 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 22:31:56 +00:00
Robert Muir
d7120c7e43
LUCENE-4343: clear up more Tokenizer.setReader/TokenStream.reset issues
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379036 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 17:50:18 +00:00
Chris M. Hostetter
06fdfe6f32
SOLR-3768: add some prelim assertions to OverseerTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379014 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 16:48:55 +00:00
Uwe Schindler
72c1b74d5c
LUCENE-4337: Revert JMX code, was not needed in that complexity.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379006 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 16:32:00 +00:00
Mark Robert Miller
2fdd58398a
SOLR-3750: On session expiration, we should explicitly wait some time before running the leader sync process so that we are sure every node participates.
...
SOLR-3772: On cluster startup, we should wait until we see all registered replicas before running the leader process or if they all do not come up, N amount of time.
SOLR-3752: When a leader goes down, have the Overseer clear the leader state in cluster.json
SOLR-3751: Add defensive checks for SolrCloud updates and requests that ensure the local state matches what we can tell the request expected.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379002 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 16:23:16 +00:00
Mark Robert Miller
d72c9dddba
work harder to shutdown jetty for cases where jetty was started but could not bind to the port - not perfect yet, but works better than a std stop
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378948 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 14:16:15 +00:00
Uwe Schindler
1e573d0ea6
LUCENE-4337: Add a SecurityManager to run tests using a custom policy file, disallowing write/delete access outside ${build.dir} and listening network sockets on any other address than 127.0.0.1:1024-. This also fixes failing Solr tests because of creating index in example folder or listening on 0.0.0.0 (JMX)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378914 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 12:54:06 +00:00
Mark Robert Miller
48ae881287
SOLR-3721: Fix bug that could allow multiple recoveries to run briefly at the same time if the recovery thread join call was interrupted.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378904 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 12:19:10 +00:00
Sami Siren
883323f166
fix for SOLR-3770: Overseer may lose updates to cluster state
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378892 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 11:48:02 +00:00
Sami Siren
288926a15f
SOLR-3731: use same wait time as is used in ZkController
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378889 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 11:24:17 +00:00
Sami Siren
ae43103d15
reuse existing code, baseUrl and coreName can no longer be null
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378512 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 12:06:03 +00:00
Sami Siren
fdc313d3bc
fix test, remove unused method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378458 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 06:58:38 +00:00
Chris M. Hostetter
a8b57fa9de
SOLR-3745: Proper error reporting if SolrCloud mode is used w/o necessary "_version_" field in schema.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1377898 13f79535-47bb-0310-9956-ffa450edef68
2012-08-27 23:01:11 +00:00
Robert Muir
458fcb4446
LUCENE-3923: fail the build on wrong svn:eol-style
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1377702 13f79535-47bb-0310-9956-ffa450edef68
2012-08-27 14:47:19 +00:00
Sami Siren
71a58d78a4
SOLR-3731: increase sleep
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1377579 13f79535-47bb-0310-9956-ffa450edef68
2012-08-27 06:48:03 +00:00
Uwe Schindler
2317133ca2
LUCENE-3312: Merge up to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1377246 13f79535-47bb-0310-9956-ffa450edef68
2012-08-25 10:06:07 +00:00
Erik Hatcher
13fd86913c
SOLR-3288: Update reference to example conf/
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1376792 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 23:51:42 +00:00
Sami Siren
504b792937
SOLR-3731: disallow null CoreContainer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1376432 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 10:52:37 +00:00
Robert Muir
568156b710
LUCENE-4321: Don't extend the trappy/broken FilterReader and simplify CharFilter so subclasses are correct readers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1376158 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 17:51:19 +00:00
Chris M. Hostetter
0183711e22
SOLR-3746: more context to error message
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375723 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 19:19:21 +00:00
Chris M. Hostetter
41c067bc18
SOLR-3746: Proper error reporting if updateLog is configured w/o necessary _version_ field in schema.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1375674 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 17:25:34 +00:00
Yonik Seeley
97689f52f2
SOLR-3743: real-time get should not return copyField targets
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374912 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 04:22:10 +00:00
Uwe Schindler
bb6c2582d8
LUCENE-3312: Merged revision(s) 1373336-1374717 from lucene/dev/trunk:
...
test this cleaner, we don't need a nested test, just want to ensure MDW throws exception on close
........
SOLR-3730: Rollback is not implemented quite right and can cause corner case fails in SolrCloud tests.
........
SOLR-3690: Fixed binary release packages to include dependencies needed for the solr-test-framework
........
SOLR-2981: Fixed StatsComponent to no longer return duplicated information when requesting multiple stats.facet fields
........
SOLR-3690: need to copy the license + sha1 files to be included in solr artifacts
........
LUCENE-4308: don't delete a test's files if the test fails
........
LUCENE-4308: clean up imports, move below license
........
add more missing javadocs
........
javadocs
........
add hostContext to solr.xml by default
........
SOLR-2857: restore /update/json and /update/csv
........
improve javadocs
........
use assertEquals so we will see whats going on when this fails
........
added javadocs to SortedBytesMergeUtils public inner classes
........
added javadocs to SortedBytesMergeUtils public inner classes
........
fix javadocs
........
javadocs
........
Better verbosity, also fix bug in while loop with char==0.
I have one explanation for this: Maybe Apaches SVN server returns something (like error message) that's not UTF8?
........
javadocs
........
Fix bug in test by using a local file instead of HTTP URL. Also fix unclosed file in FileStream.getContentType(), remove dead code.
........
Don't use IOUtils in SolrJ! Sorry, hope maven build did not start in this time frame *g*
........
SOLR-3737: fix Stempel factory resource loading, use singleton instance
........
javadocs
........
enforce all lucene core classes have javadocs
........
LUCENE-4310: non-BMP characters were failing to match with MappingCharFilter
........
LUCENE-4310: revert ... new test is failing
........
LUCENE-4310: non-BMP characters were failing to match with MappingCharFilter
........
Rewrite the copying loop slightly; scratch.grow has an assert offset == 0
so moved this reset up before grow.
........
SOLR-3715: fix FastOutputStream, FastWriter when buffer sizes can change
........
license
........
SOLR-3691: SimplePostTool: Mode for indexing a web page
........
SOLR-3707: Upgrade Solr to Tika 1.2
........
SOLR-3691: Fixed javadocs-lint errors
........
use hasNext not .next() == null to detect empty iterator
........
2nd fix: The same problem had size()
........
Solr extraction contrib should have compile time dependency on lucene, not just test.
........
Fix javadocs of Fields.size(), use FilteredIterator from StoredFields branch. Return -1 for Fields.size() in FieldFilterAtomicReader. If this breaks some test, we found a bug and have to change test to respect -1 (which is valid return value)
........
Fix javadocs
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1374718 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 09:35:25 +00:00
Jan Høydahl
4c057cf4bf
SOLR-3691: Fixed javadocs-lint errors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374549 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 10:26:51 +00:00
Jan Høydahl
92171e49a5
SOLR-3691: SimplePostTool: Mode for indexing a web page
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374497 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 01:30:49 +00:00
Yonik Seeley
1e2fa0ad45
license
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374490 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 01:05:47 +00:00
Yonik Seeley
84a8768b5d
SOLR-3715: fix FastOutputStream, FastWriter when buffer sizes can change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374480 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 00:15:04 +00:00
Yonik Seeley
e7a09ceec4
SOLR-2857: restore /update/json and /update/csv
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373904 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 16:19:23 +00:00
Chris M. Hostetter
8cb409d4cf
SOLR-2981: Fixed StatsComponent to no longer return duplicated information when requesting multiple stats.facet fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373598 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 19:44:27 +00:00
Mark Robert Miller
12cbfaf62a
SOLR-3730: Rollback is not implemented quite right and can cause corner case fails in SolrCloud tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373398 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 13:34:34 +00:00
Uwe Schindler
86afe66472
LUCENE-3312: Merged revision(s) 1372429-1373335 from lucene/dev/trunk:
...
move class to o.a.l.index and make pkg-private, silence java7 warnings
........
SOLR-3727: improve solrcloud close/shutdown
........
LUCENE-4303 Use ResourceLoader not Class.forName
........
LUCENE-4302: Fix facet userguide to have HTML loose doctype like all other javadocs
........
LUCENE-4152: add one syllable method to enumerate subreaders
........
LUCENE-4152: use simpler sugar
........
SOLR-3670: New CountFieldValuesUpdateProcessorFactory
........
SOLR-3727: improve solrcloud close/shutdown
........
Ignore process reaper (forked subprocess on unixish systems).
........
document what IW.close is doing and how to 'actually close' if you want that
........
LUCENE-4304: remove PayloadProcessorProvider, map facet ords using a FilterAtomicReader
........
LUCENE-4304: Make CompositeReader.getSequentialSubReaders() protected
........
solrcloud: improve some logging, improve some testing, other minor tweaks
........
LUCENE-4307: rename IR.getTopReaderContext to IR.getContext
........
SOLR-3572: Make schema-browser show custom similarities
........
better failures from MDW if you have unclosed indexwriter, even if you setLockFactory
........
Improve Javadocs, fix wrong getContext() javadocs (contained outdated info, leaves() throws UOE if not top-level), remove lucene.experimental from contexts, as this is now the official API to walk reader tree.
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1373337 13f79535-47bb-0310-9956-ffa450edef68
2012-08-15 11:23:02 +00:00
Greg Bowyer
8a5bab3e1d
SOLR-3572: Make schema-browser show custom similarities
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373117 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 21:16:17 +00:00
Robert Muir
796fb31c89
LUCENE-4307: rename IR.getTopReaderContext to IR.getContext
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373072 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 20:43:16 +00:00
Mark Robert Miller
c607f548bb
solrcloud: improve some logging, improve some testing, other minor tweaks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372981 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 17:16:43 +00:00
Uwe Schindler
2573a23996
LUCENE-4304: Make CompositeReader.getSequentialSubReaders() protected
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372866 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 12:54:46 +00:00
Mark Robert Miller
d4b66af3b3
SOLR-3727: improve solrcloud close/shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372701 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 01:31:27 +00:00
Chris M. Hostetter
680449363f
SOLR-3670: New CountFieldValuesUpdateProcessorFactory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372687 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 00:35:55 +00:00
Robert Muir
e64057ccd9
LUCENE-4152: use simpler sugar
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372654 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 22:22:24 +00:00
Mark Robert Miller
2c31ae30e5
SOLR-3727: improve solrcloud close/shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372626 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 21:22:08 +00:00
Uwe Schindler
ac38630855
LUCENE-3312: Merged revision(s) 1371132-1372428 from lucene/dev/trunk:
...
Add support to also reload HashFunctions when Solr boots (otherwise codecs using new hash functions may fail to load).
We may need a better "automatic" reloading with one method call, that reloads all NamedSPILoaders. I will think about it and open issue. Solr could then only call NamedSPILoader.reloadAll(), so all instantiated ones get reloaded automatically. Currently its to risky to add new SPIs without Solr support (because it cannot be tested).
........
LUCENE-4298: MultiFields.getTermDocsEnum(Reader,Bits,String,BytesRef) did not work at all
........
SOLR-3715: remove sync around tlog serialization
........
fix test msg
........
add recovery strat to commented out list of log configs for tests
........
change log format - core= rather than Core:
........
add some tests mixing up payload options
........
tests: specify a seed to Random()
........
tests: use random seed of doc base
........
set the SVN variables so this task can build the unsigned release
........
Remove smoke again, this is now a new ReleaseNightly job on ASF Jenkins (without scripts, only ANT). I will later remove the artifact building from the standard nightly scripts, too. Those will now only run tests and clover.
........
Smoketester should also run with OpenJDK to be able to run on FreeBSD
........
clean up BS2's Coordinator, use ctor instead of init, make coordFactors final
........
LUCENE-4300: BooleanQuery's rewrite was unsafe if coord(1,1) != 1
........
SOLR-3725: fix package-local-src-tgz to not bring in jars/binary content
........
LUCENE-4299: add Terms hasPositions/hasOffsets, so you know what features a docs TVs have
........
ignore silly bugs in sun's regex impl
........
LUCENE-4187: Die, shell scripts, die, die, die!
........
LUCENE-4187: Allow disabling validation tasks and javadocs-linting from jenkins
........
nuke useless scripts - part #1
........
LUCENE-4187: Merge clover reports of Lucene/Solr for easier and more useful Jenkins reporting
........
LUCENE-4187: Remove remaining clover reference
........
LUCENE-4187: Add jenkins clover task
........
LUCENE-4187: Nuke remaining shell scripts
........
LUCENE-4187: exclude backwards (when it comes)
........
LUCENE-4187: simplier pattern
........
LUCENE-4187: Fix title for clover
........
LUCENE-4187: Make clover configuration for jenkins fixed and faster
........
Don't allow negatives in the positions file
........
LUCENE-1888: added option to store payloads on the term vectors
........
throw IllegalArgumentException if you try to index term vector offsets/positions when term vectors are not indexed, or if you try to index term vectors when field is not index
........
fix test to actually compare index1 vs index2, not index1 against itself
........
LUCENE-3985: Upgrade to randomizedtesting 2.0.0. Added support for thread leak detection. Added support for suite timeouts. (Dawid Weiss)
........
fix test bug
........
re-enable test
........
Allow better debugging this test
........
fix clustering and DIH problems with conflicting servlet-api dependencies by making scope be provided in solr's test-framework POM
........
revisit payloads API in DocsAndPositionsEnum
........
maven build: reduce solr test logging output, to allow Jenkins mailer to succeed
........
disable test timeouts until nightly builds have been addressed
........
Fix test failure caused in Maven, because test-framework classes are packaged in JAR.
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1372438 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 14:18:26 +00:00
Uwe Schindler
481c6d952d
LUCENE-3312: Apply lucene-3312-patch-12a.patch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1372427 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 14:06:05 +00:00
Mark Robert Miller
6331d4be67
add javadoc return value
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372406 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 12:57:04 +00:00
Sami Siren
1d27c0364b
SOLR-3649: fix bug in JavabinLoader that caused deleteById(List<String> ids) to not work in SolrJ
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372346 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 09:56:33 +00:00
Robert Muir
80811d02f5
remove FieldsEnum and replace with Iterator<String>
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372243 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 02:25:19 +00:00
Uwe Schindler
e1295dc3d8
Fix test failure caused in Maven, because test-framework classes are packaged in JAR.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372218 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 00:01:59 +00:00
Dawid Weiss
cebfa0b9b9
LUCENE-3985: Upgrade to randomizedtesting 2.0.0. Added support for thread leak detection. Added support for suite timeouts. (Dawid Weiss)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372068 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 11:23:11 +00:00
Michael McCandless
6bc248b017
throw IllegalArgumentException if you try to index term vector offsets/positions when term vectors are not indexed, or if you try to index term vectors when field is not index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372025 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 20:51:34 +00:00
Yonik Seeley
562f65020c
tests: use random seed of doc base
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371491 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 21:16:15 +00:00
Yonik Seeley
d3a2df9307
tests: specify a seed to Random()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371478 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 20:51:48 +00:00
Mark Robert Miller
bd157431b8
change log format - core= rather than Core:
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371399 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 19:21:56 +00:00
Yonik Seeley
932901bb01
SOLR-3715: remove sync around tlog serialization
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371379 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 18:53:19 +00:00
Uwe Schindler
2c38158032
Add support to also reload HashFunctions when Solr boots (otherwise codecs using new hash functions may fail to load).
...
We may need a better "automatic" reloading with one method call, that reloads all NamedSPILoaders. I will think about it and open issue. Solr could then only call NamedSPILoader.reloadAll(), so all instantiated ones get reloaded automatically. Currently its to risky to add new SPIs without Solr support (because it cannot be tested).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371150 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 10:34:30 +00:00
Uwe Schindler
148d99cbbc
LUCENE-3312: Merged revision(s) 1366639-1371131 from lucene/dev/trunk:
...
SOLR-3259: default /get to json
........
minor tweaks to update script example
........
LUCENE-4268: Rename ResourceAsStreamReasourceLoader to ClasspathResourceLoader, provide FilesystemResourceLoader, bug fixing
........
LUCENE-4268: Fix test bug
........
SOLR-3648: Fix Velocity template loading in SolrCloud mode
........
fix confusing IW infoStream message
........
Fix rawtypes warning in java 7 and 8, make the SuppressWarnings more local
........
Nicer solution to generic array creation (still problematic in Java 6, but correct in Java 7 if done this way)
........
Disable test failing with Java 8
........
Allow detecting of Java 8
........
LUCENE-4109: BooleanQueries are not parsed correctly with the flexible queryparser
........
LUCENE-4269: remove BalancedSegmentMergePolicy (use TieredMergePolicy instead)
........
LUCENE-4269: deprecate BalancedSegmentMergePolicy (use TieredMergePolicy instead)
........
LUCENE-4190: restrict allowed filenames to reduce risk of deleting non-lucene file from the index directory
........
fix the monkey: connection loss and expiration cause NPE
........
upgrade checkJavaDocs.py to python3
........
LUCENE-3884: Move ElisionFilter out of .fr package
........
fix encoding in javadocs checker
........
LUCENE-2501: fix thread hazard when threads add same field with different IndexOptions at the same time
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1371142 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 10:20:53 +00:00
Uwe Schindler
e7811cfa6c
LUCENE-3312: Apply patch lucene-3312-patch-09.patch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1371131 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 10:01:56 +00:00
Mark Robert Miller
b2ab339643
add core name to some of the recovery logging
...
move getRecentUpdates into try block - we should continue with no updates if there is an exception getting them
move cancelRecovery call into recovery wait sync block
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371030 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 03:20:24 +00:00
Chris M. Hostetter
38c1b46817
SOLR-3229: Fixed TermVectorComponent to work with distributed search
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370870 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 18:20:45 +00:00
Mark Robert Miller
e528549a3b
still favor leaders with CloudSolrServer, but also fall back to replicas after leaders
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370864 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 18:01:11 +00:00
Robert Muir
661f5e4aa9
harden test against internet problems
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370605 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 00:11:15 +00:00
Mark Robert Miller
f92c848abe
fix comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370341 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 16:19:41 +00:00
Mark Robert Miller
904a504825
cancel recovery before trying to sync as new leader - also improve logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370317 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 15:29:51 +00:00
Yonik Seeley
8da8c78015
SOLR-3685: cloud sometimes skipped peersync attempt due to flags not being cleared when no updates were buffered during replication
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370297 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 15:00:19 +00:00
Yonik Seeley
0834c89f92
tests: fix test of unordered namedlist, skip explain comparisons
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369984 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 20:26:59 +00:00
Chris M. Hostetter
ee280234f4
SOLR-1725: fix test assumptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369874 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 16:29:37 +00:00
Robert Muir
c1f2562aff
fix more broken untested boosts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369711 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 01:59:03 +00:00
Mark Robert Miller
c826b1f040
ignore until i can look into tomorrow
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369510 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 01:29:07 +00:00
Robert Muir
41d4ef2b08
fix broken, untested 0.0f boost on unindexed field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369500 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 22:34:29 +00:00
Mark Robert Miller
238c4274b6
SOLR-3709: Cache the url list created from the ClusterState in CloudSolrServer on each request.
...
SOLR-3708: Add hashcode to ClusterState so that structures built based on the ClusterState can be easily cached.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369465 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 21:22:45 +00:00
Mark Robert Miller
de3d41432c
rename CloudState to ClusterState
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369396 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 18:32:33 +00:00
Mark Robert Miller
96f7135cea
retry on 503 along with 404 in this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369367 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 16:48:15 +00:00
Mark Robert Miller
854eabc534
LUCENE-3985: missed updating test file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369241 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 22:47:24 +00:00
Mark Robert Miller
7add2f7c62
LUCENE-3985: add close methods to Overseer and ConnectionManager and use them
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369236 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 22:34:08 +00:00
Mark Robert Miller
917fe18679
put this optimize back in - we need to make sure the deletes are cleared
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369207 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 20:56:45 +00:00
Robert Muir
8f726e254b
LUCENE-3616: throw exception on some illegal field configurations (applying boost to omitNorms or unindexed field), fix TextField(Reader) ctor as it cannot Store
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369196 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 20:26:13 +00:00
Mark Robert Miller
66dac680fe
assume that sometimes the zk state can be stale vs our watcher based state when checking our state matches zk state
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369189 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 20:03:16 +00:00
Mark Robert Miller
cd7c8221f7
logging tweaks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369106 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 17:31:46 +00:00
Mark Robert Miller
92c1125331
add logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369103 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 17:18:00 +00:00
Mark Robert Miller
577b895dd4
add some logging to recovery process
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369097 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 17:11:29 +00:00
Mark Robert Miller
81d7df0d35
SOLR-3658: fix deletes as well of course
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368998 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 14:49:00 +00:00
Mark Robert Miller
10fabf16d4
SOLR-3658: cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368760 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 00:01:58 +00:00
Mark Robert Miller
4e099f3571
SOLR-3658: SolrCmdDistributor can briefly create spikes of threads in the thousands - second pass
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368725 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 21:58:50 +00:00
Mark Robert Miller
6a88e3239f
SOLR-3428: SolrCmdDistributor flushAdds/flushDeletes can cause repeated adds/deletes to be sent
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368590 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 16:33:43 +00:00
Robert Muir
ed0e33bb6d
LUCENE-4278: ensure we fail test when directories arent closed (and add test-the-tester)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367834 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 00:31:29 +00:00
Robert Muir
5244693ebf
LUCENE-4273: fix DocsEnum freq flag consistent with DPEnum flags
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367623 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 15:51:24 +00:00
Chris M. Hostetter
1231dafae2
SOLR-3672: toLowerCase() is verboten
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367386 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 01:42:03 +00:00
Jan Høydahl
179a0c87bd
SOLR-3672: SimplePostTool: Improvements for posting files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367371 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 23:56:09 +00:00
Mark Robert Miller
ce85e4303e
on an error getting recent versions in recovery, log the error and act as if we found no versions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367317 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 21:30:36 +00:00
Chris M. Hostetter
8e7b2cf4aa
SOLR-3682: Fail to parse schema.xml if uniqueKeyField is multivalued
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367316 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 21:30:12 +00:00
Mark Robert Miller
f96ac59060
enhance test and turn on compare to control
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367228 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 19:08:31 +00:00
Chris M. Hostetter
d89510a29d
SOLR-3683: missing test file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367194 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 18:03:31 +00:00
Chris M. Hostetter
e9742e6165
SOLR-3683: Improved error handling if an <analyzer> contains both an explicit class attribute, as well as nested factories. (hossman)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367192 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 17:58:21 +00:00
Michael McCandless
72f99b47b4
LUCENE-4230: allow consumer to specify that payloads are not require when pulling D&PEnum, so codec can optimize if possible
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367186 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 17:31:34 +00:00
Chris M. Hostetter
8f20844ee9
SOLR-3674: better docs, example, test for PathHierarchyTokenizerFactory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367178 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 17:08:58 +00:00
Mark Robert Miller
5ab5df93ce
Break out SolrCoreState locks to avoid deadlock
...
SOLR-3659: on replication, rollback old writer rather than closing it
randomly turn on auto soft commit in monkey test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367171 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 16:56:09 +00:00
Yonik Seeley
eb80f5e897
SOLR-3688: fix spellcheck test relying on map order
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367125 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 15:40:11 +00:00
Mark Robert Miller
3d9e8b745f
fix the monkey: connection loss and expiration cause NPE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366969 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 00:42:46 +00:00
Uwe Schindler
4a54cc8b16
Allow detecting of Java 8
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366850 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 14:04:16 +00:00
Uwe Schindler
4040721fd0
Disable test failing with Java 8
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366846 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 13:13:19 +00:00
Erik Hatcher
eef6a6bec2
SOLR-3648: Fix Velocity template loading in SolrCloud mode
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366775 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 22:20:38 +00:00
Uwe Schindler
81cf4938ca
LUCENE-3312: Merge up to trunk r1366638
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1366643 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 11:27:51 +00:00
Uwe Schindler
a536dbf6ed
LUCENE-3312: Apply patch 8
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1366638 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 10:56:46 +00:00
Chris M. Hostetter
66c9bb6e9b
SOLR-3634: aparently, not all java6 SAXParseException implementations include the systemId in the toString(), so let's make sure we check it explicitly ... if this still doesn't work, then i'm going to start learning how to write C# and java can burn in hell for all i care ... write once run anywhere my ass
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366574 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 00:55:17 +00:00
Mark Robert Miller
89056ffd9d
add sync tests and logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366572 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 00:35:46 +00:00
Chris M. Hostetter
3b1d444672
SOLR-3634: change test to work even on java7 where SAXParseException.getMessage() returns a localized msg even though that defeats the whole point of Throwable.getLocalizedMessage()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366568 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 00:06:58 +00:00
Robert Muir
6d2a288be3
LUCENE-4262: add ivy sync=true, so when resolve runs, only jars that should be there are there
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366509 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 19:18:49 +00:00
Chris M. Hostetter
f98ab9d2dc
SOLR-3634: some errors are localized and tests fail in non en, disabling temporarily
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366460 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 17:13:02 +00:00
Robert Muir
467faeaae0
LUCENE-4260: factor subPackages out of the resourceloader interface
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366360 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 12:15:03 +00:00
Chris M. Hostetter
8d4d9abaed
SOLR-3634: refactor away the nocommit's i forgot about
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366249 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 00:39:34 +00:00
Uwe Schindler
657e0e98ab
LUCENE-4259: Improvement to expectedType
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366247 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 00:31:24 +00:00
Chris M. Hostetter
a7cd5f3384
SOLR-3634: CoreContainer and CoreAdminHandler will now remember and report back information about failures to initialize SolrCores
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366241 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 00:01:00 +00:00
Uwe Schindler
92e5c35bc3
Fix javadocs-linter: Windows support, support for file:-URLs (now needed), fix broken XML-comments in some files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366220 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 22:45:31 +00:00
Uwe Schindler
69a6b5a562
LUCENE-4259: Allow reloading of codec/postings format list when classpath changes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366115 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 17:59:49 +00:00
Robert Muir
3d1279c06c
move test to same place as 4.x branch for easier backporting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366110 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 17:55:23 +00:00
Robert Muir
8bfa167a73
LUCENE-4257: factor the getLines in REsourceLoader in WordListLoader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365992 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 13:43:28 +00:00
Uwe Schindler
924f6f730d
LUCENE-4255: one more
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365958 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 11:58:59 +00:00
Uwe Schindler
58a9b85ae0
LUCENE-4255: Remove more useless try..catch on IOException after ResourceLoader update
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365956 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 11:51:14 +00:00
Robert Muir
ca736cea8e
LUCENE-4255: clean up analysis factory exception handling
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365865 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 01:41:06 +00:00
Chris M. Hostetter
64dcd8855d
better javadocs for UpdateRequestProcessorChain and the key processor factories people should always know about
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365857 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 00:50:40 +00:00
Mark Robert Miller
645547df3e
SOLR-1781: ensure we are cleaning up the 'newest' old index directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365657 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 16:24:27 +00:00
Uwe Schindler
09dc88ce9a
LUCENE-2510, LUCENE-4044: Better generics-conform fix, sorry for heavy committing! It is much better than the original code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365610 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 14:55:48 +00:00
Mark Robert Miller
e3af5988e7
be a little less aggressive in how fast we retry failed recoveries
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365607 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 14:47:41 +00:00
Uwe Schindler
f7b94431d5
LUCENE-2510, LUCENE-4044: Nuke generics completely - Java 7 bug?
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365602 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 14:35:02 +00:00
Uwe Schindler
6751eefb8e
Merged revision(s) 1364862-1365482 from lucene/dev/trunk:
...
........
LUCENE-4044: add spi support to Tokenizer/CharFilter/TokenFilter factory
........
LUCENE-2510: apply movefactories.sh
........
LUCENE-4044: few steps closer to fixing compile
........
LUCENE-4044: add the rest for common/
........
LUCENE-4044: add services for kuromoji
........
LUCENE-4044: more factories and tests
........
LUCENE-4044: fix more compil
........
LUCENE-4044: fix some more tests
........
LUCENE-4197 rename CachedDistanceValueSource
........
LUCENE-4044: get analysis/common tests passing
........
improve zk tests vs blackhole
........
LUCENE-4044: get all lucene tests passing
........
LUCENE-4044: register phonetic factories
........
LUCENE-4245: Make IndexWriter#close() and MergeScheduler#close() non-interruptible
........
LUCENE-4044: port over icu module
........
LUCENE-4044: port over morfologik
........
LUCENE-4044: port over smartcn
........
LUCENE-4245: Addon: handle failures during flushing by enforcing CMS to stop
........
LUCENE-4044: port over stempel/uima
........
LUCENE-4044: port over synfilter
........
LUCENE-4245: better record interruption
........
fix reuse bug
........
simplify + improve test infra
........
LUCENE-4245: use IOUtils to close everything in finally block
........
LUCENE-4044: get solr tests working
........
LUCENE-4044: dont use instances just class names
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365483 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 08:10:27 +00:00
Robert Muir
bc5848f7dc
LUCENE-4252: null these out for GC to close ram leak
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365450 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 05:26:37 +00:00
Robert Muir
de8e3661fc
LUCENE-4252: null these out for GC to close ram leak
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365444 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 04:49:21 +00:00
Mark Robert Miller
b77c7e684d
more black hole avoidance
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365437 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 04:32:57 +00:00
Mark Robert Miller
3208495042
wait for *all* nodes to see downed node out of cloud state before making a request
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365428 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 03:47:09 +00:00
Chris M. Hostetter
001eac714e
SOLR-3652: Fixed range faceting to error instead of looping infinitely when 'gap' is zero -- or effectively zero due to floating point arithmetic underflow
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365363 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 00:11:35 +00:00
Uwe Schindler
2fbd91eb5c
LUCENE-2510: General improvement: Be more picky about service name in SPI, as loaded from untrusted source; simplify code; improvement in Solr's ResourceLoader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365345 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 23:28:07 +00:00
Mark Robert Miller
1ff7e05b8f
add a StopableSearchThread
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365313 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 21:49:56 +00:00
Robert Muir
de67b889c6
LUCENE-2510: fix javadocs linter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365225 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 19:01:55 +00:00
Uwe Schindler
2a6a024fd5
LUCENE-2510: Slightly less stupid generics - arrrrgh
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365219 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 18:50:31 +00:00
Uwe Schindler
d1ad745f53
LUCENE-2510: Make the SOLR backwards layer be implemented directly inside SolrResourceLoader (sorry for the generics and still needed suppress warnings... - maybe somebody has an idea for the map inside map)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365215 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 18:44:40 +00:00
Robert Muir
5b1664349a
LUCENE-4044: dont use instances just class names
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365106 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 15:01:12 +00:00
Robert Muir
0e80c044b2
LUCENE-4044: get solr tests working
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365095 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 14:46:12 +00:00
Yonik Seeley
08b37ea20d
SOLR-3559: distributed DBQ did not respect the FROMLEADER param
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365014 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 12:46:41 +00:00
Mark Robert Miller
845a3c3d60
simplify + improve test infra
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364923 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 07:20:20 +00:00
Robert Muir
5249e46aee
LUCENE-4044: port over synfilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364907 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 06:18:49 +00:00
Mark Robert Miller
9878f2f5f7
improve zk tests vs blackhole
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364888 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:00:54 +00:00
Robert Muir
134a4a400a
LUCENE-4044: fix some more tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364881 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 04:36:52 +00:00
Robert Muir
ca658fd75d
LUCENE-4044: fix more compil
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364879 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 04:05:36 +00:00
Robert Muir
73d4b55f7e
LUCENE-4044: more factories and tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364878 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 03:59:34 +00:00
Robert Muir
fe2d1194fb
LUCENE-2510: apply movefactories.sh
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364867 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 01:56:39 +00:00
Mark Robert Miller
2fd2d60e19
avoid distrib search against down node in test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364828 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 22:44:20 +00:00
Mark Robert Miller
87182914a3
since we raised the session timeout, this needs to be willing to poll longer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364786 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 20:28:13 +00:00
Mark Robert Miller
16d593be79
try waiting longer for apache jenkins server
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364569 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 10:32:52 +00:00
Mark Robert Miller
badb3584c5
raise how long we are willing to poll for the backups existence from 2 seconds to 4
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364466 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 23:56:16 +00:00
Mark Robert Miller
318e8e1db5
boost timeout slightly for connections and add another call to wait for a stable cluster before killing a node
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364463 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 23:45:01 +00:00
Mark Robert Miller
2f9aca255f
take out del(*:*) for now and add a couple more asserts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364459 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 23:32:49 +00:00
Mark Robert Miller
613ab7cde9
speed up ZkCLITest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364439 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 21:47:07 +00:00
Mark Robert Miller
6b2cc429ec
improve logging for bootstrap cmd
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364438 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 21:46:06 +00:00
Mark Robert Miller
6578d7f512
SOLR-3663: There are a couple of bugs in the sync process when a leader goes down and a new leader is elected.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364429 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 20:30:37 +00:00
Yonik Seeley
19aa69b0cd
SOLR-3656 SOLR-3662: core reload improvements
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364409 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 19:45:00 +00:00
Mark Robert Miller
bbd6934008
enable these tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364356 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 16:56:11 +00:00
Mark Robert Miller
a798414614
SOLR-3658: Adding thousands of docs with one UpdateProcessorChain instance can briefly create spikes of threads in the thousands.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364355 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 16:54:26 +00:00
Uwe Schindler
4ecb3975c3
Silence always-failing Solr tests!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364349 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 16:39:57 +00:00
Mark Robert Miller
1b347896ac
remove stale comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364347 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 16:24:19 +00:00
Mark Robert Miller
8b1054f30f
SOLR-3655: Ensure we register as down and leader sees that before creating startup ephem node
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364015 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 23:02:17 +00:00
Mark Robert Miller
f27b8a2d16
add a bit of logging around recovery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364013 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 22:57:40 +00:00
Yonik Seeley
cc90a37ed7
tests: test harness shouldn't hold core reference
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363819 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 15:04:23 +00:00
Mark Robert Miller
b339c63a9e
boost timeouts for zkclient used by ZkCLI tool
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363799 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 14:28:32 +00:00
Mark Robert Miller
b2796c1d82
SOLR-3647: DistrubtedQueue should use our Solr zk client rather than the std zk client.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363781 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 13:57:20 +00:00
Chris M. Hostetter
47541d03bc
SOLR-3642: Correct broken check for multivalued fields in stats.facet
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363555 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 21:28:11 +00:00
Mark Robert Miller
b7cbef534c
tweak test methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363335 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 13:52:02 +00:00
Mark Robert Miller
ef16608cb1
catch throwable for tests (assert fails) - not just exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363333 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 13:50:32 +00:00
Chris M. Hostetter
b20252f777
SOLR-3629: Typo in solr.xml persistence when overriding the solrconfig.xml file name using the "config" attribute prevented the override file from being used
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363161 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 22:41:58 +00:00
Robert Muir
5a2d0bc654
LUCENE-2686, LUCENE-3505: Fix various bugs in BooleanQuery, clean up scorer navigation API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363115 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 21:04:18 +00:00
Yonik Seeley
875d54e5b2
tests: add core reload stress test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363084 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 20:05:56 +00:00
Yonik Seeley
66898c2659
tests: add core reload stress test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363082 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 20:05:11 +00:00
Mark Robert Miller
83e07fec09
SOLR-3215: Clone SolrInputDocument when distrib indexing so that update processors after the distrib update process do not process the document twice.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363013 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 16:52:42 +00:00
Mark Robert Miller
6c08d7f2a4
SOLR-1781: Replication index directories not always cleaned up.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362994 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 16:06:22 +00:00
Mark Robert Miller
c33118ce89
SOLR-3621: release writer get lock in a finally
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362500 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 14:03:40 +00:00
Robert Muir
e003b49cab
LUCENE-4228: refactor CharFilter to be a java.io.FilterReader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362442 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 10:53:28 +00:00
Christopher John Male
75504b9d7a
LUCENE-4165: Removed closing of Reader from HunspellDictionary so InputStreams are not closed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362371 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 05:46:32 +00:00
Mark Robert Miller
922ad2bff2
SOLR-3621: fix rare concurrency issue when opening a new IndexWriter for replication or rollback.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362232 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 20:08:46 +00:00
Robert Muir
963efbfea2
LUCENE-2191: rename Tokenizer.reset(Reader) to Tokenizer.setReader(Reader)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362074 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 14:57:00 +00:00
Mark Robert Miller
c16f3f75bc
SOLR-3620: check if shutdown after wait so that any threads that were waiting bail rather than starting a recovery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361805 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 21:30:13 +00:00
Mark Robert Miller
3377e98fdb
don't share random across threads in tests - missed file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361708 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 14:38:22 +00:00
Mark Robert Miller
1acad4e893
don't share random across threads in tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361707 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 14:34:44 +00:00
Mark Robert Miller
902ed6cdf6
SOLR-3620: put back cancel recovery in close - it should be fine now
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361568 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 17:29:34 +00:00
Mark Robert Miller
5248f5d5fe
revert accidental commit of this file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361315 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 18:10:05 +00:00
Mark Robert Miller
0e32691abc
SOLR-3620: attempt to address shutdown deadlock - once the CoreContainer starts shutting down, do not start any new recoveries - there was a small window this could happen in previously
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361310 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 18:05:09 +00:00
Yonik Seeley
732ad20130
SOLR-139: update doc - create if it doesn't exist by default
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361301 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 17:10:36 +00:00
Mark Robert Miller
8d68f469cc
SOLR-3600: Raise the default zkClientTimeout from 10 seconds to 15 seconds.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361276 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 15:23:24 +00:00
Yonik Seeley
7993e39d38
SOLR-3377: edismax fails to correctly parse a fielded query wrapped by parens
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361091 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 08:32:57 +00:00
Mark Robert Miller
e7d1278836
Add reload command to collections api - also improve tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361017 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 00:35:54 +00:00
Chris M. Hostetter
d6254caf80
SOLR-1725: StatelessScriptUpdateProcessorFactory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360931 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 20:49:41 +00:00
Christian Moen
8b97cec044
Made discarding punctuation configurable in JapaneseTokenizerFactory (SOLR-3524)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360592 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 09:19:02 +00:00
Mark Robert Miller
46021d4575
SOLR-3460: Add cloud-scripts directory and a zkcli.sh|bat tool for easy scripting and interaction with ZooKeeper.
...
SOLR-3609: Change Solr's expanded webapp directory to be at a consistent path called solr-webapp rather than a temporary directory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360416 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 21:45:43 +00:00
Robert Muir
f2c69f4794
fix test to propagate setUp()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360363 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 19:24:34 +00:00
Robert Muir
dc90a019a2
LUCENE-4212: Tests should not use new Random() without args
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360354 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 19:10:08 +00:00
Uwe Schindler
80c852e721
Remove 3 File.createTempDir in favour of LTC's own cleanup magic.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359920 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 21:54:16 +00:00
Mark Robert Miller
3042e69056
we do not need this pause after the test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359733 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 15:44:16 +00:00
Mark Robert Miller
364407b578
SOLR-3612: Race condition when starting an embedded zk ensemble
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359732 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 15:43:47 +00:00
Christian Moen
a15331043f
Added JapaneseIterationMarkCharFilter (LUCENE-4201)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359613 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 11:46:09 +00:00
Mark Robert Miller
3541d0f933
SOLR-3355: fix bug around null shard / collection in statistics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359467 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 03:33:00 +00:00
Robert Muir
4db783ca86
SOLR-3610: after reloading a core, indexing failed on any newly added fields to the schema
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359449 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 00:35:28 +00:00
Mark Robert Miller
d4522d1016
update tutorial with correct path to conf files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359267 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 16:43:07 +00:00
Robert Muir
4138528889
LUCENE-4199: add default local DecimalFormat ctors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359238 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 16:03:57 +00:00
Robert Muir
123b645157
LUCENE-4199: fix remaining violations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359188 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 14:22:20 +00:00
Robert Muir
46cb8b9780
LUCENE-4199: fix more default locale/charset violations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359181 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 14:06:17 +00:00
Uwe Schindler
e4b8dc640e
LUCENE-4199: Reverse merged revision(s) 1-0 from lucene/dev/trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359007 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 09:49:58 +00:00
Robert Muir
9df919c5ba
LUCENE-4199: fix more charset/locale usages
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358890 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 01:17:15 +00:00
Yonik Seeley
e61e9134a8
SOLR-2702: add replication support to NRTCachingDirectoryFactory and make it the default
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358650 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 21:48:19 +00:00
Robert Muir
b6a4748f21
make Locale.ENGLISH/US -> ROOT for locale-independent operations, now that we are on java6
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358594 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 15:42:40 +00:00
Robert Muir
79cb46698e
LUCENE-4199: fix more violations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358587 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 15:12:23 +00:00
Robert Muir
6569c4854b
LUCENE-4185: don't apply CharFilters twice in Solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358481 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 00:32:28 +00:00
Dawid Weiss
bb1190c05d
LUCENE-4194: more solr default encoding fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358107 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 10:29:29 +00:00
Mark Robert Miller
403ef8c934
SOLR-2225: new test around default core handling
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357998 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 23:53:56 +00:00
Mark Robert Miller
c0e5935900
fix a small bug around these null checks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357983 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 22:51:01 +00:00
Mark Robert Miller
c971f7929a
SOLR-3355: Add shard and collection to SolrCore statistics.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357887 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 20:36:05 +00:00
Yonik Seeley
b1b9c913df
SOLR-3559: clear all tlog maps else an RTG lookup could find the udpate during a concurrent commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357359 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 18:21:12 +00:00
Yonik Seeley
1b4a1653d9
log DBQ reordering events
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357331 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 16:21:15 +00:00
Yonik Seeley
0327e7bf4c
tests: refactor TestRealTimeGet
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357324 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 16:02:42 +00:00
Yonik Seeley
9250082566
tests: disable stress DBQ reorder
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357027 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 00:54:53 +00:00
Mark Robert Miller
75f7719318
SOLR-3587: After reloading a SolrCore, the original Analyzer is still used rather than a new one
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356842 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 17:36:38 +00:00
Yonik Seeley
0f808c6bcd
SOLR-3559: DBQ reorder support
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356778 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 15:05:30 +00:00
Mark Robert Miller
38fc03163a
fix javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356435 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 19:43:52 +00:00
Mark Robert Miller
3bbbd0bea3
SOLR-3488: Added a Collection management API for SolrCloud.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356313 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 15:57:12 +00:00
Mark Robert Miller
f85b291fee
ignore again - some issue on builds.apache that needs to be addressed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356251 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 14:26:39 +00:00
Uwe Schindler
8356f38ad5
Fix test failure with JDK8: The problem is undefined order of HashMaps. This here is more a NamedList like object, so we use LinkedHashMap.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356033 13f79535-47bb-0310-9956-ffa450edef68
2012-07-01 21:53:26 +00:00
Mark Robert Miller
6a6aaf67d2
try and run this test again
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355983 13f79535-47bb-0310-9956-ffa450edef68
2012-07-01 19:14:33 +00:00
Dawid Weiss
51c387731b
LUCENE-4181: Change the semantics of @Slow on tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355310 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 10:55:26 +00:00
Steven Rowe
fd16190940
LUCENE-4172: clean up redundant throws clauses
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355069 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 16:39:25 +00:00
Mark Robert Miller
306081e328
SOLR-3582: Our ZooKeeper watchers respond to session events as if they are change events, creating undesirable side effects.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355004 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 13:23:49 +00:00
Jan Høydahl
01dd823f23
SOLR-3467: ExtendedDismax escaping is missing several reserved characters
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354865 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 08:56:59 +00:00
Mark Robert Miller
1fc4347e41
SOLR-1770: Move the default core instance directory into a collection1 folder
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354308 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 01:48:00 +00:00
Ryan McKinley
900363a9b6
SOLR-3557: Avoid NPE for distributed request when shards.tolerant=true
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354105 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 16:44:14 +00:00
Sami Siren
0cf9ac0833
SOLR-3558 change SnapPuller to use solrj
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353889 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 09:28:03 +00:00
Chris M. Hostetter
ab6da236cd
SOLR-3577: better javadocs and error messages related to global/fieldtype SimilarityFactory usage (ie: SOLR-2338)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353801 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 01:59:15 +00:00
Uwe Schindler
737bb84db3
LUCENE-4155: Move & hide oal.util classes to better packages to reduce import statements and too many public classes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352942 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 16:04:38 +00:00
David Wayne Smiley
991bbd7b57
SOLR-3313 Rename Query Type to Query Parser
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352760 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 02:41:36 +00:00
Jan Høydahl
59313cd115
SOLR-3351: eDismax: ps2 and ps3 params
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352726 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 23:40:05 +00:00
Erick Erickson
0c033a2878
Fix for Solr 3453
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352250 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 18:15:15 +00:00
David Wayne Smiley
f12b94ab86
SOLR-3313 Rename Query Type to Request Handler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351932 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 04:23:07 +00:00
David Wayne Smiley
96d5d8e481
SOLR-2724 deprecate DefaultSearchField and defaultOperator
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351931 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 04:17:04 +00:00
Chris M. Hostetter
90cdc559d8
SOLR-3548: Fixed a bug in the cachability of queries using the {!join} parser or the strdist() function, as well as some minor improvements to the hashCode implementation of {!bbox} and {!geofilt} queries
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351839 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 20:27:06 +00:00
Uwe Schindler
ae212ff6f6
LUCENE-3866: CompositeReader.getSequentialSubReaders() now returns unmodifiable List<? extends IndexReader>. ReaderUtil.Gather was removed, as IndexReaderContext.leaves() is now the preferred way to access sub-readers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351590 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 07:24:29 +00:00
Chris M. Hostetter
f6bd05ca2f
SOLR-3522: fixed parsing of the 'literal()' function
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351460 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 19:03:21 +00:00
Martijn van Groningen
da70cee7ff
SOLR-3406: Extended grouped faceting support to facet.query and facet.range parameters.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351219 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 07:16:40 +00:00
David Wayne Smiley
83616468a0
SOLR-3534 dismax should consult 'df' as a default for 'qf' and throw an exception when none set
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351026 13f79535-47bb-0310-9956-ffa450edef68
2012-06-17 00:27:05 +00:00
David Wayne Smiley
1ed4c4d40e
SOLR-3304 Removed a small bit of redundant testing that tests if [e]dismax defaults to schema defaultSearchField (already tested by TestExtendedDismaxParser). These specific tests will fail for another reason soon if left as is.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350466 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 05:42:51 +00:00
Chris M. Hostetter
77e0c78b04
SOLR-3267: make TestSort.testRandomFieldNameSorts less wishy-washy about random strings that might produce function names
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350444 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 02:00:38 +00:00
Koji Sekiguchi
dd01aad660
SOLR-3542: add WeightedFragListBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350436 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 01:15:26 +00:00
Mark Robert Miller
222fb0be9d
revert test change - it did not help
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350357 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 18:20:13 +00:00
Sami Siren
53a1ce8d69
SOLR-3543 do not catch exceptions in JavaBinLoader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350199 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 11:37:42 +00:00
Sami Siren
32a1fe42d0
remove single sleep, poll
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350195 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 11:15:56 +00:00
Koji Sekiguchi
d22b00ea16
typo: bost -> boost
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350074 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 02:10:52 +00:00
Chris M. Hostetter
49b9a671fe
SOLR-2599: CloneFieldUpdateProcessorFactory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350050 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 22:57:48 +00:00
Robert Muir
8f57bd7ea5
LUCENE-4142: AnalyzerWrapper doesn't work with CharFilters
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349758 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 11:22:40 +00:00
Sami Siren
a15a51276d
SOLR-3511 be less aggressive when killing overseer during the test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349633 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 04:40:43 +00:00
Yonik Seeley
476e83cd4e
use ms resolution for replication tmp dir
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349612 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 02:21:17 +00:00
Yonik Seeley
97b0066023
logging: improve replication logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349378 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 14:48:16 +00:00
Sami Siren
40c18680ab
SOLR-3532 add shutdown to SolrServer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349127 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 05:45:09 +00:00
Chris M. Hostetter
91b1e22e99
SOLR-3537: Fixed TermVectorComponent so that it will not fail if the fl param contains globs or psuedo-fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349012 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 21:08:48 +00:00
Chris M. Hostetter
2ac3eb27c4
LUCENE-3949: fix license headers to not be javadoc style comments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348980 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 19:26:18 +00:00
Erik Hatcher
d2bee89f1e
Update post.jar usage text based since /update now handles CSV and JSON too
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348977 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 19:20:21 +00:00
Erik Hatcher
f5821bc977
javadoc typo fixes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348974 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 19:14:58 +00:00
Mark Robert Miller
d8be50b46d
test this change with jenkins runs - try and get index path from latest searcher rather than registered searcher
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348970 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 19:10:35 +00:00
James Dyer
b232abb645
SOLR-3211: Allow parameter overrides when testing spellcheck collations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348936 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 17:17:04 +00:00
Sami Siren
ad21fb3947
SOLR-3511 make sure parent node exits before using the queue, check leader status before every update when in fallback mode
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348760 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 09:22:03 +00:00
Robert Muir
4110fae40b
LUCENE-4127: don't let bogus offsets corrupt the index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348685 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 23:50:21 +00:00
Michael McCandless
dba50b31e7
LUCENE-4101: add ctors create stored or not-stored variants of indexed fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348630 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 17:42:19 +00:00
Mark Robert Miller
b3db6e9426
add a bit of debug logging to help track down a jenkins fail
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348492 13f79535-47bb-0310-9956-ffa450edef68
2012-06-09 19:55:58 +00:00
Andrzej Bialecki
4efdbdb2a8
LUCENE-4122 Replace Payload with BytesRef.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348171 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 17:58:41 +00:00