Commit Graph

541 Commits

Author SHA1 Message Date
Mark Robert Miller 273f5a8b93 fix and unignore test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291971 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 19:50:56 +00:00
Yonik Seeley 7e6c8fa33b tests: more reorder testing in peersync
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291843 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 15:07:39 +00:00
Mark Robert Miller ceb3ab3e1d need to figure out why this started failing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291597 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 05:08:20 +00:00
Mark Robert Miller bd31c935d1 say what state we found if we found one that is not ACTIVE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291586 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 04:01:56 +00:00
Mark Robert Miller 13956ea166 boost wait by 4 sec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291572 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 03:05:08 +00:00
Yonik Seeley d263c5c1ab log recoveringAfterStartup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291547 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 01:44:56 +00:00
Koji Sekiguchi 3ab34fc0d0 SOLR-2909: add support for ResourceLoaderAware tokenizerFactories in synonym filter factories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291541 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 00:56:42 +00:00
Mark Robert Miller 314bce4f6e SOLR-3126: harden peer sync recovery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291530 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 23:58:49 +00:00
Yonik Seeley 630addb415 SOLR-3126: get num versions from updatelog, fail sync if comm fail when retrieving updates, use starting versions if syncing aftger startup, only sync first time in recovery loop, more sync logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291350 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 16:31:18 +00:00
Robert Muir 5adeacf2aa SOLR-3143: add SuggestQueryConverter for autosuggesters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291322 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 15:48:38 +00:00
Sami Siren 83f02d630b SOLR-3068: add check against nulls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291184 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 10:34:06 +00:00
Mark Robert Miller b64c42c533 cfg should be volatile
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291127 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 05:09:02 +00:00
Robert Muir a519b630ee LUCENE-3714: add weighted FST suggester impl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291020 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 16:23:05 +00:00
Yonik Seeley 2e07171d1f SOLR-3126: test changes to handle deletes surviving restart
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291003 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 14:13:45 +00:00
Yonik Seeley e2ebd116a1 SOLR-3126: restore old deletes via tlog so peersync won't reorder
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1290941 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 04:10:03 +00:00
Yonik Seeley 3bbd90ebd5 SOLR-3126: restore old deletes via tlog so peersync won't reorder
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1290938 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 03:57:43 +00:00
Yonik Seeley 777a357934 tests: throw some get-lastest-version requests into the mix during buffering
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1290886 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 21:40:43 +00:00
Mark Robert Miller 6d5e0efac4 SOLR-3137: check for null orig solr.xml name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1290829 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 17:50:05 +00:00
Robert Muir 28c3923ceb LUCENE-3796: throw an exception if you set an index-time boost on a field that omits norms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245947 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 15:48:20 +00:00
Mark Robert Miller b430734e31 fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245930 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 14:46:52 +00:00
Mark Robert Miller 1cf9bc4e28 add null check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245927 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 14:26:23 +00:00
Mark Robert Miller a668cc9a5e dont ignore this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245925 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 14:15:57 +00:00
Uwe Schindler 88f7c8bd77 import missing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245903 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 10:35:41 +00:00
Uwe Schindler 9e98ce6ed5 Stop cruelty to monkeys and other animals
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245902 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 10:31:25 +00:00
Uwe Schindler 78640d58cf Fix javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245899 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 10:24:22 +00:00
Mark Robert Miller 458ff3ead7 SOLR-3126: hardening around peer sync and tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245836 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 02:00:03 +00:00
Mark Robert Miller d15af1ccbd fail if we don't see recovering shard flip to active and correct doc count checks (distrib=false)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245835 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 01:31:11 +00:00
Michael McCandless 854c9ac452 LUCENE-3777: separate out Int/Long/Float/DoubleField to reduce traps
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245583 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 14:46:35 +00:00
Mark Robert Miller 297f09d818 dont pass around confusing solrcore param
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245244 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 23:16:03 +00:00
Mark Robert Miller c5f84d4dcf get core first thing before try
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245242 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 23:04:40 +00:00
Mark Robert Miller efa20a5149 SOLR-3131: "details" command fails when a replication is forced with a "fetchIndex" command on a non-slave server
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245231 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 22:46:15 +00:00
Mark Robert Miller 91dc7befa4 SOLR-3137: When solr.xml is persisted, you lose all system property substitution that was used.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245217 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 22:24:04 +00:00
Mark Robert Miller 8a2bc76e2f somehow didn't make it in the previous commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245213 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 22:20:18 +00:00
Mark Robert Miller 9897a0e792 SOLR-3138: Add node roles to core admin handler 'create core' and solrj.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245202 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 22:02:39 +00:00
Mark Robert Miller c2eb461acc SOLR-3126: tweaks on this + reenable test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245004 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 14:51:14 +00:00
Yonik Seeley 9b7945f981 SOLR-3126: adjust peersync to avoid false positive syncs during updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244806 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 00:30:16 +00:00
James Dyer 264eb5690a SOLR-2847
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244553 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 15:52:32 +00:00
Mark Robert Miller 4fc57a39f8 ignore until SOLR-3126 is fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244281 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 23:50:43 +00:00
Mark Robert Miller 56f12201b7 SOLR-3122: allow interrupting zkcmdoperations and some test work
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244231 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 21:58:16 +00:00
Mark Robert Miller 0a02750074 SOLR-3126: We should try to do a quick sync on std start up recovery before trying to do a full blown replication.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244177 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 19:15:54 +00:00
Mark Robert Miller cf0fe3e58c ignore again - still failing too often on jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244007 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 15:50:11 +00:00
Christopher John Male e36f317d7b SOLR-3005: Fixed JSONResponseWriter content type disappearing when only default writers used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243870 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 10:58:43 +00:00
Yonik Seeley 48c78f2542 remove dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243779 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 04:18:56 +00:00
Erick Erickson 6bb4ea097f Fix for SOLR-3132
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243774 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 03:09:02 +00:00
Yonik Seeley 26de35a65c dbq: fix param rename
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243773 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 03:00:22 +00:00
Yonik Seeley 27f5a8b290 solrcloud: send deleteByQuery to all shard leaders to version and forward to replicas
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243768 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 02:45:41 +00:00
Mark Robert Miller 6f186b0dd4 ignore again for the moment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243413 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 04:21:31 +00:00
Mark Robert Miller 06fae9dfbb SOLR-3117: CoreDescriptor attempts to use the name before checking if it is null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243390 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 01:39:11 +00:00
Martijn van Groningen d6cb99523a SOLR-3109: Fixed numerous redundant shard requests when using distributed grouping.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243375 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 00:13:32 +00:00
Mark Robert Miller f68149b978 turn these two tests on
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243200 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 05:53:56 +00:00
Mark Robert Miller 83fa9d80fa SOLR-3125: When a SolrCore registers in zk there may be stale leader state in the clusterstate.json.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243195 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 02:45:06 +00:00
Mark Robert Miller 4cffbd71b5 more specific logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243194 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 02:44:30 +00:00
Mark Robert Miller 1825356d26 use a connection timeout as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243187 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 01:14:05 +00:00
Mark Robert Miller 2fc6800bdf SOLR-3122: do not interrupt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243154 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 21:03:46 +00:00
Mark Robert Miller 5c50bf4c65 only print to stdout if test did not finish
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243135 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 19:40:17 +00:00
Uwe Schindler d17d600da5 LUCENE-3770: FilterIndexReader was renamed to FilterAtomicReader and now extends AtomicReader. If you want to filter composite readers like DirectoryReader or MultiReader, filter their atomic leaves and build a new CompositeReader (e.g. MultiReader) around them.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243051 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 13:06:39 +00:00
Ryan McKinley 7e3a10e107 SOLR-3121: (admin UI) load term info dynamically for each field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242998 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 02:55:45 +00:00
Mark Robert Miller 17ac9321a9 unignore this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242927 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 21:15:18 +00:00
Robert Muir 590741dcfe LUCENE-3766: Remove Tokenizer's default ctor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242890 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 19:12:35 +00:00
Mark Robert Miller 18a1d40283 SOLR-2957: fix default core behavior when in zk mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242843 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 16:42:57 +00:00
Yonik Seeley e138de254f SOLR-3120: spatial post-filter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242832 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 16:00:26 +00:00
Mark Robert Miller e9380c5370 if we cannot find a collection, return null rather than NPE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242830 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 15:57:00 +00:00
Mark Robert Miller 7728dcc5f2 do not put num_shards in the cluster state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242828 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 15:56:19 +00:00
Mark Robert Miller 76f0587508 SOLR-2957: collection URLs in a cluster
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242800 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 14:52:44 +00:00
Robert Muir 8a50cefc6b LUCENE-3748: EnglishPossessiveFilter did not work with a proper right quotation mark
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242740 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 11:01:11 +00:00
Mark Robert Miller 9332f2e027 SOLR-3088: create shard placeholders
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242639 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 02:24:25 +00:00
Chris M. Hostetter 7c51126b86 SOLR-2802: change min/max processors to fail hard if values are not comparable, also imrpvoe error handling/logging in FieldMutatingUpdateProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242625 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 00:43:54 +00:00
Yonik Seeley 6c4139a62b tests: add testfunc to ensure weighting occurs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242617 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 00:22:01 +00:00
Robert Muir 8c2e20bb2d SOLR-3056: add example japanese field type, lazy-load kuromoji resources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242573 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 22:35:24 +00:00
Chris M. Hostetter 343fead2bc SOLR-2802: fix compilation problem rmuir was seeing in his IDE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242534 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 21:20:47 +00:00
Chris M. Hostetter 4906b8a614 SOLR-2802: several new UpdateProcessorFactories for modifing fields of documents, along with base classes to make writing these types of classes easier for users
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242514 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 20:41:21 +00:00
Robert Muir 72ae3171be LUCENE-3765: Trappy behavior with StopFilter/ignoreCase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242497 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 19:59:50 +00:00
Mark Robert Miller 3c5d8633d9 SOLR-3108: Error in SolrCloud's replica lookup code when replica's are hosted in same Solr instance (test)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242324 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 13:59:11 +00:00
Uwe Schindler 25cfcfb61e LUCENE-3757: Change AtomicReaderContext.leaves() to return itsself as only leave to simplify code and remove an otherwise unneeded ReaderUtil method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242233 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 08:14:19 +00:00
Erick Erickson 3f9389b3ea Fix for SOLR-3111 - fl param not working when more than one field was specified. Also honors * for "all fields"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242150 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 22:30:50 +00:00
Robert Muir dac1b58277 SOLR-3097, SOLR-3105: add fieldtypes for different languages to the example
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241878 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 12:07:52 +00:00
Steven Rowe eb0ab3d392 LUCENE-3753: Restructure the Lucene build system
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241588 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 19:59:05 +00:00
Yonik Seeley a26d3d1d4c SOLR-3104: get sortfield values for fsv in docid order
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241537 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 18:01:54 +00:00
Mark Robert Miller d98d63d83e set timeout on sync request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241059 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 16:18:41 +00:00
Erick Erickson de88978db0 Added types to javadoc
used // rather than /**  */ to keep IntelliJ from making a stupid complaint

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241010 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 13:50:53 +00:00
Robert Muir 4710d32447 LUCENE-3749: replace SimilarityProvider with PerFieldSimilarityWrapper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241001 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 12:48:01 +00:00
Simon Willnauer dfce8dd760 Retrieve CoreContainer from EmbeddedSolrServer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240980 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 11:23:33 +00:00
Robert Muir c880ef0647 SOLR-1860: support snowball format in stoplists
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240784 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 19:33:56 +00:00
Robert Muir bef6e3664d LUCENE-3726: additional tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240760 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 16:16:02 +00:00
Robert Muir 009608d9f2 LUCENE-3726: default Kuromoji to search mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240710 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 12:41:13 +00:00
Koji Sekiguchi 0e73d06216 SOLR-3054: add a period at the end of the first sentence in javadoc in order to avoid displaying the sample definition of schema.xml in o.a.s.analysis package table, and add indent to the sample for readability
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240655 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 02:38:18 +00:00
Yonik Seeley 42bec45143 SOLR-3017: make StopFilterFactory return TokenStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240371 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 22:08:13 +00:00
Mark Robert Miller 047b368b59 SOLR-3091: When running in SolrCloud mode, whether a instance is supposed to be part of the quorum or not, it tries to start a local Solr ZK server.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240239 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 16:41:32 +00:00
Mark Robert Miller ce3f9caf86 SOLR-3082: If you use a lazy replication request handler, the commit listener will not be registered right away, and might miss tracking the last commit.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240233 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 16:26:20 +00:00
Tommaso Teofili 1b4c60816c [SOLR-3092] - updated TypeTokenFilterFactory to handle useWhiteList parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1240081 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 11:11:25 +00:00
Robert Muir d80355fd21 LUCENE-3566: parameterize H1 and H2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239680 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 15:46:43 +00:00
Yonik Seeley 26cc705354 recovery: don't replay log file on clean shutdown + startup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239465 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 05:59:55 +00:00
Yonik Seeley 0456daf3bb return useful messages for wrapped exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239453 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 03:13:32 +00:00
Yonik Seeley f6e4fceda2 SOLR-3078: only return update versions on request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239437 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 02:17:54 +00:00
Yonik Seeley 49799e031f LUCENE-1536: avoid needless checking of livedocs for solr DocSets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239432 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 01:37:50 +00:00
Yonik Seeley fa11c89517 SOLR-3062: join was ignoring acceptDocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239355 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 22:02:07 +00:00
Yonik Seeley 8eca88f9d4 SOLR-1726: disable deep paging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239326 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 21:15:24 +00:00
Chris M. Hostetter 07d334be9b SOLR-3084: Fixed initialiazation error when using <queryResponseWriter default="true" ... />
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239316 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 20:55:18 +00:00
Yonik Seeley fca632d48b tests: fix failure due to other methods using same id space
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239284 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 19:37:36 +00:00
Grant Ingersoll b912f6da98 SOLR-1726: add deep paging support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239181 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 16:01:34 +00:00
Mark Robert Miller 5d2de95e35 SOLR-3065: clean up exception handling / logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239180 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 15:52:10 +00:00
Yonik Seeley 8e357cac55 SOLR-3062: implement openSearcher=false, make commitWithin soft, refactor commit param parsing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239155 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 14:51:07 +00:00
Robert Muir 3d55e144ac SOLR-3056: support kuromoji in core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239117 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 13:01:44 +00:00
Uwe Schindler 5f38919e81 LUCENE-3734: Allow customizing/subclassing of DirectoryReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239043 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 10:41:54 +00:00
Mark Robert Miller 440b514452 revert these config changes - see SOLR-3082 - we should solve this another way
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238838 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 22:36:50 +00:00
Mark Robert Miller 942b41c004 don't lazy load the replication handler - you can miss replicating commits that happen before the handler is loaded
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238814 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 21:05:42 +00:00
Mark Robert Miller a4591b1f05 SOLR-3081: default warming queries to distrib=false
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238744 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 18:54:56 +00:00
Mark Robert Miller f733000e0f better error msg than NPE when collection cannot be found
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238697 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 17:24:05 +00:00
Mark Robert Miller 0d8d2f48e4 allow for over closing SolrZkClient as we do with SolrCore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238680 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 15:58:18 +00:00
Martijn van Groningen cf538e6f74 SOLR-3073: Fixed 'Invalid UUID string' error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238678 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 15:56:38 +00:00
Mark Robert Miller d3e50cad5f don't do an extra close - this will happen at shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238677 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 15:56:32 +00:00
Uwe Schindler 18533af348 LUCENE-2858: Fix Javadoc warnings, still missing some text for new classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1238026 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 21:45:08 +00:00
Robert Muir 3ea54b5401 merge trunk (1237715:1238015)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1238024 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 21:19:54 +00:00
Uwe Schindler 10614f9b26 LUCENE-2858: Port Java to new API, share slow reader as SolrIndexSearcher.getAtomicReader()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237812 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 17:29:22 +00:00
Mark Robert Miller 76fc82a199 SOLR-3075: Overseer does not check cloudstate for previously assigned shardId but generates a new one
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237803 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 17:16:54 +00:00
Uwe Schindler bfa1dec595 LUCENE-2858: Move the ReaderContexts out of their enclosing classes and make top-level classes. Makes import statements not so verbose and its much easier to understand. Prevent subclassing of IndexReader and IndexReaderContext directly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237596 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 10:46:30 +00:00
Mark Robert Miller 8ea1719aef when aggressively killing leaders in tests, don't go after any leader, go after the leader for the given slice
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237513 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 00:41:39 +00:00
Michael McCandless 2e5be2f75c LUCENE-3672: reduce reliance on timestamps
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237497 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 22:38:32 +00:00
Mark Robert Miller 1aef3f9fef revert - did not help
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237341 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 16:51:28 +00:00
Mark Robert Miller 1b2f952ecc fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237308 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 15:02:53 +00:00
Mark Robert Miller 6b2b5c5cab set a timeout on this solrserver as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237297 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 14:27:58 +00:00
Mark Robert Miller 50534a52b2 ignore test until we figure out why we get a read time out on an up server on jenkins in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237293 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 14:06:42 +00:00
Mark Robert Miller 9d8a62ce96 if there is an exception when closing the writer, log it and keep closing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237200 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 03:41:37 +00:00
Mark Robert Miller 210301b424 SOLR-3065: Let overseer process cluster state changes asynchronously
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237194 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 02:22:55 +00:00
Mark Robert Miller 9a1222efc5 SOLR-3063: Bug in LeaderElectionIntgrationTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237193 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 02:12:00 +00:00
Mark Robert Miller 23e845d479 enable this test again
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237191 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 01:55:30 +00:00
Mark Robert Miller 6d5e8df1da raise the timeout on this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237190 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 01:53:55 +00:00
Mark Robert Miller 7a0a470401 tweak test and pull atLeast() out of for loop
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236968 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 03:03:46 +00:00
Mark Robert Miller ece30470f2 try making sure we wait for any recovery to stop for each core in core container shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236959 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 02:19:42 +00:00
Mark Robert Miller 5a020a48d2 change test so that even if there is an exception in the ClientThread constructor, the zkclient is closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236956 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 02:03:29 +00:00
Yonik Seeley f6e22fd4fa SOLR-3035: make text response writers work with byte, short, and byte[] values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236894 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 21:27:57 +00:00
Mark Robert Miller cc93925b9f don't allow registering a new SolrCore if the CoreContainer has been shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236889 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 21:19:08 +00:00
Mark Robert Miller af77591d7a remove this isClosed check that we didn't have before and shouldn't need now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236886 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 21:02:31 +00:00
Mark Robert Miller 2bc0007244 try ignoring this test for now so we can isolate which tests are involved in the indexsearcher open/close imbalance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236830 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 19:01:53 +00:00
Mark Robert Miller 440a7991d3 try to be more aggressive shutting down the search executor in the face of interruption
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236748 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 16:40:49 +00:00
Mark Robert Miller 6d1e24554a be more aggressive about trying to shut down executors in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236740 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 16:31:47 +00:00
Mark Robert Miller 17a5d3e5cb we don't care if commit fails while we wait for things to settle down in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236525 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 04:38:02 +00:00
Mark Robert Miller 21e0d0c909 must have lost this: when force=true, do not trust comparing version and generation - this is not a strong enough check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236518 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 04:12:20 +00:00
Mark Robert Miller ccee2bca8f ensure that a newly opened searcher has a non null newIndexDir to work from
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236509 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 03:49:51 +00:00
Mark Robert Miller d2a21994e9 fix how we poll for the leader in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236488 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 01:40:52 +00:00
Mark Robert Miller e679634db6 boost timeout on test for the really slow system
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236484 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 01:24:39 +00:00
Yonik Seeley 6279c500a2 tlog: nuke unwanted localization
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236480 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 01:12:36 +00:00
Mark Robert Miller 4d9a1d0862 set the name of the recovery thread
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236463 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 00:23:21 +00:00
Michael McCandless c56e845c68 DocTermOrds requires atomic reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236443 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 23:20:10 +00:00
Mark Robert Miller 9469e0e0a7 ensure that we have shard leaders before the tests begin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236441 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 23:05:21 +00:00
Yonik Seeley 9db16cd23b tests: try to track down the tlog-already-exists issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236410 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 22:09:08 +00:00
Mark Robert Miller b0ea2de37d boost this test poll timeout just a bit more
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236406 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 22:01:34 +00:00
Mark Robert Miller 0d578c8c8c add a bit of javadoc and be sure we don't register as active unless a recovery was *not* started
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236378 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 20:38:04 +00:00
Mark Robert Miller 790045ae03 add a check that ensures we see the number of shards that we would expect in the cluster state before the test starts and retry after a pause if we do not
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236366 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 19:46:42 +00:00
Mark Robert Miller 51c97efbe8 fix javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236354 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 19:20:07 +00:00