Commit Graph

1861 Commits

Author SHA1 Message Date
Chris M. Hostetter 7347761737 SOLR-4524: test proving this works
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452612 13f79535-47bb-0310-9956-ffa450edef68
2013-03-05 01:03:06 +00:00
Chris M. Hostetter be7f8b5144 SOLR-4138: doc typos
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452508 13f79535-47bb-0310-9956-ffa450edef68
2013-03-04 20:51:15 +00:00
Chris M. Hostetter a28589d2c3 SOLR-4138: CurrencyField fields can now be used in a ValueSources. There is also a new currency(field,[CODE]) function
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452483 13f79535-47bb-0310-9956-ffa450edef68
2013-03-04 20:25:37 +00:00
Erick Erickson 410156fa8f Trying to log more info to track down test failures. Ephemeral change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452334 13f79535-47bb-0310-9956-ffa450edef68
2013-03-04 14:43:54 +00:00
Erick Erickson 372a592f90 SOLR-4525, another place where I missed closing the stream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452321 13f79535-47bb-0310-9956-ffa450edef68
2013-03-04 14:20:39 +00:00
Uwe Schindler 326531d820 SOLR-4525: Fix remaining issues with windows and not-closed files. Test is now passing. The problem here: The old code that used XML files did not need to close the streams, because XML parsers generally do it (for no good reason)...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452146 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 22:28:25 +00:00
Uwe Schindler 6ba62cd0a2 SOLR-4525: Fix more leaks with open files on properties load/store
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452143 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 22:17:01 +00:00
Uwe Schindler 716f10c0c1 SOLR-4525: Fix forbidden-apis violation. Java Properties are defined to be binary not character based. The format is using a binary protocol to write them (see javadocs).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452136 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 21:56:43 +00:00
Erick Erickson 6e94771693 Part of SOLR-4525. Need to close some file streams in the test case.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452115 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 19:51:12 +00:00
Mark Robert Miller 61eca4446b tests: speed test up a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452113 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 19:42:31 +00:00
Mark Robert Miller 888f626b40 change log level to info - this is not a severe event
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452090 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 18:29:54 +00:00
Mark Robert Miller ffc06b1a16 SOLR-4210: More efficient stream copying
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452069 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 17:30:05 +00:00
Erick Erickson 2e7651f407 SOLR-4525 Adding some verbosity to the test b/c it fails in some environments, how often I don't quite know.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452048 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 14:57:07 +00:00
Erick Erickson ac389d7f07 SOLR-4401 adding rapidly opening/closing cores to unit tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451997 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 03:15:41 +00:00
Mark Robert Miller 43f384e57f SOLR-4210: Fix it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451987 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 01:29:48 +00:00
Robert Muir fa0094035d SOLR-4523: Show if fields have docvalues or highlighting offsets in admin UI
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451970 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 01:04:47 +00:00
Chris M. Hostetter 16b8796a25 SOLR-4518: Improved CurrencyField error messages when attempting to use a Currency that is not supported by the current JVM
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451931 13f79535-47bb-0310-9956-ffa450edef68
2013-03-02 20:10:03 +00:00
Yonik Seeley 73a0270ad8 SOLR-2996: treat un-fielded * as *:*
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451906 13f79535-47bb-0310-9956-ffa450edef68
2013-03-02 17:18:43 +00:00
Chris M. Hostetter 89c7a3a6eb SOLR-4515: more typos that documentation-lint aparently didn't catch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451841 13f79535-47bb-0310-9956-ffa450edef68
2013-03-02 06:39:39 +00:00
Chris M. Hostetter 926a9d863a SOLR-4515: typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451838 13f79535-47bb-0310-9956-ffa450edef68
2013-03-02 06:35:35 +00:00
Chris M. Hostetter daa66dd5d0 SOLR-4515: CurrencyField's OpenExchangeRatesOrgProvider now requires a ratesFileLocation init param, since the previous global default no longer works
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451818 13f79535-47bb-0310-9956-ffa450edef68
2013-03-02 01:52:03 +00:00
Erick Erickson aa22ceb97d SOLR-4196, steps toward making solr.xml obsolete
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451797 13f79535-47bb-0310-9956-ffa450edef68
2013-03-02 01:01:12 +00:00
Chris M. Hostetter 05cc3a4706 SOLR-4458: Sort directions (asc, desc) are now case insensitive
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451765 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 23:17:37 +00:00
Chris M. Hostetter 88931a58a0 SOLR-4514: better tests for CurrencyField using OpenExchangeRatesOrgProvider
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451691 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 19:24:23 +00:00
Mark Robert Miller 3a9683d7ac SOLR-4521: Stop using the 'force' option for recovery replication. This will keep some less common unnecessary replications from happening.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451660 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 17:40:34 +00:00
Mark Robert Miller 3ce9b7d1ac SOLR-4511: When a new index is replicated into place, we need to update the most recent replicatable index point without doing a commit. This is important for repeater use cases, as well as when nodes may switch master/slave roles.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451659 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 17:37:30 +00:00
Mark Robert Miller 709824acf8 SOLR-4505: Possible deadlock around SolrCoreState update lock.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451653 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 17:24:47 +00:00
Robert Muir 6e14a97ccf SOLR-4517: make FieldType.properties protected for subclassing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451521 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 08:32:40 +00:00
Mark Robert Miller b3c8da0e99 cache=false for proxy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451454 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 01:50:42 +00:00
Mark Robert Miller 7f9f3c5105 tests: add test that hits update url
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451370 13f79535-47bb-0310-9956-ffa450edef68
2013-02-28 21:47:39 +00:00
Mark Robert Miller f5e2e50c7f tests: speed up test a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451322 13f79535-47bb-0310-9956-ffa450edef68
2013-02-28 20:04:20 +00:00
Mark Robert Miller 633eac1cd7 SOLR-4513: We can speed up the Unload Collections API test quite a bit by not loading any cores on startup.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451228 13f79535-47bb-0310-9956-ffa450edef68
2013-02-28 15:17:23 +00:00
Mark Robert Miller 99b77c04aa SOLR-4513: We can speed up the Collections API test quite a bit by not loading any cores on startup.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451214 13f79535-47bb-0310-9956-ffa450edef68
2013-02-28 14:30:30 +00:00
Mark Robert Miller aeb50e2050 SOLR-4507: The Cloud tab does not show up in the Admin UI if you set zkHost in solr.xml.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450800 13f79535-47bb-0310-9956-ffa450edef68
2013-02-27 15:15:03 +00:00
Mark Robert Miller 8f5a7b1232 cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450795 13f79535-47bb-0310-9956-ffa450edef68
2013-02-27 15:02:36 +00:00
Mark Robert Miller f3be2a55fa tests: tweak syncslicetest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450600 13f79535-47bb-0310-9956-ffa450edef68
2013-02-27 04:40:20 +00:00
Mark Robert Miller e77db49abc remove sys outs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450594 13f79535-47bb-0310-9956-ffa450edef68
2013-02-27 04:18:01 +00:00
Mark Robert Miller 1777ccd770 tests: fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450578 13f79535-47bb-0310-9956-ffa450edef68
2013-02-27 02:05:39 +00:00
Chris M. Hostetter db6ca427ba SOLR-1365: New SweetSpotSimilarityFactory allows customizable TF/IDF based Similarity when you know the optimal "Sweet Spot" of values for the field length and TF scoring factors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450577 13f79535-47bb-0310-9956-ffa450edef68
2013-02-27 01:58:07 +00:00
Yonik Seeley 241436ab4c SOLR-4480: edismax - fix trailing +-
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450369 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 19:39:56 +00:00
Chris M. Hostetter fe0ca7336f SOLR-4504: Fixed CurrencyField range queries to correctly exclude documents w/o values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450304 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 17:46:17 +00:00
Robert Muir d09ba0c912 SOLR-4490: multi-valued dv support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450239 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 15:59:05 +00:00
Mark Robert Miller a9f59ba54c SOLR-4210: clean up error case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450043 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 06:21:26 +00:00
Mark Robert Miller 56e88400ae SOLR-4210: Requests to a Collection that does not exist on the receiving node should be proxied to a suitable node.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450015 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 04:29:56 +00:00
Mark Robert Miller d0d2ff9209 SOLR-4078: Allow custom naming of SolrCloud nodes so that a new host:port combination can take over for a previous shard.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450012 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 04:09:52 +00:00
Chris M. Hostetter 01b504b137 SOLR-4481: SwitchQParserPlugin registered by default as 'switch'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449809 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 18:54:39 +00:00
Mark Robert Miller 1115ba8aba SOLR-4498: Add list command to ZkCLI that prints out the contents of ZooKeeper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449578 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 01:29:21 +00:00
Mark Robert Miller 36d854be91 tests: add polling wait
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449576 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 01:15:53 +00:00
Mark Robert Miller 382e279c1b fix up test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449496 13f79535-47bb-0310-9956-ffa450edef68
2013-02-24 15:34:42 +00:00
Mark Robert Miller 4de7dd999c tests: ignore for a bit while i work this test out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449483 13f79535-47bb-0310-9956-ffa450edef68
2013-02-24 14:16:28 +00:00
Adrien Grand e6231ad585 SOLR-3855: Fix faceting on numeric fields with precisionStep < Integer.MAX_VALUE, facet.mincount=0 and facet.method=fcs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449360 13f79535-47bb-0310-9956-ffa450edef68
2013-02-23 16:28:13 +00:00
Mark Robert Miller 69c559c00b tests: test can fail depending on order tests are run in
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449323 13f79535-47bb-0310-9956-ffa450edef68
2013-02-23 14:26:29 +00:00
Mark Robert Miller 3adabbd43a SOLR-4471: Fix up test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449258 13f79535-47bb-0310-9956-ffa450edef68
2013-02-23 00:32:12 +00:00
Mark Robert Miller c21914aa7d SOLR-4471: Improve and clean up TestReplicationHandler.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449240 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 22:16:04 +00:00
Erik Hatcher 13fc322cf0 SOLR-2856: Fix schema (scheam) typo in test configurations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449211 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 20:52:17 +00:00
Mark Robert Miller 302c3ed37e SOLR-4471: Replication occurs even when a slave is already up to date.
SOLR-4484: ReplicationHandler#loadReplicationProperties still uses Files rather than the Directory to try and read the replication properties files.

