Commit Graph

23044 Commits

Author SHA1 Message Date
Steven Rowe e92618bbda LUCENE-6682: StandardTokenizer performance bug: scanner buffer is unnecessarily copied when maxTokenLength doesn't change. Also stop silently maxing out buffer size (and effectively also max token length) at 1M chars, but instead throw an exception from setMaxTokenLength() when the given length is greater than 1M chars.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691604 13f79535-47bb-0310-9956-ffa450edef68
2015-07-17 16:16:36 +00:00
Dawid Weiss 2dfad693d6 SOLR-7787: Removed fastutil and java-hll dependency, integrated HyperLogLog from java-hll into Solr core.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691518 13f79535-47bb-0310-9956-ffa450edef68
2015-07-17 11:20:13 +00:00
Dawid Weiss 8b3bc2f088 Merging with trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691514 13f79535-47bb-0310-9956-ffa450edef68
2015-07-17 11:10:25 +00:00
Tommaso Teofili bc5d9f52d1 SOLR-7719 - added proper parsing of Suggester results (patch from Alessandro Benedetti)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691494 13f79535-47bb-0310-9956-ffa450edef68
2015-07-17 08:32:27 +00:00
Yonik Seeley 58ec4d8824 SOLR-7800: avg facet function should skip missing values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691430 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 18:28:57 +00:00
Adrien Grand e8a5ffbea3 LUCENE-6681: SortingMergePolicy must override MergePolicy.size(...).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691421 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 17:15:18 +00:00
Dawid Weiss 85afee91b7 Corrected same-argument assertion.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691415 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 15:30:19 +00:00
Dawid Weiss 4404d92e48 Locale-sensitive format is banned.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691367 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 11:29:55 +00:00
Dawid Weiss 623d6b16b2 FileWriter is banned.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691362 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 11:26:07 +00:00
Dawid Weiss 8b8d724e30 Author tags removed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691361 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 11:22:50 +00:00
Dawid Weiss 396af9aee6 Correct javadoc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691359 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 11:14:59 +00:00
Dawid Weiss 7419e9be58 Changes entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691352 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 10:52:11 +00:00
Dawid Weiss 139460e8c5 Ported tests as well.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691351 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 10:47:37 +00:00
Dawid Weiss 1842589815 SOLR-7787 (jhll integration).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691350 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 10:32:07 +00:00
Adrien Grand 9342ddc392 LUCENE-6645: Remove BitDocIdSetBuilder from lucene-spatial as well.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691335 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 08:49:55 +00:00
Michael McCandless 05363e169d LUCENE-6680: don't lose a suggestion that differs only in payload from another suggestion
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691282 13f79535-47bb-0310-9956-ffa450edef68
2015-07-15 21:44:36 +00:00
Michael McCandless 270f11cfed expect spatial3d module too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691213 13f79535-47bb-0310-9956-ffa450edef68
2015-07-15 13:52:07 +00:00
Michael McCandless 5b4588515b LUCENE-6677: QueryParser should pass its maxDeterminizedStates when creating WildcardQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691066 13f79535-47bb-0310-9956-ffa450edef68
2015-07-14 19:43:34 +00:00
Michael McCandless 24136f1fe5 LUCENE-6676: remove isActive boolean
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691034 13f79535-47bb-0310-9956-ffa450edef68
2015-07-14 17:11:45 +00:00
Michael McCandless 1498d5b0b7 LUCENE-6616: only claim to have created a file once createOutput succeeded
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690952 13f79535-47bb-0310-9956-ffa450edef68
2015-07-14 14:50:19 +00:00
Noble Paul 422694f9c0 SOLR-7793: Refactor some utility methods to a separate utility class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690935 13f79535-47bb-0310-9956-ffa450edef68
2015-07-14 13:55:46 +00:00
Michael McCandless 4eec6fa204 FilterScorer's wrapped Scorer input should not be null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690928 13f79535-47bb-0310-9956-ffa450edef68
2015-07-14 13:32:47 +00:00
Michael McCandless bc8eb54886 LUCENE-6579: fix this test case to cope with tragedy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690918 13f79535-47bb-0310-9956-ffa450edef68
2015-07-14 12:57:51 +00:00
Michael McCandless 926397824e LUCENE-6579: exceptions during merging are now tragic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690886 13f79535-47bb-0310-9956-ffa450edef68
2015-07-14 09:38:50 +00:00
Steven Rowe 33d18a0c59 LUCENE-6607: Fix spatial3d module's Maven config - include dependency interpolation sites, make packaging jar instead of pom, don't skip deploy phase, etc.; and fix GetMavenDependenciesTask to exclude a module's build artifacts only if the build dir fully matches, rather than a prefix (this bug caused lucene-spatial's test dependency on the lucene-spatial3d jar to be left out of the generated POM, because lucene/build/spatial3d matched the regex for lucene-spatial's build output dir: 'lucene/build/spatial', i.e. with no dir separator)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690842 13f79535-47bb-0310-9956-ffa450edef68
2015-07-13 23:45:20 +00:00
Michael McCandless e700c04800 LUCENE-6675: spatial3d passes method level javadocs linting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690833 13f79535-47bb-0310-9956-ffa450edef68
2015-07-13 22:13:03 +00:00
Gregory Chanan 8b06b59efa SOLR-7742: Support for Immutable ConfigSets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690828 13f79535-47bb-0310-9956-ffa450edef68
2015-07-13 22:01:50 +00:00
Michael McCandless b922713826 LUCENE-6659: never allocate a new ThreadState when DW is aborting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690826 13f79535-47bb-0310-9956-ffa450edef68
2015-07-13 21:51:37 +00:00
Michael McCandless a886c663d3 LUCENE-6675: improve spatial3d javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690784 13f79535-47bb-0310-9956-ffa450edef68
2015-07-13 18:10:56 +00:00
Michael McCandless 5f381cd9f0 fix eol style
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690688 13f79535-47bb-0310-9956-ffa450edef68
2015-07-13 14:55:22 +00:00
Steven Rowe cb8cb08894 LUCENE-6607: spatial3d IntelliJ config
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690681 13f79535-47bb-0310-9956-ffa450edef68
2015-07-13 14:40:41 +00:00
Michael McCandless ccda4cd527 LUCENE-6607: attempt to add pom.xml for new spatial3d module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690614 13f79535-47bb-0310-9956-ffa450edef68
2015-07-13 09:52:49 +00:00
Upayavira 1958b2f4d9 SOLR-7784 Hide core menu when main page is selected
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690589 13f79535-47bb-0310-9956-ffa450edef68
2015-07-13 08:54:32 +00:00
Anshum Gupta 82bb97f005 SOLR-7703: Authentication plugin is now loaded using the RessourceLoader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690553 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 23:49:08 +00:00
Yonik Seeley 9152164afb SOLR-7781: change FacetField BytesRef shallow clone to deep clone
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690541 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 22:34:53 +00:00
Upayavira 566859fb52 SOLR-7783 - AngularUI core admin optimize fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690537 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 21:44:06 +00:00
Upayavira d821ea9fd2 SOLR-7782 Allow non-JSON and JSON array uploads
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690535 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 21:39:53 +00:00
Upayavira 2cc7d08819 SOLR-7778 Angular UI: typo preventing core details showing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690525 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 20:33:49 +00:00
Upayavira 7e8d6d1100 SOLR-7780 Prevent NaN showing on angular UI dashboard
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690522 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 20:23:28 +00:00
Upayavira 86cc47d265 SOLR-7778 Resolve admin UI behaviour when no cores present
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690520 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 20:18:27 +00:00
Michael McCandless ee3cb86464 LUCENE-6607: factor geo3d out to its own spatial3d module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690496 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 18:04:12 +00:00
Shalin Shekhar Mangar 07a615fd65 SOLR-7529: CoreAdminHandler Reload throws NPE on null core name instead of a bad request error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690426 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 05:36:05 +00:00
Shalin Shekhar Mangar 2c64848c78 SOLR-7705: CoreAdminHandler Unload no longer handles null core name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690424 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 05:28:55 +00:00
Erick Erickson 6f109e7c65 SOLR-7172: addreplica API fails with incorrect error msg 'cannot create collection'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690341 13f79535-47bb-0310-9956-ffa450edef68
2015-07-11 04:17:49 +00:00
Erik Hatcher 753fba5efb Fix wrong parameter name in exception message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690335 13f79535-47bb-0310-9956-ffa450edef68
2015-07-11 01:54:05 +00:00
Erik Hatcher 84a084bc55 Fix issue in comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690333 13f79535-47bb-0310-9956-ffa450edef68
2015-07-11 01:50:25 +00:00
Erik Hatcher c1d7790789 Fix typo in comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690330 13f79535-47bb-0310-9956-ffa450edef68
2015-07-11 01:36:08 +00:00
Michael McCandless a6301dd900 LUCENE-6659: remove IWC's max thread states limit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690299 13f79535-47bb-0310-9956-ffa450edef68
2015-07-10 18:09:58 +00:00
Erick Erickson 63da283f04 SOLR-7132: The Collections API ADDREPLICA command property.name is not reflected in the clusterstate until after Solr restarts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690190 13f79535-47bb-0310-9956-ffa450edef68
2015-07-10 01:47:44 +00:00
Yonik Seeley eff521bcd7 SOLR-7455: defer non-sorting facet stats
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690189 13f79535-47bb-0310-9956-ffa450edef68
2015-07-10 01:44:47 +00:00