Commit Graph

16769 Commits

Author SHA1 Message Date
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
Uwe Schindler 7a28af4462 Improve speed of nightly tests by not creating new random instances all the time
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452100 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 18:59:40 +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 7ce09ad680 SOLR-4210: Update CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452073 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 17:42:45 +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 c160fd0375 took out soe debugging info I left in by mistake when checking in SOLR-4401
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451998 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 03:17:48 +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
Robert Muir 35f59181f5 refer to these integers as termIDs when they are not yet ordinals, just unsorted unique values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451958 13f79535-47bb-0310-9956-ffa450edef68
2013-03-02 23:38:55 +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 153d79ce99 SOLR-4505: CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451656 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 17:30:23 +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
Uwe Schindler 202d3af9d0 LUCENE-4808: Add workaround for a JDK 8 "class library bug" which is still under discussion and may *not* be fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451584 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 13:12:16 +00:00
Michael McCandless ae89bfccb7 LUCENE-4806: change facet delim character to use 3 bytes instead of 1 (in UTF-8)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451578 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 12:51:21 +00:00
Simon Willnauer 9b6b4ec703 LUCENE-4809: FuzzyLikeThisQuery fails if field does not exist or is not indexed with NPE during rewrite
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451577 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 12:50:40 +00:00
Robert Muir abd85ff5a0 SOLR-3843: add lucene-codecs.jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451542 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 09:41:03 +00:00
Robert Muir 527999b867 add missing hashcode/equals to these rewrite methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451525 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 08:43:15 +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
Uwe Schindler 43fe27bf8e LUCENE-4797: For now disable javadoc-lint provided by JDK8, so we can enable recent JDK8 builds on jenkins. Our own doclint is already disabled, so the missing doc-files don't matter!
To test and fix bugs with JDK8, run ant javadocs -Djavadoc.args=-Xdoclint:all

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451295 13f79535-47bb-0310-9956-ffa450edef68
2013-02-28 19:08:33 +00:00
Robert Muir 5def61a215 LUCENE-4805: running some tests sometimes ignores the whole test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451238 13f79535-47bb-0310-9956-ffa450edef68
2013-02-28 15:53:07 +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
Michael McCandless 7c3f4ce119 detect if cat path uses the delimiter; fix test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451202 13f79535-47bb-0310-9956-ffa450edef68
2013-02-28 14:01:57 +00:00
Steven Rowe 29bc4ed434 Upgrade to latest Apache parent POM
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451030 13f79535-47bb-0310-9956-ffa450edef68
2013-02-27 23:26:08 +00:00
Michael McCandless 927c46ba16 add test case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450937 13f79535-47bb-0310-9956-ffa450edef68
2013-02-27 19:34:08 +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
Robert Muir 5e88698ae6 LUCENE-4804: PostingsHighlighter sometimes applies term to the wrong passage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450462 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 21:53:40 +00:00