Yonik Seeley
d3a2df9307
tests: specify a seed to Random()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371478 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 20:51:48 +00:00
Robert Muir
0910133f3a
add some tests mixing up payload options
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371412 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 19:31:34 +00:00
Mark Robert Miller
bd157431b8
change log format - core= rather than Core:
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371399 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 19:21:56 +00:00
Mark Robert Miller
6563915b7a
add recovery strat to commented out list of log configs for tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371398 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 19:21:36 +00:00
Mark Robert Miller
f8bdd18671
fix test msg
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371397 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 19:21:04 +00:00
Yonik Seeley
932901bb01
SOLR-3715: remove sync around tlog serialization
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371379 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 18:53:19 +00:00
Robert Muir
858f4ed040
LUCENE-4298: MultiFields.getTermDocsEnum(Reader,Bits,String,BytesRef) did not work at all
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371291 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 16:19:08 +00:00
Uwe Schindler
2c38158032
Add support to also reload HashFunctions when Solr boots (otherwise codecs using new hash functions may fail to load).
...
We may need a better "automatic" reloading with one method call, that reloads all NamedSPILoaders. I will think about it and open issue. Solr could then only call NamedSPILoader.reloadAll(), so all instantiated ones get reloaded automatically. Currently its to risky to add new SPIs without Solr support (because it cannot be tested).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371150 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 10:34:30 +00:00
Mark Robert Miller
b2ab339643
add core name to some of the recovery logging
...
move getRecentUpdates into try block - we should continue with no updates if there is an exception getting them
move cancelRecovery call into recovery wait sync block
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371030 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 03:20:24 +00:00
Steven Rowe
e0dbd4c4f6
Add new test-framework dependencies introduced by Mark Miller's r1370864 commit: javax.servlet:servlet-api; org.eclipse.jetty:jetty-servlet; and org.eclipse.jetty:jetty-util (jetty-util was previously runtime scope, but is now compile scope)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370944 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 20:21:41 +00:00
Chris M. Hostetter
90fdd55ae5
remove broken @returns from javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370908 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 19:36:21 +00:00
Chris M. Hostetter
aba39dba9c
SOLR-3229: forgot credit in CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370904 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 19:32:13 +00:00
Robert Muir
7d90e98c77
remove dead code / 3.x hacks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370876 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 18:36:34 +00:00
Chris M. Hostetter
38c1b46817
SOLR-3229: Fixed TermVectorComponent to work with distributed search
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370870 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 18:20:45 +00:00
Mark Robert Miller
e528549a3b
still favor leaders with CloudSolrServer, but also fall back to replicas after leaders
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370864 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 18:01:11 +00:00
Robert Muir
3979cc97f3
LUCENE-4297: BooleanScorer2 sometimes multiplies coord() twice into the score
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370805 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 15:17:28 +00:00
Robert Muir
661f5e4aa9
harden test against internet problems
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370605 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 00:11:15 +00:00
Steven Rowe
a4c3b3577e
fix doc bugs (thanks to Oren Bochman)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370591 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 23:21:56 +00:00
Robert Muir
fde78b8196
LUCENE-4295: add task to build and smoke-test a release for the nightly build
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370518 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 20:58:46 +00:00
Steven Rowe
bc7578d8b6
LUCENE-4296: Update/clean up Maven POMs and documentation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370513 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 20:47:05 +00:00
Steven Rowe
148407b2d0
Mention ReusableAnalyzerBase -> Analyzer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370480 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 20:00:42 +00:00
Mark Robert Miller
f92c848abe
fix comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370341 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 16:19:41 +00:00
Mark Robert Miller
22d9268a2d
SOLR-3579: SolrCloud view should default to the graph view rather than tree view.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370334 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 16:10:19 +00:00
Mark Robert Miller
904a504825
cancel recovery before trying to sync as new leader - also improve logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370317 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 15:29:51 +00:00
Yonik Seeley
42a91f6db1
SOLR-3685: cloud sometimes skipped peersync attempt due to flags not being cleared when no updates were buffered during replication
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370314 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 15:26:37 +00:00
Robert Muir
c40b037560
rename confusing variables: numDocs is really docFreq, docFreqs is really termFreqs, termDocFreq is termFreq
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370309 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 15:21:12 +00:00
Yonik Seeley
8da8c78015
SOLR-3685: cloud sometimes skipped peersync attempt due to flags not being cleared when no updates were buffered during replication
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370297 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 15:00:19 +00:00
Robert Muir
1ff47b2c08
add test for when fixed dv is not really fixed length
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370241 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 13:17:37 +00:00
Robert Muir
7ca42b800a
add 4.0 section
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370107 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 03:34:00 +00:00
Mark Robert Miller
0bdee8ad89
Add CHANGES entry for SOLR-3647
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370087 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 00:51:54 +00:00
Yonik Seeley
0834c89f92
tests: fix test of unordered namedlist, skip explain comparisons
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369984 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 20:26:59 +00:00
Steven Rowe
15ab29fc95
LUCENE-2510: Add resources directories, containing META-INF/services/o.a.l.analysis.util.*Factory, to POMs for analysis modules that previously didn't have them, so that these files will make it into the Maven-produced jars
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369961 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 20:05:36 +00:00
Erik Hatcher
5714f445d3
fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369930 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 19:20:51 +00:00
Michael McCandless
92c90bf7cb
LUCENE-4292: cannot assert numSearches > 0 in this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369911 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 18:27:07 +00:00
Robert Muir
9898822e28
LUCENE-4291: reduce jflex buffer sizes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369883 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 17:16:47 +00:00
Michael McCandless
3930247e77
add missing IR.close() in this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369876 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 16:36:58 +00:00
Chris M. Hostetter
ee280234f4
SOLR-1725: fix test assumptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369874 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 16:29:37 +00:00
Robert Muir
462ff90d8e
LUCENE-4289: fix highlighter idf inconsistencies/inefficiencies
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369859 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 14:55:41 +00:00
Robert Muir
c1f2562aff
fix more broken untested boosts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369711 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 01:59:03 +00:00
Mark Robert Miller
c826b1f040
ignore until i can look into tomorrow
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369510 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 01:29:07 +00:00
Robert Muir
b4540d6369
LUCENE-4286: add unibigram option to CJKBigramFilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369502 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 22:37:14 +00:00
Robert Muir
41d4ef2b08
fix broken, untested 0.0f boost on unindexed field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369500 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 22:34:29 +00:00
Mark Robert Miller
fec289ee99
SOLR-3710: Change CloudSolrServer so that update requests are only sent to leaders by default.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369484 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 22:03:42 +00:00
Jan Høydahl
2ba5d018e7
SOLR-3439: Fixing broken hitGrouped
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369476 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 21:35:41 +00:00
Mark Robert Miller
238c4274b6
SOLR-3709: Cache the url list created from the ClusterState in CloudSolrServer on each request.
...
SOLR-3708: Add hashcode to ClusterState so that structures built based on the ClusterState can be easily cached.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369465 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 21:22:45 +00:00
Jan Høydahl
37153b5c34
SOLR-3439: Make SolrCell easier to use out of the box
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369433 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 20:50:11 +00:00
Mark Robert Miller
de3d41432c
rename CloudState to ClusterState
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369396 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 18:32:33 +00:00
Mark Robert Miller
96f7135cea
retry on 503 along with 404 in this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369367 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 16:48:15 +00:00
Michael McCandless
100349a03e
fixup more python3 issues
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369243 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 22:48:27 +00:00
Mark Robert Miller
854eabc534
LUCENE-3985: missed updating test file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369241 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 22:47:24 +00:00