SOLR-4488: Return slave replication details for a master if the master has also acted like a slave.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449115 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 16:58:42 +00:00
Mark Robert Miller ee86128976 sort file list
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449053 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 14:21:23 +00:00
Chris M. Hostetter 371875652a SOLR-4472: jdoc updates for DateField and UUIDField refering to TimestampUpdateProcessorFactory and UUIDUpdateProcessorFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1448879 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 01:22:59 +00:00
Chris M. Hostetter 32c4a80577 SOLR-3060: SurroundQParserPlugin highlighting tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1448863 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 00:05:58 +00:00
Robert Muir f3f8b8afb1 SOLR-4477: match-only query support for docvalues fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1448440 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 22:12:29 +00:00
Mark Robert Miller 1e5ce76902 tests: raise timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1448426 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 21:29:44 +00:00
Mark Robert Miller e848961db1 tests: another attempt at fixing this test setup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1448422 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 21:17:03 +00:00
Steven Rowe 83fa975ae9 LUCENE-4789: fix typos
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1448400 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 20:53:46 +00:00
Robert Muir 1ab4c5bc36 LUCENE-4790: FieldCache.getDocTermOrds back to the future bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1448368 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 19:44:28 +00:00
Robert Muir b44aa61834 LUCENE-4765: Multi-valued docvalues field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447999 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 04:29:42 +00:00
Chris M. Hostetter 881c0b21eb SOLR-4394: phase 2, promoted SSL randomization logic up to SolrJettyTestBase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447885 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 19:52:16 +00:00
Shalin Shekhar Mangar dc070b4ab8 SOLR-3755: Do not create core on split action, use 'targetCore' param instead
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447516 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 22:01:39 +00:00
Shalin Shekhar Mangar be3ee82ece SOLR-4414: Add 'state' to shards (default to 'active') and read/write them to ZooKeeper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447336 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 15:41:40 +00:00
Mark Robert Miller edba3cc309 SOLR-4467: While looking into what looks like some kind of resource leak, make this hard fail a soft logging fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447308 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 15:17:23 +00:00
Robert Muir 441f553a27 Merged /lucene/dev/trunk:r1446984-1447123
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1447125 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 02:37:43 +00:00
Mark Robert Miller d44ef9b67f tests: split + improve a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447098 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 23:05:22 +00:00
Mark Robert Miller d3accc58e6 SOLR-4413: Fix SolrCore#getIndexDir() to return the current index directory.
SOLR-4469: A new IndexWriter must be opened on SolrCore reload when the index directory has changed and the previous SolrCore's state should not be  propagated.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447089 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 22:13:35 +00:00
Mark Robert Miller d51e6f2c29 SOLR-4417: Reopen the IndexWriter on SolrCore reload.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447084 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 21:46:13 +00:00
Mark Robert Miller 608998e97c tests: setup to setUp
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447075 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 20:39:09 +00:00
Robert Muir a4af217886 Merged /lucene/dev/trunk:r1446754-1446983
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1446985 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 00:45:22 +00:00
Mark Robert Miller 534d8b170e tests: improve cm tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446981 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 00:22:57 +00:00
Mark Robert Miller 902e34af55 tests: improve some cloud tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446935 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 20:21:33 +00:00
Mark Robert Miller b800d08400 SOLR-4467: Ephemeral directory implementations may not recover correctly because the code to clear the tlog files on startup is off.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446928 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 19:20:05 +00:00
Mark Robert Miller 7dd591ba5d tests: raise default so timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446927 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 19:18:35 +00:00
Mark Robert Miller d540b8e122 SOLR-4421,SOLR-4165: Fix wait loop to sleep, reduce max wait time, wait min 1 second
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446926 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 19:17:43 +00:00
Adrien Grand e61398084d SOLR-3855: Doc values support.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446922 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 18:50:20 +00:00
Mark Robert Miller 384d42b5e3 SOLR-4421,SOLR-4165: On CoreContainer shutdown, all SolrCores should publish their state as DOWN.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446914 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 16:59:53 +00:00
Mark Robert Miller 3a4103d19b SOLR-4459: The Replication 'index move' rather than copy optimization doesn't kick in when using NRTCachingDirectory or the rate limiting feature.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446833 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 01:27:57 +00:00
Robert Muir 8b4207e278 Merged /lucene/dev/trunk:r1445907-1446753
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1446801 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 22:58:27 +00:00
Mark Robert Miller 2ab630b840 SOLR-4463: Fix SolrCoreState reference counting.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446716 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 18:32:31 +00:00
Mark Robert Miller c2166b9dfa spell fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446449 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 05:46:59 +00:00
Chris M. Hostetter 9e767a667d SOLR-4394: Tests and example configs demonstrating SSL with both server and client certs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1445971 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 23:04:38 +00:00
Robert Muir 73d9834a5b Merged /lucene/dev/trunk:r1444646-1445015
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1445016 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 02:03:09 +00:00
Shalin Shekhar Mangar 03a6a161af SOLR-4426: NRTCachingDirectoryFactory does not initialize maxCachedMB and maxMergeSizeMB if <directoryFactory> is not present in solrconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1444782 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 14:28:57 +00:00
Robert Muir 2dcf80718c commit current state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1444647 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 02:54:53 +00:00
Mark Robert Miller 91b1e22789 test: work on hardening this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1444472 13f79535-47bb-0310-9956-ffa450edef68
2013-02-10 02:07:54 +00:00
Mark Robert Miller f90584d0db test: work on hardening this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1444468 13f79535-47bb-0310-9956-ffa450edef68
2013-02-10 01:11:43 +00:00
Shalin Shekhar Mangar d37c98d95a SOLR-3755: Test for SolrIndexSplitter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1444397 13f79535-47bb-0310-9956-ffa450edef68
2013-02-09 17:19:19 +00:00
Mark Robert Miller 806ab343c6 SOLR-4421: On CoreContainer shutdown, all SolrCores should publish their state as DOWN.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1444249 13f79535-47bb-0310-9956-ffa450edef68
2013-02-08 21:44:40 +00:00
Mark Robert Miller e729e57a8e SOLR-3655: A restarted node can briefly appear live and active before it really is in some cases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1444239 13f79535-47bb-0310-9956-ffa450edef68
2013-02-08 21:09:25 +00:00
Mark Robert Miller 66ecf9afb5 SOLR-4400: Deadlock can occur in a rare race between committing and closing a SolrIndexWriter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1444152 13f79535-47bb-0310-9956-ffa450edef68
2013-02-08 17:20:05 +00:00
Michael McCandless 17d2d55daa SOLR-4418: workaround
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1444084 13f79535-47bb-0310-9956-ffa450edef68
2013-02-08 15:49:21 +00:00
Robert Muir a181dc0735 LUCENE-4547: DocValues improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1443717 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 20:48:21 +00:00
Mark Robert Miller 4e73371fc4 tests: attempt to harden
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1443672 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 19:20:10 +00:00
Yonik Seeley c6f35afd75 tests: make ids more searchable, dump threads on timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1443050 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 16:32:04 +00:00
Mark Robert Miller d5a2081b8b bail early on closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1443022 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 15:37:41 +00:00
Adrien Grand 5b48346ed7 SOLR-2850: Do not refine facets when minCount == 1.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1442872 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 09:08:14 +00:00
Robert Muir 6b8e374c44 Merged /lucene/dev/trunk:r1441770-1442810
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1442821 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 00:58:30 +00:00
Mark Robert Miller eedb7ccc04 tests: add a bit of slop
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1442815 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 00:35:06 +00:00
Mark Robert Miller 0437b57000 bail early from retry loop when closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1442771 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 22:31:57 +00:00
Yonik Seeley fec620505b tests: enable chaos safe leader test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1442648 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 16:27:09 +00:00
Mark Robert Miller da8488a2da tests: raise test pause
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1441974 13f79535-47bb-0310-9956-ffa450edef68
2013-02-03 22:06:17 +00:00
Mark Robert Miller e3343731b1 tests: raise so timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1441970 13f79535-47bb-0310-9956-ffa450edef68
2013-02-03 21:33:31 +00:00
Mark Robert Miller edf7b89e70 tests: add timeouts for http clients
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1441946 13f79535-47bb-0310-9956-ffa450edef68
2013-02-03 18:23:40 +00:00
Mark Robert Miller 3105772ed7 tests: add timeouts for http client
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1441943 13f79535-47bb-0310-9956-ffa450edef68
2013-02-03 18:10:12 +00:00
Mark Robert Miller 23edb27440 drop the connect timeout from 45 sec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1441941 13f79535-47bb-0310-9956-ffa450edef68
2013-02-03 18:06:52 +00:00
Mark Robert Miller fe719d3568 add timeouts to http calls in SnapPuller
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1441913 13f79535-47bb-0310-9956-ffa450edef68
2013-02-03 14:17:42 +00:00
Robert Muir 722df2c1e7 LUCENE-4733: merge Lucene42 codec from lucene-4547 branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1441571 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 18:25:29 +00:00
Robert Muir 9e4e017601 Merged /lucene/dev/trunk:r1441423-1441567
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1441570 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 18:25:23 +00:00
Mark Robert Miller 2274676c0d SOLR-4370: Allow configuring commitWithin to do hard commits.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1441483 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 15:29:08 +00:00
Robert Muir 8dd6108432 Merged /lucene/dev/trunk:r1440838-1441216
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1441220 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 22:09:07 +00:00
Michael McCandless d878a6eaf5 fix nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1441181 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 20:32:37 +00:00
Chris M. Hostetter 51fdde39b7 SOLR-381: test demonstrating deleteByQuery works with pure-negative queries, and QParsers in general
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1441154 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 19:25:54 +00:00
Jan Høydahl 727739fc1f SOLR-2827: RegexpBoost Update Processor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440940 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 12:58:40 +00:00
Jan Høydahl 5f851331b5 SOLR-4384: Simplify time print using SimpleDateFormat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440899 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 10:33:05 +00:00
Robert Muir b21ecede84 Merged /lucene/dev/trunk:r1439980-1440837
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1440839 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 03:37:31 +00:00
Robert Muir 7af430e071 fix this to be explicit about which locale it is (or isnt) using...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440836 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 03:18:58 +00:00
Jan Høydahl c1024f192e SOLR-4384: Make post.jar report timing information
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440746 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 00:26:11 +00:00
Mark Robert Miller dd9ffb9bc5 SOLR-3911: Replicate after startup option would not replicate until the IndexWriter was lazily opened.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440508 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 16:29:05 +00:00
Chris M. Hostetter 4ec7239ce8 SOLR-3904: package.html for all packages in solr-core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440263 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 03:42:59 +00:00
Mark Robert Miller 529af9a0bb tests: remove these annoying svn sub properties from config files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440069 13f79535-47bb-0310-9956-ffa450edef68
2013-01-29 19:23:45 +00:00
Robert Muir ad8934b205 clear up some nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1439232 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 02:48:46 +00:00
Robert Muir a02bffb253 Merged /lucene/dev/trunk:r1438171-1439161
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1439164 13f79535-47bb-0310-9956-ffa450edef68
2013-01-27 20:01:52 +00:00
Mark Robert Miller 5cb1a812f0 SOLR-4359: The RecentUpdates#update method should treat a problem reading the next record the same as a problem parsing the record - log the exception and break.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1438655 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 19:17:31 +00:00
Mark Robert Miller 7d70f6190a SOLR-4043: Add ability to get success/failure responses from Collections API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1438550 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 15:14:51 +00:00
Yonik Seeley 533fd2eeba LUCENE-4690: Performance improvements and non-hashing versions of NumericUtils.*ToPrefixCoded
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1438242 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 22:41:59 +00:00
Robert Muir 9afeea3296 Merged /lucene/dev/trunk:r1437978-1438170
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1438183 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 20:51:17 +00:00
Mark Robert Miller e6dbf827db SOLR-4321: Collections API will sometimes use a node more than once, even when more unused nodes are available.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1438043 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 15:16:30 +00:00
Robert Muir fd6003fed3 Merged /lucene/dev/trunk:r1436566-1437977
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1437982 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 12:43:34 +00:00
Koji Sekiguchi ae76248870 SOLR-4330: group.sort is ignored when using group.truncate and ex/tag local params together
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1436837 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 11:26:37 +00:00
Robert Muir 24d701180e 4.1 -> 4.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1436544 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 18:45:43 +00:00
Michael McCandless c67ef8657f move the TermsEnum up from SortedDV
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1436498 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 17:25:55 +00:00
Robert Muir 619d43122a Merged /lucene/dev/trunk:r1433031-1435376
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1435384 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 22:38:56 +00:00
Robert Muir 69c6779625 fix naming
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1435177 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 15:09:50 +00:00
Tommaso Teofili 47a03b99b0 [SOLR-4315] - removed useless shardId param from doDefensiveChecks method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1435097 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 11:37:43 +00:00
Steven Rowe 70fd1bcb2b SOLR-4300: In TestLazyCores, convert static field into local variable to avoid post-test memory retention
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1433823 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 05:00:52 +00:00
Erick Erickson d234d7f650 Fix for SOLR-4300, possible race condition when loading lazy cores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1433778 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 00:48:09 +00:00
Robert Muir 8ef9811938 progress towards full cutover to 2.0 apis
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1433646 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 21:00:39 +00:00
Robert Muir b6c9791358 Merged /lucene/dev/trunk:r1432062-1433030
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1433035 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 18:54:22 +00:00
Shalin Shekhar Mangar 75b574abca SOLR-4016: Deduplication does not work with atomic/partial updates so disallow atomic update requests which change signature generating fields.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1433013 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 17:59:32 +00:00
Mark Robert Miller 64dee0264b SOLR-4303: On replication, if the generation of the master is lower than the slave we need to force a full copy of the index.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432993 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 17:08:50 +00:00
Erik Hatcher 5d198628bb fix misspelling in warning output text
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432936 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 14:57:05 +00:00
Shalin Shekhar Mangar 55484336a6 SOLR-4302: New parameter 'indexInfo' (defaults to true) in CoreAdmin STATUS command can be used to omit index specific information
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432901 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 12:44:45 +00:00
Erik Hatcher 3552167217 SOLR-4127: post.jar ignores -Dparams when -Durl is used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432794 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 03:31:10 +00:00
Mark Robert Miller 708d5890c5 add collection core attribute to built in single core solr.xml file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432774 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 00:52:16 +00:00
Mark Robert Miller 7b24c2b602 add more core attributes to built in single core solr.xml file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432747 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 21:21:27 +00:00
Mark Robert Miller 7f2353defd SOLR-3911: pass a context flag so that impls can use different strategies for index directories vs meta data file directories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432670 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 17:38:26 +00:00
Mark Robert Miller 83fe02894f SOLR-4291: Harden the Overseer work queue thread loop.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432256 13f79535-47bb-0310-9956-ffa450edef68
2013-01-11 20:04:44 +00:00
Robert Muir f7c90c50f3 Merged /lucene/dev/trunk:r1430124-1432061
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1432065 13f79535-47bb-0310-9956-ffa450edef68
2013-01-11 14:39:45 +00:00
Erik Hatcher 7f0c52b066 fix typos in comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430798 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 11:38:08 +00:00
Erik Hatcher 27b84461c4 fix spelling in comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430781 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 10:56:18 +00:00
Chris M. Hostetter 76f5a8bada SOLR-4208: ExtendedDismaxQParserPlugin has been refactored to make subclassing easier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430399 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 17:33:19 +00:00
Uwe Schindler 9ee4b4d5fa SOLR-4283: Improvements for URL-Decoding
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430396 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 17:22:14 +00:00
Mark Robert Miller 292a8d4c16 boost a timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430290 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 14:10:36 +00:00
Robert Muir 61e368a46f Merged /lucene/dev/trunk:r1419558-1430123
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1430130 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 03:40:16 +00:00
Chris M. Hostetter ffcaecb4d3 SOLR-4272: doc sample xml tweaks to reduce confusion if people cut/paste
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430116 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 02:37:01 +00:00
Mark Robert Miller bccdc6aeb5 SOLR-4170: The 'backup' ReplicationHandler command can sometimes use a stale index directory rather than the current one.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430111 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 02:01:54 +00:00
Uwe Schindler 630409a316 SOLR-4265: Fix charset bug... :(
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429958 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 18:55:36 +00:00
Robert Muir 04c86005cc SOLR-4226: Extract fl parsing code out of ReturnFields constructor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429935 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 18:33:12 +00:00
Robert Muir 2d1c5560d5 LUCENE-4663: IndexSearcher.document should not be final
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429927 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 18:03:54 +00:00
Shalin Shekhar Mangar c446098665 SOLR-4279: Wrong exception message if _version_ field is multivalued
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429804 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 14:19:28 +00:00
Uwe Schindler cf8a0ca50b SOLR-4265: Fix decoding of GET/POST parameters for servlet containers with non-UTF-8 URL parsing (Tomcat)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429534 13f79535-47bb-0310-9956-ffa450edef68
2013-01-06 14:55:11 +00:00
David Wayne Smiley 9c5d4ff5cb SOLR-4255: add spatial filter=false local-param option
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429466 13f79535-47bb-0310-9956-ffa450edef68
2013-01-06 06:01:58 +00:00
Uwe Schindler 643fab0b82 SOLR-4275: Fix test. Sorry, the Solr build system did not recognize the test change without ant clean!?
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429419 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 23:03:51 +00:00
Robert Muir 64e18dc0f6 SOLR-4271: add support for PostingsHighlighter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429413 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 22:51:30 +00:00
Uwe Schindler 8e49b54fde SOLR-4275: Add test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429410 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 22:44:18 +00:00
Uwe Schindler 981694a910 SOLR-4275: Fix TrieTokenizer to no longer throw StringIndexOutOfBoundsException in admin UI / AnalysisRequestHandler when you enter no number to tokenize
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429401 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 22:19:14 +00:00
Yonik Seeley 38610f9b09 SOLR-4121: add test for fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429188 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 01:53:15 +00:00
Yonik Seeley 68f9994ae8 SOLR-4121: add test for fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429181 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 01:29:57 +00:00
Mark Robert Miller eeab864233 tests: update to not check cloud client fails = 0 for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429075 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 19:59:33 +00:00
Mark Robert Miller 3690e29cfb SOLR-3180: tests: timeouts from 30 sec to 60 sec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429027 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 18:44:08 +00:00
Mark Robert Miller 2389d5a354 fix reversed conn and so timeouts - currently used for tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428963 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 16:40:52 +00:00
Yonik Seeley 7e57636e39 improve logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428695 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 01:15:17 +00:00
Yonik Seeley c7d8852051 SOLR-4257: PeerSync updates and Log Replay updates should not wait for ZK connection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428677 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 00:01:16 +00:00
Alan Woodward 84aa901490 SOLR-1972: Add extra query stats to RequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428372 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 14:52:55 +00:00
Yonik Seeley 5c06a17708 tests: add test hook for SolrCmdDistributor error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428156 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 03:48:02 +00:00
Yonik Seeley b85bf15d38 tests: improve stack traces
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428138 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 02:04:46 +00:00
David Wayne Smiley 35caf2c6bd SOLR-4230 geofilt and bbox support for Solr 4 spatial
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428063 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 21:27:03 +00:00
Mark Robert Miller 463d10dc4a SOLR-4254: Harden the 'leader requests replica to recover' code path.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427872 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 17:23:56 +00:00
David Wayne Smiley f244940a4b SOLR-4231: AbstractSpatialFieldType extensibility, and throw 400 code for invalid shapes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427793 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 14:03:13 +00:00
Mark Robert Miller 768728834f SOLR-3180: update node props for retry node, not just url
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427657 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 05:23:11 +00:00
Yonik Seeley 9fb47ac8ed tests: start ids higher so it's easier to find them in logs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427620 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 01:33:56 +00:00
Mark Robert Miller 87a6af1acf tests: reenable assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427598 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 00:23:16 +00:00
Mark Robert Miller 0446589f43 tests: use fs factory for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427593 13f79535-47bb-0310-9956-ffa450edef68
2013-01-01 23:59:30 +00:00
Mark Robert Miller 0268e3807b tests: allow control of chaosmonkey nothing is safe test by sys prop
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427591 13f79535-47bb-0310-9956-ffa450edef68
2013-01-01 23:39:19 +00:00
Mark Robert Miller 2df5efcbad SOLR-3180: remove bad method call
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427589 13f79535-47bb-0310-9956-ffa450edef68
2013-01-01 23:22:21 +00:00
Robert Muir 14d08c75c0 SOLR-4251: commit test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427399 13f79535-47bb-0310-9956-ffa450edef68
2013-01-01 13:31:02 +00:00
Mark Robert Miller 5feeb36d46 SOLR-788: set mlt.count back to 5
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427218 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 18:42:14 +00:00
Mark Robert Miller ecb8438e4c SOLR-4124: persistence support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427213 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 18:26:36 +00:00
Yonik Seeley 9e82c2409d SOLR-4246: log forwarded updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427037 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 03:05:56 +00:00
Mark Robert Miller ffd693605a SOLR-4244: When coming back from session expiration we should not wait for the leader to see us in the down state if we are the node that must become the leader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426892 13f79535-47bb-0310-9956-ffa450edef68
2012-12-30 05:54:59 +00:00
Mark Robert Miller 88ce4ab029 check shutdown for early termination in 'wait for state'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426840 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 21:29:11 +00:00
Erick Erickson b6d4d6e907 Fix for SOLR-4229, changing "swappable" to "transient"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426826 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 20:30:42 +00:00
Mark Robert Miller cb8065c947 ease timings a bit for large clusters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426795 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 17:59:53 +00:00
Mark Robert Miller 5065cdebd3 bring back interruptions on executor shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426791 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 17:42:23 +00:00
Robert Muir f88d2ee6a7 SOLR-4175: add license headers and eol-style
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426614 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 20:12:18 +00:00
Erik Hatcher 11c4ce617c SOLR-4175: SearchComponent chain can't contain two components of the same class and use debugQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426569 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 16:29:37 +00:00
Shalin Shekhar Mangar e32fe689fa SOLR-4134 -- Use List as value type only when multiple values are present in atomic updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426537 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 15:03:43 +00:00
Yonik Seeley 2c51c55a28 tests: more cloud atomic update tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426373 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 01:19:29 +00:00
Mark Robert Miller 7e51f75561 SOLR-4114: tests: make happy with git - source attrib counts on svn substitution
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426329 13f79535-47bb-0310-9956-ffa450edef68
2012-12-27 21:08:54 +00:00
Uwe Schindler ba52cd4e03 Revert SOLR-1972
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426230 13f79535-47bb-0310-9956-ffa450edef68
2012-12-27 15:48:37 +00:00
Mark Robert Miller 5772204892 tests: attempt to harden for apache jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426002 13f79535-47bb-0310-9956-ffa450edef68
2012-12-26 19:52:34 +00:00
Robert Muir aa00eb2e70 SOLR-4088: when host is null, fall back to interface iteration (heuristic 2) if resolving the system hostname (heuristic 1) fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425971 13f79535-47bb-0310-9956-ffa450edef68
2012-12-26 17:18:46 +00:00
Robert Muir 0c86e24407 SOLR-4233: throw assumption for this test on OS X: it fails due to AWT engine startup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425969 13f79535-47bb-0310-9956-ffa450edef68
2012-12-26 17:16:22 +00:00
Mark Robert Miller a3d1252e7d tests: parameterize
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425815 13f79535-47bb-0310-9956-ffa450edef68
2012-12-26 04:39:12 +00:00
Mark Robert Miller 1652b2649f LUCENE-4638, SOLR-3180: revert for now (try using the IW's writeLock to unlock)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425574 13f79535-47bb-0310-9956-ffa450edef68
2012-12-24 02:10:25 +00:00
Mark Robert Miller dfb17d3cdc LUCENE-4638, SOLR-3180: try using the IW's writeLock to unlock
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425561 13f79535-47bb-0310-9956-ffa450edef68
2012-12-24 00:15:16 +00:00
Mark Robert Miller a0676b3b0b SOLR-3180: remove bad assumption
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425554 13f79535-47bb-0310-9956-ffa450edef68
2012-12-23 22:58:30 +00:00
Shai Erera d64cfed291 LUCENE-4639: improve _TestUtil.getTempDir
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425439 13f79535-47bb-0310-9956-ffa450edef68
2012-12-23 08:15:02 +00:00
Mark Robert Miller c8f34f9f78 SOLR-3180: wait for leader to see our recovering state before peer sync as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425342 13f79535-47bb-0310-9956-ffa450edef68
2012-12-22 21:06:04 +00:00
Mark Robert Miller 3340abc8dd attempt to close the indexwriter correctly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425306 13f79535-47bb-0310-9956-ffa450edef68
2012-12-22 16:46:10 +00:00
Chris M. Hostetter 9fd744d160 SOLR-3972: Fix ShowFileRequestHandler to not log a warning in the (expected) situation of a file not found.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425207 13f79535-47bb-0310-9956-ffa450edef68
2012-12-22 00:07:35 +00:00
Mark Robert Miller 1088f1a4d4 tests: attempt to harden more
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425090 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 19:00:28 +00:00
Mark Robert Miller db517c4bb8 tests: more fudge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425004 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 16:27:40 +00:00
Mark Robert Miller 8c40304671 tests: boost timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424953 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 15:18:17 +00:00
Mark Robert Miller 1ec855c560 tests: wait longer for inconsistency if necessary
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424943 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 15:05:53 +00:00
Shalin Shekhar Mangar f4547f6a3b SOLR-4134: Standard (XML) request writer cannot "set" multiple values into
multivalued field with partial updates. (Luis Cappa Banda, Will Butler, shalin)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424906 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 13:01:08 +00:00
Mark Robert Miller 4bd6402d16 raise so timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424868 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 11:23:29 +00:00
Mark Robert Miller 2d3b44c0e7 save the original index dir path, don't try to get it from the directory - it may be too late
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424783 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 01:34:15 +00:00
Chris M. Hostetter d34e50995a SOLR-4136: followup: fix getBaseUrlForNodeName to never including trailing slash when using the root context, and harden generateNodeName to not trust the caller as far as leading/trailing slashes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424755 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 23:26:08 +00:00
Mark Robert Miller 7a354cb5d0 harden test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424582 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 16:41:36 +00:00
Mark Robert Miller 430b975221 clean up and expand distrib mlt tests - still ignored until I can test on freebsd
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424555 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 16:04:23 +00:00
Yonik Seeley d475d822d0 tests: grouping doesn't guarantee order of top level group commands
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424516 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 15:17:48 +00:00
Mark Robert Miller 257219ca36 ignore distrib mlt test until its sorted out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424272 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 02:54:20 +00:00
Yonik Seeley 28f1884ab5 SOLR-4221: pick correct router for collection props
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424263 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 01:37:28 +00:00
Mark Robert Miller 8c91459f5b raise timeouts for wait to see state and get assigned shard id
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423993 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 18:12:36 +00:00
Yonik Seeley a9356fc3ea SOLR-4063: simplify core loading executor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423963 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 17:15:34 +00:00
Mark Robert Miller 0cc46b3cae attempt to harden test for apache jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423953 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 17:04:47 +00:00
Mark Robert Miller 6f875e270f attempt to harden test for apache jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423945 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 16:53:57 +00:00
Mark Robert Miller 232aaa42ed SOLR-4218: SolrTestCaseJ4 throws NPE when closing the core (on the afterClass method)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423932 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 16:41:18 +00:00
Mark Robert Miller 7a5097d8f6 try / catch around pre and post close listeners
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423918 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 16:19:37 +00:00
Yonik Seeley ad7c665177 tests: start single jetty in cloud mode w/ manual shard assignment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423753 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 03:44:29 +00:00
Mark Robert Miller a8bc1ef02a don't interrupt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423748 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 03:22:07 +00:00
Mark Robert Miller e40696cd81 SOLR-4213: Directories that are not shutdown until DirectoryFactory#close do not have close listeners called on them.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423738 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 02:56:15 +00:00
Yonik Seeley 2b800b3c0e tests: don't start up default collection if numSlices<=0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423729 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 01:00:58 +00:00
Mark Robert Miller 1389f64fbe SOLR-4203: whoops - fix npe
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423625 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 20:30:09 +00:00
Mark Robert Miller bef4454e2f SOLR-4203: dont check if ulog is set to delete tlogs files on startup - check if the tlog dir exists
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423608 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 20:00:15 +00:00
Yonik Seeley 5f502ec003 SOLR-3180: improve logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423591 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 19:30:39 +00:00
Mark Robert Miller 1255ff3338 test should retry on connectionloss
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423534 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 17:09:34 +00:00
Mark Robert Miller 0a33ab46f7 better fail msg
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423532 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 17:06:10 +00:00
Mark Robert Miller 68637790e0 harden test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423507 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 16:11:18 +00:00
Yonik Seeley 411bc6375c SOLR-3180: improve logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423275 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 05:27:14 +00:00
Mark Robert Miller e3647eaad4 raise test poll timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423244 13f79535-47bb-0310-9956-ffa450edef68
2012-12-18 01:20:56 +00:00
Mark Robert Miller 89a55d2e87 SOLR-4110: Configurable Content-Type headers for PHPResponseWriters and PHPSerializedResponseWriter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423121 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 20:26:39 +00:00
James Dyer 58416562b7 SOLR-4111: fix occasional failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423067 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 18:07:51 +00:00
Mark Robert Miller 6ebf9a5eb7 split out collection api tests and less atLeast usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423056 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 17:49:17 +00:00
Mark Robert Miller f2abb2184a raise test socket timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422786 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 08:13:27 +00:00
Mark Robert Miller f6f68c1e19 raise test socket timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422775 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 07:39:59 +00:00
Mark Robert Miller 0a73b63883 SOLR-4203: empty the tlog dir without instantiating an updatelog
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422746 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 03:16:22 +00:00
Mark Robert Miller 099a5dcb78 raise so timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422744 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 03:01:27 +00:00
Mark Robert Miller 6acc407fbb add remove to mock test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422742 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 02:52:57 +00:00
Mark Robert Miller b73fb7322e raise poll timeout to 45s
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422737 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 02:09:07 +00:00
Mark Robert Miller 1491b57338 use poll rather than remove to avoid possible no element exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422735 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 02:02:09 +00:00
Mark Robert Miller f5b5d3e17f SOLR-4204: Make SolrCloud tests more friendly to FreeBSD blackhole 2 environments.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422728 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 00:38:03 +00:00
Mark Robert Miller 679dbf00b9 SOLR-4203: tweak how delete is handled so this test passes on windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422608 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 16:08:36 +00:00
Erick Erickson 58a4155af9 Fix for SOLR-4201 (swappable cores should respect loadOnStartup)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422585 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 14:46:28 +00:00
Mark Robert Miller d26d4e05d3 SOLR-4203: don't clear the tlog when using ephemeral directory on core reload
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422468 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 06:14:58 +00:00
Mark Robert Miller 247858615d clear static fields in after class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422466 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 05:52:16 +00:00
Mark Robert Miller 4d32c5d6bc SOLR-4203: An ephemeral directory implementation should cause the transaction log to be ignored on startup.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422399 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 22:58:01 +00:00
Mark Robert Miller 307ebd17cb SOLR-4199: When doing zk retries due to connectionloss, rather than just retrying for 2 minutes, retry in proportion to the session timeout.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422391 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 22:23:07 +00:00
Mark Robert Miller a6b2552873 remove unused import
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422384 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 22:16:57 +00:00
Mark Robert Miller 4714e250ea fix commented out debug code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422372 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 22:01:13 +00:00
Mark Robert Miller 181cad843a SOLR-4198: OverseerCollectionProcessor should implement ClosableThread.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422371 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 21:59:10 +00:00
Uwe Schindler 6af24c8866 SOLR-4189: Fix hanging threads on FreeBSD in JettySolrRunner by making connector configureable through sysprop, listen only on 127.0.0.1 in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422127 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 22:19:58 +00:00
Mark Robert Miller 17569aa775 SOLR-4120: Collection API: Support for specifying a list of Solr addresses to spread a new collection across.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421999 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 17:53:43 +00:00
Mark Robert Miller 3ab1790be7 SOLR-4187: NPE on Directory release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421914 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 15:03:32 +00:00
Yonik Seeley 2d4615acdb SOLR-2592: test expected number of requests to servers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421644 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 02:51:21 +00:00
Mark Robert Miller 8295491e12 raise tests timeout to 30s from 15s
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421625 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 00:22:22 +00:00
Mark Robert Miller 7486aad798 extra insurance that recovery has started or occurred in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421613 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 23:10:58 +00:00
Mark Robert Miller a3f456e378 use a temp dir for solrhome for this test - it makes a stopwords.bak file that can interfere with later tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421543 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 21:22:05 +00:00
Chris M. Hostetter 92176fce6e grouping tests of case where no docs match main query. written while trying to repro SOLR-4164, but something is still missing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421505 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 20:38:52 +00:00
Chris M. Hostetter 902381a8ec SOLR-4150: tests for existing fix. includes workarround for SOLR-4181
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421451 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 19:50:41 +00:00
Mark Robert Miller 882c48c73b up commitWithin from 1 sec to 2 seconds
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421446 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 19:43:29 +00:00
Mark Robert Miller acf4f12fee SOLR-788: Distributed search support for MLT.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421326 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 15:03:19 +00:00
Tommaso Teofili 2e2f1fd713 [SOLR-4150] - added null checks (with log warnings in case of null) to TopGroupsResultTransformer#transformToNative
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421164 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 09:24:29 +00:00
Mark Robert Miller 4fd821cdfa retry close on ThreadInterruptedException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421089 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 07:13:30 +00:00
Mark Robert Miller 02dfa0a4a8 we don't want to throw an exception on closed in release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421088 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 07:13:06 +00:00
Mark Robert Miller ce0cc401ff SOLR-4178: ReplicationHandler should abort any current pulls and wait for it's executor to stop during core close.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421078 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 05:33:01 +00:00
Mark Robert Miller 38d16dc7b7 SOLR-4140: Allow access to the collections API through CloudSolrServer without referencing an existing collection.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421071 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 03:21:11 +00:00
Mark Robert Miller 60c1022686 remove this - didn't help, not necessary
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421061 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 01:59:36 +00:00
Mark Robert Miller 052a348d61 bump core reload test wait
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421060 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 01:59:14 +00:00
Mark Robert Miller f31359f5b4 change commitWithin for test to 2000 rather than 1000 - saw a fail where the commit happened faster than the 10 docs are added.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420963 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 20:53:26 +00:00
Mark Robert Miller 63350f0a52 try a 300ms wait on startup to be sure our core(s) have loaded
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420954 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 20:34:37 +00:00
Mark Robert Miller 02854d4054 SOLR-4171: add a new release(path) method that can be called after factory shutdown and have unload core use it to remove a directory after a core has been shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420911 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 18:49:00 +00:00
Mark Robert Miller c2516de262 SOLR-4171: CachingDirectoryFactory should not return any directories after it has been closed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420779 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 15:43:03 +00:00
Mark Robert Miller 8472da6e82 SOLR-4161: add a little more protection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420500 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 00:38:14 +00:00
Chris M. Hostetter 50407282a7 Fix SolrCloud behavior when using "hostContext" containing "_" or"/" characters. This fix also makes SolrCloud more accepting of hostContext values with leading/trailing slashes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420497 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 00:26:09 +00:00
Yonik Seeley 5b04be1195 SOLR-2592: avoid splitting composite router hash domains
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420338 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 19:21:12 +00:00
Mark Robert Miller a81f749ee1 SOLR-4030: Allow rate limiting Directory IO based on the IO context.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420336 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 19:19:07 +00:00
Mark Robert Miller 52536c12a2 SOLR-4114: add back commented out test with 10 second wait, add Per's new test, add test to ensure no two cores use the same index directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420327 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 18:32:37 +00:00
Chris M. Hostetter 0b3a7900fc SOLR-4127: Added explicit error message if users attempt Atomic document updates with either updateLog or DistribUpdateProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420297 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 17:25:02 +00:00
Yonik Seeley c02c9dd262 SOLR-2592: cleanups - remove unneeded range info, rename getLeaderProps to getLeaderRetry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420284 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 17:02:13 +00:00
Mark Robert Miller 932300fd3b SOLR-3911: fix properties file name misspelling and use constant for file name everywhere
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420231 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 15:43:12 +00:00
Shai Erera e2f54df3ca fix missing Overrides
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420195 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 14:31:01 +00:00
Shai Erera ea9bffece7 LUCENE-4605: Add FLAG_NONE to DocsEnum and DocsAndPositionsEnum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419991 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 04:28:17 +00:00