Chris M. Hostetter
1cd55ea231
Kill IndexReaderFactoryTest: the only thing it asserts is a lie. Move that (fixed) assertion to AlternateDirectoryTest where it's already true.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511142 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 22:52:08 +00:00
Chris M. Hostetter
a4d0cd434f
SOLR-4952: TestSolrDeletionPolicy2 can't directly use solrconfig.snippet.randomindexconfig.xml - but it can leverage the random sys props directly
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511138 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 22:26:50 +00:00
Chris M. Hostetter
c19a5527d8
SOLR-4952: get SolrCoreCheckLockOnStartupTest using solrconfig.snippet.randomindexconfig.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511134 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 22:13:40 +00:00
Chris M. Hostetter
e778f261ad
SOLR-4952: TestSolrDeletionPolicy1 can't directly use solrconfig.snippet.randomindexconfig.xml - but it can leverage the random sys props directly
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511128 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 21:43:54 +00:00
Chris M. Hostetter
b5152fcfc2
SOLR-4952: missed the repeater config used in TestReplicationHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511123 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 21:28:25 +00:00
Chris M. Hostetter
eb104d2190
SOLR-5107: Fixed NPE when using numTerms=0 in LukeRequestHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511064 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 18:26:27 +00:00
Chris M. Hostetter
8256f80523
SOLR-4952: ConvertedLegacyTest shouldn't assuming an absolute score now that we are randomizing merge policy settings, term stats may fluctuate
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511044 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 17:23:52 +00:00
Robert Muir
e375cfa331
LUCENE-5156: remove seek-by-ord from CompressingTermVectors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511009 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 15:50:50 +00:00
Chris M. Hostetter
74549edd2f
SOLR-4952: fix DirectUpdateHandlerTest, it can't handle RandomMergePolicy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510853 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 04:45:02 +00:00
Chris M. Hostetter
80fb94c647
SOLR-4952: get TestReplicationHandler using solrconfig.snippet.randomindexconfig.xml. This also fixes NumericFieldsTest and TestBinaryField which were using the replication configs for no explicable reason, and since i needed to fix TestBinaryField anyway, i simplified it to use SolrJettyTestBase instead of it's own kludgy setup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510838 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 02:04:42 +00:00
Chris M. Hostetter
c12875f84e
SOLR-5118: beef up assertions in SolrIndexConfigTest, this allows us to remove TestPropInject and TestPropInjectDefaults -- neither of which were testing property injection (tested elsewhere) but were doing some basic assertions on the parsing & init of merge policy and merge scheduler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510830 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 00:38:10 +00:00
Chris M. Hostetter
6c8e6e00f3
SOLR-4952: use solrconfig.snippet.randomindexconfig.xml in solrconfig.xml and crazy-path-to-config.xml; this included removing some unneccessary checks for indexConfig settings that already have their own explicit tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510802 13f79535-47bb-0310-9956-ffa450edef68
2013-08-05 23:17:39 +00:00
Chris M. Hostetter
26a914558b
SOLR-2570: randomize more indexConfig settings in tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510637 13f79535-47bb-0310-9956-ffa450edef68
2013-08-05 18:18:39 +00:00
Michael McCandless
acaa4eab02
fix exc messages
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510617 13f79535-47bb-0310-9956-ffa450edef68
2013-08-05 17:35:04 +00:00
Noble Paul
e021a1a7b3
updating CHANGES.txt regarding deprecation of shar.keys' param SOLR-5017
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510420 13f79535-47bb-0310-9956-ffa450edef68
2013-08-05 10:30:47 +00:00
Uwe Schindler
6465385110
SOLR-5113: Disable test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510073 13f79535-47bb-0310-9956-ffa450edef68
2013-08-03 22:49:10 +00:00
Simon Willnauer
95b806b296
LUCENE-5152: Fix MemoryPostingsFormat to not modify borrowed BytesRef from FSTEnum
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1509805 13f79535-47bb-0310-9956-ffa450edef68
2013-08-02 18:54:25 +00:00
Shai Erera
756892f037
some javadocs and comments improvements
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1509380 13f79535-47bb-0310-9956-ffa450edef68
2013-08-01 18:42:11 +00:00
Chris M. Hostetter
9f72a776bd
SOLR-4953: Make XML Configuration parsing fail if an xpath matches multiple nodes when only a single value is expected.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1509359 13f79535-47bb-0310-9956-ffa450edef68
2013-08-01 18:18:10 +00:00
Shai Erera
96c161f11f
LUCENE-5155: add OrdinalValueResolver
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1509152 13f79535-47bb-0310-9956-ffa450edef68
2013-08-01 10:01:38 +00:00
Noble Paul
e5045d5538
SOLR-4221 SOLR-4808 SOLR-5006 SOLR-5017 SOLR-4222
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508968 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 17:53:02 +00:00
Han Jiang
12b2b47477
clean up codes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1508817 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 11:42:36 +00:00
Adrien Grand
1d603a9f87
LUCENE-5140: Fixed performance regression of span queries caused by LUCENE-4946.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508757 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 07:51:41 +00:00
Han Jiang
e388e20c1d
LUCENE-3069: introduce intersect() to TempFSTOrd
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1508744 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 07:15:00 +00:00
Robert Muir
ecf245459b
LUCENE-5154: move test logging config to where it will actually work in solrj tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508721 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 03:58:17 +00:00
Robert Muir
a879da2b73
LUCENE-5154: fix test to use getTempDir instead of CWD
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508719 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 03:57:08 +00:00
Robert Muir
598e546bf4
LUCENE-5154: fix test to use getTempDir instead of CWD
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508717 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 03:56:01 +00:00
Han Jiang
004e4b75bc
refactor & cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1508710 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 02:04:37 +00:00
Han Jiang
f957c7648c
LUCENE-3069: add TempFSTOrd, with FST index + specialized block
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1508705 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 01:42:24 +00:00
Chris M. Hostetter
a3bcddbb1c
SOLR-5094: Fix order of setup in TestJmxIntegration so MBean server is running before Solr init. Also fixes SOLR-4418
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508661 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 21:58:54 +00:00
Shai Erera
a3b8cb3d8e
LUCENE-5153: Allow wrapping Reader from AnalyzerWrapper
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508622 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 20:45:08 +00:00
Robert Muir
e579cc68ea
fix test not to generate nullreaders > 10, since it always asserts bulk reads from that position
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508604 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 20:19:15 +00:00
Chris M. Hostetter
c78b4f80bb
SOLR-4951: Better randomization of MergePolicy in Solr tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508521 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 16:57:37 +00:00
Erick Erickson
460a1be8a9
SOLR-5087, CoreAdminHandler.handleMergeAction generating NullPointerException. Thanks Patrick
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508476 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 14:51:56 +00:00
Simon Willnauer
4d29e7e20e
LUCENE-5149: CommonTermsQuery should allow minNrShouldMatch for high & low freq terms
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508453 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 14:08:14 +00:00
Shai Erera
6ec978de46
LUCENE-5151: Associations aggregators enter an infinite loop if some documents have no category associations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508440 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 13:53:38 +00:00
Adrien Grand
2c5856cf25
LUCENE-5145: AppendingPackedLongBuffer and added suport for bulk get operations to the Appending*Buffers.
...
Introduced bulk retrieval to AbstractAppendingLongBuffer
classes, for faster retrieval. Introduced a new variant,
AppendingPackedLongBuffer which solely relies on PackedInts as a backend.
This new class is useful where people have non-negative numbers with a
uniform distribution over a fixed (limited) range. Ex. facets ordinals. To
distinguish it from AppendingPackedLongBuffer, delta based
AppendingLongBuffer was renamed to AppendingDeltaPackedLongBuffer Fixed an
Issue with NullReader where it didn't respect it's valueCount in bulk gets.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508423 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 12:42:39 +00:00
Michael McCandless
3bff59a588
allow -1 from Fields.size()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508418 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 12:34:16 +00:00
Simon Willnauer
1a84b76403
LUCENE-5146: AnalyzingSuggester sort order doesn't respect the actual weight
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508382 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 10:45:38 +00:00
Uwe Schindler
82a5f35c20
SOLR-5082: The encoding of URL-encoded query parameters can be changed with the "ie" (input encoding) parameter, e.g. "select?q=m%FCller&ie=ISO-8859-1". The default is UTF-8. To change the encoding of POSTed content, use the "Content-Type" HTTP header
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508236 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 23:24:22 +00:00
Mark Robert Miller
0036ab6eca
tweak connect timeout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508191 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 19:40:08 +00:00
Shai Erera
72cf725675
remove TODO
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508178 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 18:54:33 +00:00
Michael McCandless
9196c5fa97
evil up this test a bit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508162 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 18:23:29 +00:00
Robert Muir
02a2f383b2
LUCENE-5127: FixedGapTermsIndex should use monotonic compression
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508147 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 17:34:52 +00:00
Robert Muir
a16d24160f
unbreak jenkins
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508137 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 17:08:38 +00:00
Shai Erera
8c55fcde84
LUCENE-5144: remove FacetRequest.createAggregator, rename StandardFacetsAccumulator to OldFA and move it and associated classes under o.a.l.facet.old
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508085 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 14:43:03 +00:00
Shai Erera
bb1164b2fc
LUCENE-4985: Make it easier to mix different kinds of FacetRequests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508043 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 13:07:30 +00:00
Adrien Grand
503b2b29a6
LUCENE-5141: CheckIndex.fixIndex doesn't need a Codec.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1507808 13f79535-47bb-0310-9956-ffa450edef68
2013-07-28 16:10:16 +00:00
Uwe Schindler
2902c40cfd
SOLR-5083: Move JDK-1.0-style hidden classes into inner classes of SolrRequestParsers (to prevent uptodate javac bugs)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1507742 13f79535-47bb-0310-9956-ffa450edef68
2013-07-27 23:15:10 +00:00
Shai Erera
70344afbfc
LUCENE-4876: don't clone IndexWriterConfig by IndexWriter; prevent config from being shared with multiple writers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1507704 13f79535-47bb-0310-9956-ffa450edef68
2013-07-27 19:01:04 +00:00