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
Uwe Schindler
55478afcb7
LUCENE-4808: Undo the workaround for compilation in Java 8, the bug is fixed in b82
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460039 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 22:41:55 +00:00
Robert Muir
1642b70fcb
LUCENE-4571: Speed up BooleanQuerys with minShouldMatch to use skipping
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459938 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 19:22:36 +00:00
Simon Willnauer
d56fa5175e
LUCENE-4870: Lucene deletes entire index if and exception is thrown due do TooManyOpenFiles and OpenMode.CREATE_OR_APPEND
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459903 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 17:07:10 +00:00
Adrien Grand
8df4265ef0
LUCENE-4839: Add CHANGES entry.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459871 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 16:03:49 +00:00
Adrien Grand
7adf68d067
LUCENE-4867: Allow custom SorterTemplates to override merge.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459851 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 15:47:14 +00:00
Mark Robert Miller
3cc1919645
tests: harden
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459846 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 15:31:51 +00:00
Robert Muir
81cae44015
LUCENE-4571: also verify scores in this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459841 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 15:22:39 +00:00
Robert Muir
786e3ddf22
LUCENE-4571: fix rare test bug and beef up matching tests some more
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459819 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 14:55:45 +00:00
Michael McCandless
0e830fbae4
LUCENE-4860: per-field control over scoring and formatting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459816 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 14:50:11 +00:00
Adrien Grand
97ec69bb69
LUCENE-4752: Added SortingMergePolicy that sorts documents when merging.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459794 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 14:22:58 +00:00
Adrien Grand
276edac42e
LUCENE-4871: Better compress positions, offsets and payloads in SortingDocsAndPositionsEnum.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459790 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 14:14:54 +00:00
Mark Robert Miller
3a8318ccd1
simplify
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459646 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 06:55:01 +00:00
Mark Robert Miller
be4edb9ca4
tests: make test a little nastier
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459638 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 05:34:34 +00:00
Mark Robert Miller
efe78df1e8
tests: raise timeout from 15 to 30
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459624 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 04:39:25 +00:00
Mark Robert Miller
39f1b02fd2
SOLR-4629: More Replication testing.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459618 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 04:07:17 +00:00
Mark Robert Miller
324806c7b1
tests: improve logging around sync slice test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459616 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 03:39:27 +00:00
Mark Robert Miller
3dab717eaf
tests: raise fudge
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459611 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 02:10:33 +00:00
Robert Muir
e119331149
fix one more violation in this breakiterator
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459609 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 02:04:39 +00:00
Robert Muir
e3150fc20c
remove UOE and make this breakiterator well-behaved
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459607 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 01:56:37 +00:00
Mark Robert Miller
a5fd71f0ee
tests: try waiting for collection first
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459596 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 00:05:37 +00:00
Mark Robert Miller
f6fa8c215d
SOLR-4624: remove leftover forceNew params.
...
SOLR-4626: getIndexWriter(null) should also respect pauseWriter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459570 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 23:03:21 +00:00
Mark Robert Miller
5b3cdaca44
SOLR-4624: CachingDirectoryFactory does not need to support forceNew any longer and it appears to be causing a missing close directory bug. forceNew is no longer respected and will be removed in 4.3.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459565 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 22:44:14 +00:00
Yonik Seeley
7584c40c7a
SOLR-4625: fix boosts and phrase slops on sub parsers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459537 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 21:31:19 +00:00
Robert Muir
ba7fabb680
LUCENE-4571: improve minShouldMatch testing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459521 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 20:50:30 +00:00
Robert Muir
c6bc3fdd28
don't waste ram
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459487 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 19:32:50 +00:00
Michael McCandless
26b6e88533
this ctor doesn't throw IOE anymore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459441 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 18:33:20 +00:00
Uwe Schindler
6385447660
LUCENE-4848: Use Java 7 NIO2-FileChannel instead of RandomAccessFile for NIOFSDirectory and MMapDirectory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459437 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 18:19:19 +00:00