Commit Graph

17057 Commits

Author SHA1 Message Date
Robert Muir abea806409 SOLR-4641: Schema should throw exceptoin on illegal field parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462502 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 15:46:58 +00:00
Erick Erickson a6e3ba52c0 SOLR-4549 - Hardening tests after SOLR-4196
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462495 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 14:55:07 +00:00
Steven Rowe 167a4b84c3 SOLR-4650: copyField doesn't work with source globs that don't match any explicit or dynamic fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462396 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 04:33:34 +00:00
Shawn Heisey 33c3778360 SOLR-4651: remove dist-excl-slf4j build target
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462306 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 21:24:29 +00:00
Steven Rowe 20cf1b7226 remove upgrading section attribution
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462289 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 20:13:31 +00:00
Mark Robert Miller b09717828d SOLR-3706: add example/resources to solrj test classpath - without this, it's not finding a log4j config
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462260 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 18:56:07 +00:00
Chris M. Hostetter 1ad382f304 SOLR-3956: Fixed group.facet=true to work with negative facet.limit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462227 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 17:37:23 +00:00
Mark Robert Miller 175b33d5c7 SOLR-3706: remove log dependencies from core, exclude example log jars from test classpath, add versions to example log jars
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462145 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 15:14:29 +00:00
David Wayne Smiley 218a506327 LUCENE-4742: Rename spatial Node back to Cell
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462091 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 13:50:03 +00:00
David Wayne Smiley 56a18440e2 LUCENE-4742: Rename spatial Node back to Cell
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462090 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 13:44:09 +00:00
Adrien Grand 6448dce4ea Add missing javadocs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462009 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 09:37:47 +00:00
Dawid Weiss 4f117dee40 LUCENE-4889: UnicodeUtil.codePointCount implementation replaced with a non-array-lookup version.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461986 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 08:42:34 +00:00
Adrien Grand 001c4646e9 LUCENE-4875: Make SorterTemplate.mergeSort run in linear time on sorted (sub-)arrays.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461834 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 20:14:04 +00:00
Steven Rowe 7bc4cd24a4 SOLR-3706: Maven configuration: sync with Ant build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461830 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 20:01:17 +00:00
Steven Rowe 2fe1c91963 SOLR-4649: The Solr .war should not include (test-scope-only) cglib-nodep and objenesis jars
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461769 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 18:31:18 +00:00
Adrien Grand d3eb052c45 LUCENE-4752: Fix SortingMergePolicy behavior when merges occur concurrently with deletions.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461732 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 17:31:01 +00:00
Mark Robert Miller 51b597832e SOLR-3706: straighten out license files and jar checksums
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461717 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 17:16:26 +00:00
Mark Robert Miller 612b179d09 SOLR-3706: Ship setup to log with log4j.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461587 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 14:09:38 +00:00
David Wayne Smiley a6549cb76c LUCENE-4644: Spatial IsWithin predicate for RecursivePrefixTreeStrategy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461581 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 13:55:57 +00:00
Stefan Matheis d8df3a2d55 SOLR-4405: Admin UI - admin-extra files are not rendered into the core-menu
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461447 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 08:40:22 +00:00
Steven Rowe ad9a5b91e0 SOLR-4623: Fix classname shortening:
- Rename FieldType.normalizeSPIname() to getShortName()
- Stop shortening analyzer classnames
- Stop outputting analyzer classname from FieldType.getAnalyzerProperties() when the analyzer is TokenizerChain 
- In FieldType.getShortName(), tighten the set of package prefixes that will be shortened to 'org.apache.lucene.analysis.(whatever)', 'org.apache.solr.analysis.', and 'org.apache.solr.schema.'

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461418 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 05:30:26 +00:00
Ryan McKinley bbc7dc524a LUCENE-4887: NoOutputs implements merge. Lets FSA behave like a Set<Input>
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461409 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 04:11:49 +00:00
Steven Rowe 77e9e58300 SOLR-4623: When serializing similarity factories, don't reduce class names of Similarity's wrapped with the anonymous factory to 'solr.<SimpleClassName>'; also, only reduce the class name of sim factories located in the org.apache.solr.search.similarities package, rather than that of any sim factory under packages org.apache.lucene.** and org.apache.solr.**
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461378 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 23:51:17 +00:00
Steven Rowe fda68e7322 LUCENE-4879: IntelliJ configuration: upgrade randomizedtesting-runner dependency from 2.0.8 to 2.0.9
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461372 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 23:34:34 +00:00
Steven Rowe 61875d4c8f LUCENE-4879: Finish solr upgrade: upgrade randomizedtesting-runner and junit4-ant dependencies in solr/test-framework/ivy.xml; and add junit4-ant 2.0.9 SHA1 to solr/licenses/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461280 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 19:40:56 +00:00
Shai Erera 72c2f189b5 fix TestFacetsCollector.testSumScoreAggregator to not be sensitive to rounding issues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461245 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 18:00:51 +00:00
Steven Rowe 396300149d LUCENE-4879: Add randomizedtesting-runner 2.0.9 SHA1 to solr/licenses/; Maven configuration: upgrade randomizedtesting-runner from 2.0.8 to 2.0.9.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461161 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 14:59:37 +00:00
Michael McCandless 25bd58b826 make sure Java 1.7 was used to compile the JARs in binary release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461067 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 11:56:55 +00:00
Mark Robert Miller 2b6e3dd7ad SOLR-4644: try passing test.distrib.skip.servers on - if we hit a replica, we want it passed to the leader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460980 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 06:01:44 +00:00
Shai Erera 509e84dede LUCENE-4882: FacetsAccumulator did not allow to count dimensions directly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460977 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 05:12:53 +00:00
Michael McCandless 83027eca9e LUCENE-4863: handle case where no overrides are built (fst is null)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460859 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 19:30:20 +00:00
Mark Robert Miller b4e22c267d SOLR-4642: QueryResultKey is not calculating the correct hashCode for filters.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460803 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 18:16:14 +00:00
Mark Robert Miller d1cbd22a65 tests: a little more debug logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460761 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 16:55:57 +00:00
Dawid Weiss 914b26c36b LUCENE-4879: Filter stack traces on console output.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460630 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 12:03:49 +00:00
Simon Willnauer 4cfe0c5a10 LUCENE-4863: StemmerOverrideFilter now uses a FST to represent its overrides in memory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460580 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 10:08:13 +00:00
Simon Willnauer 35249b9df7 throw IAE in MultiTermQuery ctor if field is null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460551 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 08:58:31 +00:00
Simon Willnauer 30ba0f456d LUCENE-4878: Override missing getRegexpQuery in MultiFieldQueryParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460546 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 08:29:31 +00:00
Steven Rowe 5c7ca6aa48 SOLR-4623: Provide REST API read access to all elements of the live schema. Add a REST API request to return the entire live schema, in JSON, XML, and schema.xml formats. Move REST API methods from package org.apache.solr.rest to org.apache.solr.rest.schema, and rename base functionality REST API classes to remove the current schema focus, to prepare for other non-schema REST APIs. Change output path for copyFields and dynamicFields from "copyfields" and "dynamicfields" (all lowercase) to "copyFields" and "dynamicFields", respectively, to align with all other schema REST API outputs, which use camelCase.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460519 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 04:29:33 +00:00
Mark Robert Miller a7a799c403 SOLR-4640: CachingDirectoryFactory can fail to close directories in some race conditions.
SOLR-4637: Replication can sometimes wait until shutdown or core unload until removing some tmp directories.
SOLR-4638: DefaultSolrCoreState#getIndexWriter(null) is a way to avoid creating the IndexWriter earlier than necessary, but it's not implemented quite right.
SOLR-4597: fixes, improvements
SOLR-4629: Stronger testing.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460510 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 02:34:42 +00:00
Robert Muir a6a1c199c7 LUCENE-4873: fix bug in MSMScorer.minHeapRemove, increase number of terms in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460412 13f79535-47bb-0310-9956-ffa450edef68
2013-03-24 16:41:17 +00:00
Adrien Grand e62e3d826f TestSortingMergePolicy: prevent deletions from happening concurrently with merges until LUCENE-4752 is fixed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460394 13f79535-47bb-0310-9956-ffa450edef68
2013-03-24 15:14:17 +00:00
Adrien Grand d4a2356ad4 TestSortingMergePolicy: Don't call IndexWriterConfig.clone (LUCENE-4876) and make analysis deterministic (doesn't solve all problems yet).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460248 13f79535-47bb-0310-9956-ffa450edef68
2013-03-24 00:47:06 +00:00
Adrien Grand 467f8af889 LUCENE-4752: Fix SortingMergePolicy.clone.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460169 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 15:06:31 +00:00
Adrien Grand 258fc9f41a LUCENE-3918: Make SortingTerms.intersect return mapped docs enums.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460165 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 14:44:38 +00:00
Yonik Seeley aba19484b9 SOLR-3819: make grouped faceting respect filter exclusions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460141 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 13:36:15 +00:00
Mark Robert Miller a8537b0323 remove cruft
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460077 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 02:40:41 +00:00
Mark Robert Miller f7cdbe2fc6 remove cruft
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460076 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 02:40:12 +00:00
Mark Robert Miller 9bfed46053 SOLR-4636: If opening a reader fails for some reason when opening a SolrIndexSearcher, a Directory can be left unreleased.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460071 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 01:32:02 +00:00
Uwe Schindler bf368745b9 SOLR-4634: Fix scripting engine tests to work with Java 8's "Nashorn" Javascript implementation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460069 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 00:53:25 +00:00
Uwe Schindler a3692c23dd Javadocs bugs seem to be fixed in Java 8 b82. Reenable Javadocs linting on Java 8.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460042 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 22:47:11 +00:00