Commit Graph

1613 Commits

Author SHA1 Message Date
Steven Rowe 4618a5a0fe SOLR-4503: Add REST API methods to get schema information: fields, dynamicFields, fieldTypes, and copyFields. Restlet 2.1.1 is integrated and is used to service these requests.
Also fixes bugs in dynamic copyField logic described in SOLR-3798.
Also fixes a bug with proxied SolrCloud requests (SOLR-4210) when using the GET method.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453161 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 04:50:33 +00:00
Chris M. Hostetter f607a0caaa SOLR-2677: test case verifying no false negative errors reported
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453148 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 02:41:47 +00:00
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