Commit Graph

22284 Commits

Author SHA1 Message Date
yonik 51aaed6c7f SOLR-8598: better error message for unknown facet type 2016-01-26 10:21:31 -05:00
Christine Poerschke 6234a115ad SOLR-8566: SyncStrategy.syncWithReplicas initialCapacity tweak 2016-01-26 13:30:31 +00:00
Mike McCandless 5adc4965ea improve geo tests
Conflicts:
	lucene/sandbox/src/test/org/apache/lucene/search/TestLatLonPointQueries.java
2016-01-26 05:49:30 -05:00
Alan Woodward ac3a5234d4 LUCENE-6992: Allow adding IndexableField to MemoryIndex 2016-01-26 10:06:19 +00:00
Robert Muir fe34e968ce fix test bug (fails with DFI similarity) 2016-01-26 04:16:42 -05:00
Robert Muir e94fc65bd1 LUCENE-6470: Improve efficiency of TermsQuery constructors. 2016-01-26 03:57:47 -05:00
Mike McCandless 89ed4229c7 disable Direct and Memory for this test to avoid false OOME failures 2016-01-25 14:05:23 -05:00
Shai Erera 087ebf66c1 Add segments file info to Core admin status
The segments file name and size are useful information to know about
the current commit point.
2016-01-25 15:31:50 +02:00
Alan Woodward 4eaa2e3e34 LUCENE-6988: IndexableField.tokenStream() no longer throws IOException 2016-01-25 11:04:58 +00:00
Michael McCandless 51396b8cf6 merged 2016-01-24 16:51:39 -05:00
Michael McCandless 5319ca611a revert this est change until we can fix geo API border cases (LUCENE-6956) 2016-01-24 16:49:57 -05:00
Uwe Schindler 6df206a51d LUCENE-6938: Add WC checks back, now based on JGit 2016-01-24 22:42:46 +01:00
Michael McCandless 104f7c9c93 LUCENE-6745: fix IndexInput consumers to not share an instance while cloning from another thread 2016-01-24 17:45:31 +01:00
Michael McCandless 64a15b3e34 LUCENE-6932: improve exception messages; rename length parameter to sliceLength, and return it as the length, for clarity 2016-01-24 17:45:24 +01:00
Uwe Schindler 79a6f83f54 LUCENE-6938: Improve output of Git Hash if no GIT available or no GIT checkout (this restores previous behaviour) 2016-01-24 17:45:17 +01:00
Steve Rowe 9d3f0df199 LUCENE-6938: Maven build: Switch SCM descriptors from svn to git; buildnumber-maven-plugin's buildNumberPropertyName property (used in Maven-built artifact manifests) renamed from svn.revision to checkoutid; removed Subversion-specific stuff from README.maven (cherry picked master 94b7643) 2016-01-24 17:45:06 +01:00
Michael McCandless 935311111d make this test less anal about scores so the new DFI sim won't cause false failures 2016-01-24 17:44:58 +01:00
Uwe Schindler 4804eb8a5a LUCENE-6938: fix typo, sorry 2016-01-24 17:44:50 +01:00
Uwe Schindler 0599ff8b72 LUCENE-6938: Fix Lucene's src.tgz file; remove svnkit stuff 2016-01-24 17:44:38 +01:00
Dawid Weiss 63e9df41d4 LUCENE-6938: Convert build to work with Git rather than SVN. (Mark Miller
via Dawid Weiss).

Conflicts:
	.gitignore
	lucene/build.xml
	solr/build.xml
2016-01-24 17:44:20 +01:00
Michael McCandless 8aefec9db0 fix test bug abusing hit score
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1726324 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 21:53:42 +00:00
Uwe Schindler 2413f142ad Merged revision(s) 1726311 from lucene/dev/trunk:
LUCENE-6978: Fix usage of Locale#toString in DIH

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1726313 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 21:16:18 +00:00
Anshum Gupta 0ca04c393e Add 5.3.2 back-compat test indexes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1726298 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 19:53:21 +00:00
Michael McCandless 742a7509bb LUCENE-6932: also fix RAFIndexInput to throw EOFE if you seek beyond end of file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1726290 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 19:00:47 +00:00
Michael McCandless 639c2827f0 LUCENE-6932: fix test bug that was not always using the dir impl being tested; fix SimpleFSIndexInput to throw EOFException if you seek beyond end of file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1726277 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 18:39:32 +00:00
Noble Paul 66920157d5 SOLR-8582 : memory leak in JsonRecordReader affecting /update/json/docs. Large payloads
cause OOM

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1726271 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 18:26:01 +00:00
Michael McCandless f7bfb270fa LUCENE-6980: fix a few more places to just use default (true) for applyAllDeletes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1726262 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 17:49:32 +00:00
Steven Rowe 69c315dfe7 Javadoc fixes (merged trunk r1726241)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1726243 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 15:45:20 +00:00
Michael McCandless eef7db4bd4 LUCENE-6932: also fix NIOFSIndexInput to throw EOFE if you seek beyond end of file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1726231 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 15:21:20 +00:00
Robert Muir 7df4af5576 LUCENE-6986: add more DFI measures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1726212 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 13:54:58 +00:00
Adrien Grand 78ee3e09e6 Add 5.4.1 indices to TestBackwardsCompatibility.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1726162 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 09:27:47 +00:00
Shai Erera 429d4449f2 SOLR-8560: Add RequestStatusState enum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1726148 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 06:15:34 +00:00
Uwe Schindler 87a7c80a01 Merged revision(s) 1726118 from lucene/dev/trunk:
LUCENE-6978: Fix Morphlines locale parsing with empty string / null: use ROOT

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1726119 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 22:18:17 +00:00
Michael McCandless 222b18cd30 LUCENE-6980: fix a few more tests to just use default (true) for applyAllDeletes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1726109 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 21:44:40 +00:00
Mark Robert Miller 91f1b905c1 SOLR-8371: The Future field should now be a local variable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1726077 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 19:54:07 +00:00
Mark Robert Miller 9c4b380d26 SOLR-8371: Try and prevent too many recovery requests from stacking up and clean up some faulty cancel recovery logic.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1726076 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 19:52:58 +00:00
Steven Rowe 22a3f43c3a SOLR-4619: Fix Java7-only javadoc warnings by removing {@link} to private static nested class PreAnalyzedTokenizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1726069 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 19:08:42 +00:00
Varun Thacker 1bcc715a9e SOLR-8534: Add generic support for collection APIs to be async (merged trunk r1725474)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1726067 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 19:01:00 +00:00
Michael McCandless aa1a0cf3be LUCENE-6932: RAMInputStream now throws EOFException if you seek beyond the end of the file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1726056 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 18:40:02 +00:00
Nick Knize 48b5379c05 LUCENE-6974: Correct horizontal collinear logic bug in GeoRelationUtils.lineCrossesLine
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1725971 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 14:59:00 +00:00
Steven Rowe 6fa0606cc8 SOLR-4619: Improve PreAnalyzedField query analysis (merged trunk r1725869)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1725871 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 06:06:16 +00:00
Steven Rowe bd9ecf68ab SOLR-8567: Maven build: Add solr-core test dependency on the lucene queryparser test-jar, required for SOLR-839 (merged trunk r1725866)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1725868 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 05:42:44 +00:00
Christine Poerschke edae06bd17 SOLR-8566: ManagedResource.buildMapToStore initialCapacity tweak. ManagedResource.storeManagedData log.error tweak ("load data" instead of "load stop words"). (merge in revision 1725752 from trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1725757 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 17:00:28 +00:00
Alan Woodward 7dfb8dbc66 LUCENE-6984: Remove out-of-date javadoc note
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1725744 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 15:33:27 +00:00
Alan Woodward d3040ac17c LUCENE-6984: SpanMultiTermQueryWrapper no longer modifies its wrapped query
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1725724 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 14:10:11 +00:00
Alan Woodward a4389c72f6 LUCENE-6981: SpanQuery.getTermContexts() helper methods should be public
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1725718 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 13:12:05 +00:00
Christine Poerschke 60daa8efb8 SOLR-8565: add & use CommonParams.(ROWS|START)_DEFAULT constants, add CommonParamsTest (merge in revision 1725708 from trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1725711 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 12:58:58 +00:00
Dennis Gove 955b6802a4 SOLR-8559: FCS facet performance optimization
Significantly speeds up processing when terms are high cardinality and the matching docset is small. 
When facet minCount > 0 and the number of matching documents is small (or 0) this enhancement 
prevents considering terms which have a 0 count. Also includes change to move to the next non-zero 
term value when selecting a segment position.



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1725639 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 22:42:06 +00:00
Michael McCandless bf6ca2127a relax test's assert for new DFI sim
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1725606 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 20:34:30 +00:00
Steven Rowe 621fcf24c6 IntelliJ config: Add lucene-core module test dependency to the DIH-extras module (required for access to o.a.l.util.Constants); and remove obsolete test-lib/*.jar test dependencies from several modules. (merged trunk r1725594)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_5x@1725596 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 19:14:36 +00:00