Commit Graph

866 Commits

Author SHA1 Message Date
Sami Siren c618516338 SOLR-3080: add couple more asserts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292753 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 11:44:00 +00:00
Sami Siren 19b2423ced SOLR-3080: clear system property after test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292740 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 10:58:37 +00:00
Sami Siren 565777a7b3 SOLR-3080: remove shard info from zk when unload is called
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292739 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 10:55:29 +00:00
Ryan McKinley d1abb09612 SOLR-3134: Include shard info in distributed response when shards.info=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292717 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 09:07:31 +00:00
Sami Siren d47a11f077 SOLR-3080: make election cancellable through EC
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292680 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 07:19:37 +00:00
Mark Robert Miller 5713824147 SOLR-3153: When a leader goes down he should ask replicas to sync in parallel rather than serially.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292652 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 05:22:31 +00:00
Ryan McKinley 9f2cec662f SOLR-2459: fix test so it does not assume logging configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292642 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 03:55:31 +00:00
Yonik Seeley 42c1ca8212 logging: log versions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292619 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 02:00:10 +00:00
Ryan McKinley a9fbb020a5 SOLR-2459: deprecate LogLevelSelection servlet
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292618 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 01:59:35 +00:00
Ryan McKinley 198c2a8b2d SOLR-2459: Expose LogLevel selection with a RequestHandler rather then servlet
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292617 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 01:53:08 +00:00
Yonik Seeley 5d0f1c4f0e tests: make sure dropped buffered docs don't interfere with new additions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292553 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 22:28:06 +00:00
Ryan McKinley 7568962777 SOLR-3151: moving zookeeper.jsp to a servlet, this is a direct copy nothing new yet
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292429 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 18:06:40 +00:00
Yonik Seeley 2127ffa53e distrib search: up max connections per host
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292353 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 15:42:07 +00:00
Mark Robert Miller f9c34805d7 if a prospective leaders sync with replicas fails, still be leader if there are no other candidates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292315 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 14:34:16 +00:00
Mark Robert Miller 1d67a7dc71 expand skip recovery option a bit (used by tests)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292313 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 14:32:53 +00:00
Mark Robert Miller fd993e0c11 be careful about retrying rather than NPE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292312 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 14:30:53 +00:00
Mark Robert Miller baee5394c1 clear numShards at end of test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292311 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 14:30:03 +00:00
Uwe Schindler 07a44a8fa5 LUCENE-3800: "Soft-close" IndexReader (make it unuseable) once a child-reader (subreader, filter delegate, or parallel reader) is closed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292293 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 13:57:55 +00:00
Sami Siren 307cf98e1f print zk contents when failing to get leader url
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292243 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 11:35:08 +00:00
Sami Siren 9e1e2d40a4 fix CoreAdminRequest so that it uses correct key for shard id, use same key for shard id in CoreAdminParams and ZkStateReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292238 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 11:14:06 +00:00
David Wayne Smiley d6c583d9de LUCENE-3795 Switch Solr over to new spatial module. Tests pass.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3795_lsp_spatial_module@1292162 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 07:32:04 +00:00
Mark Robert Miller 075b60307e protect access with sync
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292093 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 00:41:15 +00:00
Mark Robert Miller 2a13b648fa fix a concurrency issue around writing hashmap to json
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292064 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 22:30:33 +00:00
Mark Robert Miller 2296b6d6e3 remove sys out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292010 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 20:55:03 +00:00
Yonik Seeley f50e4dbf51 SOLR-3150: NPE when facetting using facet.prefix on an empty field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292007 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 20:52:54 +00:00
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
Mark Robert Miller 86dd14bab9 ignore test until i can figure out why a request times out on a live jetty instance regularly on jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236318 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 17:46:37 +00:00
Mark Robert Miller de94013750 try raising tests so timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236272 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:23:45 +00:00
Mark Robert Miller 2da5fdc636 clean up javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236271 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:17:23 +00:00
Mark Robert Miller 2caf23ebf0 boost this test timeout as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236261 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:08:52 +00:00
Mark Robert Miller 9415095fc7 also raise this test timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236254 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 15:54:10 +00:00
Mark Robert Miller 228a324062 raise timeout and try to un-ignore this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236250 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 15:45:49 +00:00
Mark Robert Miller 6c3b8b5b02 cleanup/fix logic around setting active state on startup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236240 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 15:29:04 +00:00
Mark Robert Miller 19f8d0f623 if test fails, print zk layout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236037 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 03:58:52 +00:00
Mark Robert Miller 11396fff5b unignore this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236036 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 03:43:37 +00:00
Mark Robert Miller 7f31bb4974 try to avoid seeing stale state when deciding if we can kill or not by updating the state in the loop rather than just at the start
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236035 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 03:41:51 +00:00
Mark Robert Miller 8c0102e11a boost how long we poll for this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236034 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 03:36:45 +00:00
Mark Robert Miller 9072e892f2 print zk state if test is not succesful
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236024 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 02:22:31 +00:00
Mark Robert Miller c6d69c632f dont advertise sync state yet
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236009 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 00:55:45 +00:00
Mark Robert Miller 37b596b450 if the test fails, print out the zk state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235995 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 00:06:25 +00:00
Mark Robert Miller b87045f8f1 comment out debug sys out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235988 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 23:26:37 +00:00
Mark Robert Miller e4cc1d009c bump up wait fudge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235963 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 21:38:06 +00:00
Mark Robert Miller f81f7f60cd ignore these tests for a bit while i look into hardening them against hudson fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235949 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 21:10:51 +00:00
Mark Robert Miller 9fed484fb1 SOLR-2358: merge in solrcloud branch (watch out hudson!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235888 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 19:49:26 +00:00
Yonik Seeley 1e79c3b98e LUCENE-3721: CharFilters were not being invoked in Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235810 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 16:21:33 +00:00
Jan Høydahl d0e4e731d9 SOLR-2280: commitWithin ignored for a delete query
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235305 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 15:41:16 +00:00
Uwe Schindler 6b5ef1dead SOLR-3054, LUCENE-3671: Remove useless assureMatchVersion check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234579 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 18:57:24 +00:00
Uwe Schindler 366e1a2cd2 SOLR-3054, LUCENE-3671: Add TypeTokenFilterFactory that creates TypeTokenFilter that filters tokens based on their TypeAttribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234573 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 18:50:10 +00:00
Steven Rowe f3a363708f LUCENE-3690: Re-implemented HTMLStripCharFilter as a JFlex-generated scanner. Fixes LUCENE-2208, SOLR-882, and SOLR-42.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234452 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 05:20:46 +00:00
Jan Høydahl 374f6fc6c1 SOLR-2970: CSV ResponseWriter returns fields defined as stored=false in schema
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232918 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 14:55:57 +00:00
Simon Willnauer e58eadc95b LUCENE-3697: fix solr testcase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232818 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 10:31:46 +00:00
Koji Sekiguchi 88dee37bb0 LUCENE-3698: forgot to modify test in solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232491 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 17:15:36 +00:00
Yonik Seeley 3e4fc88708 SOLR-3037: missed test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232458 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 16:18:07 +00:00
Robert Muir dea4b911da LUCENE-3646: throw exception for fieldcache on non-atomic reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232444 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 15:34:43 +00:00
Jan Høydahl 37e03cbfa5 SOLR-2105: Discontinue deprecated parameter "update.processor"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232363 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 09:41:33 +00:00
Erick Erickson 23bd21c968 Fixes for SOLR-3032. Removed all the conditional logging for exceptions, we'll rely on the top levels to log the errors appropriately.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232192 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 22:07:13 +00:00
Simon Willnauer 98e59fceee LUCENE-3687: Allow similarity to encode norms other than a single byte
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232014 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 14:57:15 +00:00
Michael McCandless 11f33ee521 LUCENE-3684: add offsets to postings APIs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231794 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 23:17:45 +00:00
Michael McCandless 9de01b56eb LUCENE-3453: simplify DocValues/Field API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231791 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 23:05:13 +00:00
Koji Sekiguchi 2125313a90 SOLR-2603: Encoding of alternate fields in highlighting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231665 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 13:50:55 +00:00
Yonik Seeley 2911bce99b fix thread safety
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231606 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 01:30:35 +00:00
Yonik Seeley 2504985445 SOLR-3036: Ability to specify overwrite=false on the URL for XML updates.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231514 13f79535-47bb-0310-9956-ffa450edef68
2012-01-14 15:21:42 +00:00
Erick Erickson 2492bd2790 Fixing up where I messed up on previous checkin for SOLR-2906
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1230790 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 21:18:50 +00:00
Erick Erickson ec071905fb Fixes for SOLR-2906. Many thanks to Shawn Heisey
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1230745 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 20:07:03 +00:00
Erick Erickson 7de1e259f1 Fix for SOLR-2987 (numeric keys in external file field stopped processing the rest of the file)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1229783 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 22:51:17 +00:00
Koji Sekiguchi 6a085c2fa9 SOLR-3012: Move System.getProperty(type) in postData() to main()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1229602 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 15:35:31 +00:00
Michael McCandless cdb2ee8a7b LUCENE-3679: replace IR.getFieldNames with IR.getFieldInfos
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1229401 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 22:29:40 +00:00
Michael McCandless ed9f0fd5ef LUCENE-3668: if there's only 1 output for a synonym rule then set start/endOffset to match the full span of the input tokens
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1228650 13f79535-47bb-0310-9956-ffa450edef68
2012-01-07 16:26:15 +00:00
Erick Erickson c0959adbfc SOLR-1931, speeding up the LukeRequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1227924 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 01:25:12 +00:00
Yonik Seeley 3fbe085a11 LUCENE-3667: re-enable replication test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1227201 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 16:00:27 +00:00
Yonik Seeley 29fc70c15d tests: fix prepareCommit test - optimize to ensure a single segment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1226198 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 22:33:47 +00:00
Yonik Seeley 52a47d09ba SOLR-2992: Add support for IndexWriter.prepareCommit()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225954 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 22:41:50 +00:00
Robert Muir f5d1e967db LUCENE-3667: make tests reasonable if you dont have a supercomputer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225920 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 21:14:15 +00:00
Robert Muir b2970db4bc LUCENE-2906: filter to process output of Standard/ICUTokenizer and create overlapping bigrams for CJK
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225433 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 05:04:49 +00:00
Robert Muir f3869ef3ce SOLR-2982: add Beider-Morse phonetic filter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225211 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 16:00:52 +00:00
Grant Ingersoll 6a6d33257e SOLR-2977: add 'fake' excludes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1222234 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 13:59:11 +00:00
Yonik Seeley b323c54f6a SOLR-2950: QEC comparator bug fixes, including deleted docs handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1221826 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 18:05:52 +00:00
Grant Ingersoll f42b2ffd63 SOLR-2950: Improve QEC performance by dropping field cache use and keeping a local smaller map
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1220983 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 22:39:01 +00:00
Erick Erickson 1ff2096aef Fixes for SOLR-2971, valType now optional for
ExternalFileFields and, if present, types float, pfloat, tfloat 
all accepable.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215503 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 14:53:36 +00:00
Grant Ingersoll 39f7791817 SOLR-1520: support trie types, fix issues with failing tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215352 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 23:51:12 +00:00
Robert Muir a55f511a77 LUCENE-3650: move o.a.l.index.codecs to o.a.l.codecs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215245 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 19:03:12 +00:00
Chris M. Hostetter b3d2c99128 SOLR-2972: Fix JoinQParser so it doesn't force the 'lucene' parser to be used for the sub query
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215001 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 00:25:13 +00:00
Chris M. Hostetter 4d75ef3d42 SOLR-1520: revert r1214937 as it breaks several tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214997 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 00:01:38 +00:00
Grant Ingersoll fde5bdc871 SOLR-1520: support trie types
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214937 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 19:55:51 +00:00
Chris M. Hostetter 03762c4be5 SOLR-2956: Fixed inconsistencies in the flags (and flag key) reported by the LukeRequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214540 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 23:21:56 +00:00
Steven Rowe 60929a5adb LUCENE-3645: Remove unnecessary array wrapping when calling varargs methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214413 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 19:15:47 +00:00
Robert Muir 8d7749ea4f LUCENE-3622: separate IndexDocValues interface from implementation (phase 1)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213844 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 18:39:06 +00:00
Robert Muir eb173852ba LUCENE-3622: merge trunk (1213324:1213812)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1213825 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 18:23:22 +00:00
Grant Ingersoll 7efb166240 SOLR-1520: added tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213824 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 18:22:39 +00:00
Grant Ingersoll d66ae61193 SOLR-1730: fix logging in exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213706 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 14:21:41 +00:00
Grant Ingersoll 7c0069cbb7 SOLR-1730: check the cause exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213704 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 14:21:30 +00:00
Chris M. Hostetter 4da73b1f9e SOLR-2920: Refactor frequent conditional use of DefaultSolrParams and AppendedSolrParams into factory methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213474 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 22:31:51 +00:00
Robert Muir 701000cf27 LUCENE-3622: function DocValues -> FunctionValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1213426 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 20:33:26 +00:00
Robert Muir 3899e18ca3 LUCENE-3640: Remove IndexSearcher.close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213117 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 00:21:40 +00:00
Uwe Schindler 764059147f LUCENE-3633: Remove code duplication in MultiReader and DirectoryReader; make everything finally final :-)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212844 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 19:00:13 +00:00
Martijn van Groningen 8a4104be28 SOLR-2955: Fixed IllegalStateException when querying with group.sort=score desc in sharded environment.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212420 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 13:49:03 +00:00
Uwe Schindler a363e9b564 LUCENE-3606: Merge up to trunk r1212007
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1212008 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 18:01:13 +00:00
Grant Ingersoll 97b40049d0 SOLR-1730: Hook in handling of bad cores, failure of QEC to load, add in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1211827 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 11:09:47 +00:00
Uwe Schindler 13294b07cc Merge to trunk r1211584
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1211591 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 18:49:18 +00:00
Erick Erickson b89ded1448 Fix for SOLR-2509 (IndexOutOfBoundsException in Spellcheck Component/Collation)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1211456 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 14:42:16 +00:00
Robert Muir af5cd523d4 LUCENE-3606: merge trunk to r1211182
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1211200 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 22:04:55 +00:00
Robert Muir caedbf9ef9 LUCENE-3606: clear up some nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1211005 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 16:36:41 +00:00
Chris M. Hostetter 3fc07698f3 SOLR-2935: Better docs for numeric FieldTypes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1210714 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 23:49:57 +00:00
Uwe Schindler 559205883f LUCENE-3606: Clean up IR.open(...) methods to no longer accept readOnly and IndexDeletionPolicy: Core, Contrib, Solr (Modules need fixing, benchmark was broken before, too)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1210305 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 01:41:38 +00:00
Michael McCandless 961b820e53 LUCENE-2929: specify up front if you need freqs from DocsEnum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1210176 13f79535-47bb-0310-9956-ffa450edef68
2011-12-04 18:50:58 +00:00
Yonik Seeley ab1b26f162 update noggit to r1209632
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1209714 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 21:53:23 +00:00
Dawid Weiss 92de7e8848 SOLR-2888: FSTSuggester refactoring: internal storage is now UTF-8,
external sorting (on disk) prevents OOMs even with large data sets
(the bottleneck is now FST construction), code cleanups and API cleanups.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1209265 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 21:49:27 +00:00
Uwe Schindler 21989c90c2 Commit LUCENE-3598 to not corrumpt Robert's work on Default*: Improve InfoStream class in trunk to be more consistent with logging-frameworks like slf4j/log4j/commons-logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1209059 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 12:52:20 +00:00
Robert Muir 21b7c5bbee LUCENE-3584: make bulk postings codec private
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1208283 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 05:19:35 +00:00
Chris M. Hostetter 2337f4687f LUCENE-3599: Fix DistanceUtils.haversine() javadocs -- were incorrectly stating the expected order of the arguments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1208118 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 22:38:08 +00:00
Chris M. Hostetter afc71a72a6 SOLR-2861: remove inadvertant & unneeded import statement from SolrCore, and revert r1197205 that enabled maven to compile with this mistake
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1208022 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 18:44:03 +00:00
Simon Willnauer 9a513f82dc LUCENE-3592: Make BytesRef#startsWith & BytesRef#endsWith static
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1207564 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 20:15:17 +00:00
Robert Muir 4dd6b5fbed SOLR-2919: Localized rangequery support for icu/jdk collation filters, parametric tailoring for icu collators
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1207070 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 11:03:24 +00:00
Erick Erickson c94c1c5a64 git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206767 13f79535-47bb-0310-9956-ffa450edef68 2011-11-27 17:04:38 +00:00
Erick Erickson 098371446a SOLR-2438, allow an analysis chain to be created for multiterm query terms or synthesize one if not defined explicitly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206229 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 15:46:26 +00:00
Robert Muir 7f766cf603 LUCENE-3590: nuke BytesRef.utf8ToChars
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206174 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 13:55:41 +00:00
Robert Muir 3b6da22aa7 LUCENE-3590: clearly mark bogus deep-copying apis in BytesRef
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206143 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 12:50:13 +00:00
Shalin Shekhar Mangar 44fc56dc92 SOLR-2912 -- Fixed File descriptor leak in ShowFileRequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205774 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 10:11:06 +00:00
Shalin Shekhar Mangar 20a43ad9dc SOLR-2904 -- BinaryUpdateRequestHandler should be able to accept multiple update requests from a stream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204453 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 11:32:53 +00:00
Christopher John Male f55c72f928 SOLR-1123: Changed JSONResponseWriter content-type to be application/json by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204327 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 02:50:39 +00:00
Grant Ingersoll 00f5fef162 SOLR-2037: hook in DocTransformer for QueryElevationComponent to mark documents that have been boosted
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203839 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 21:07:13 +00:00
Michael McCandless 5267d23d46 LUCENE-3577: rename IW.expungeDeletes -> IW.forceMergeDeletes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203756 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 17:27:04 +00:00
Michael McCandless 9e27723b37 LUCENE-3562: stop caching thread-private TermsEnums in Terms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203294 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 17:35:42 +00:00
Chris M. Hostetter 2a94133a2c SOLR-2578: ReplicationHandler's backup command now supports a 'numberToKeep' param that can be used to delete all but the most recent N backups.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202969 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 01:33:21 +00:00
Robert Muir 873f199924 LUCENE-2621: move TermVectors,FieldInfos,SegmentInfos to codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202842 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 19:09:35 +00:00
Robert Muir 598920d7bd LUCENE-3571: nuke IndexSearcher(Directory)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202657 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 12:19:41 +00:00
Chris M. Hostetter 3508d03220 SOLR-2813: Fix HTTP error codes returned when requests contain strings that can not be parsed as numbers for Trie fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202499 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 01:27:26 +00:00
Yonik Seeley 67478264b5 SOLR-2895: call commit tracker after doc is added
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202428 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 21:26:54 +00:00
Simon Willnauer 25731ea3f7 SOLR-2895: call CommitTracker#addedDocument after document is added
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202107 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 09:28:46 +00:00
Ryan McKinley 04a9b55618 SOLR-1023: StatsComponent can now support dates (and other non-numeric fields)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201855 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 19:58:04 +00:00
Erick Erickson 4145656bb5 Adding date tests to SOLR-2134
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201484 13f79535-47bb-0310-9956-ffa450edef68
2011-11-13 19:29:17 +00:00
Simon Willnauer 03cc612036 LUCENE-2822: prevent TimeLimitedCollector from starting a statically referenced thread
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201165 13f79535-47bb-0310-9956-ffa450edef68
2011-11-12 02:22:06 +00:00
Michael McCandless fd447cbaff fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201058 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 21:27:22 +00:00
Michael McCandless 19889d6873 LUCENE-3454: rename IW.optimize -> IW.forceMerge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201036 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 19:50:51 +00:00
Michael McCandless 5200e8e38f LUCENE-3443: port 3.x's FieldCache.getDocsWithField to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200480 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 19:13:50 +00:00
Yonik Seeley 32bfbfe380 add more asserts to catch EOF, ensure that tlog files start at pos 0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200438 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 17:23:42 +00:00
Robert Muir edb422e30b SOLR-2848: fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200373 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 15:18:19 +00:00
Robert Muir b97d321f82 SOLR-2848: generalize distributed spellcheck code to work with any SolrSpellChecker
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200266 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 10:54:46 +00:00
Robert Muir 7877d1ff07 LUCENE-2621: fix codec to own the filenames and merging of stored fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1199779 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 14:52:33 +00:00
Yonik Seeley 6ab4c631ca SOLR-2861: retry if channel read returns 0 bytes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1199013 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 23:38:08 +00:00
Yonik Seeley 0d05013d86 SOLR-2861: add additional asserts to catch read past EOF that jenkins sees
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1198999 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 23:12:21 +00:00
Koji Sekiguchi ea56fff8f6 SOLR-1926: add hl.q parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1198778 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 15:26:49 +00:00
Erick Erickson 130ec534c5 Fix for SOLR-2829. False-positives on cache hits.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1198024 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 19:20:37 +00:00
Erik Hatcher a668ecf43b Fix spelling typo: s/invarient/invariant
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1197824 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 23:51:52 +00:00
Robert Muir fa6500fa6c LUCENE-3490: restructure codec hierarchy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1197603 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 15:43:35 +00:00
Robert Muir 369a07a196 LUCENE-3557: SpellChecker should take IWC, remove sneaky silent optimize() methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1197469 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 09:54:55 +00:00
Robert Muir 38fa222128 LUCENE-3559: remove IndexSearcher.maxDoc/docFreq
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1197458 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 09:35:15 +00:00
Martijn van Groningen 19765406b6 SOLR-2591: Remove commitLockTimeout option from solrconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1197154 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 14:38:13 +00:00
Mark Robert Miller 4f333721df harden test against slow/busy computers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1196811 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 21:30:52 +00:00
Yonik Seeley d515ff3d9e SOLR-2861: NRT test, debugging improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1196797 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 21:02:17 +00:00
Mark Robert Miller 8125422e60 SOLR-2565: reenable AutoCommitTest but move tests with soft commit to new test class that tests with a better method - likely some hardening tweaks still needed, but a the start of a large improvement.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1196589 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 14:01:26 +00:00
Chris M. Hostetter c28be02238 SOLR-2715: add reason for @Ingore to @Ignore msg
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1196156 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 17:41:13 +00:00
Robert Muir 55ad4c6be1 SOLR-2276: fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1195101 13f79535-47bb-0310-9956-ffa450edef68
2011-10-30 03:13:12 +00:00
Robert Muir d5601eb371 SOLR-2276: Support for cologne phonetic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1195082 13f79535-47bb-0310-9956-ffa450edef68
2011-10-30 01:00:06 +00:00
Yonik Seeley 36962d9a9e SOLR-2861: use searcherLock in getIndexDir
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1190107 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 01:07:47 +00:00
Erik Hatcher ff8796e5ef SOLR-2718: allow for lazy loaded response writers; clean up test hack for VelocityResponseWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1189958 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 19:30:48 +00:00
Erik Hatcher 2126cc24f3 Fix exception message typo and remove duplicate strings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1189719 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 12:31:49 +00:00
Erik Hatcher e939fa9286 SOLR-2854: Load URL content streams when requested rather than automatically
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1189596 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 03:53:20 +00:00
Erik Hatcher 4d09a58fc2 Fix comment typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1189568 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 01:14:47 +00:00
Erik Hatcher 426bc2d0b6 SOLR-2588: Move VelocityResponseWriter back to contrib/velocity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1189383 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 18:59:18 +00:00
Erik Hatcher f56b7495b1 Fix javadoc reference
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1189299 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 16:32:34 +00:00
Yonik Seeley 7b1175c602 SOLR-2846: add json handler to solrconfig, fix /udate/json typo in SolrTestCaseJ4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1189186 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 13:12:15 +00:00
Robert Muir ce4638c34e disable test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1189160 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 12:14:27 +00:00
Robert Muir ef37a027a0 disable test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1188922 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 21:19:55 +00:00
Uwe Schindler 94f98ab7f3 LUCENE-1536: Filters can now be applied down-low, if their DocIdSet implements a new bits() method, returning all documents in a random access way
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1188624 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 12:11:15 +00:00
Ryan McKinley 9e0916333e SOLR-2831: resolve IndexableField in BinaryResponseWriter.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1183178 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 00:34:51 +00:00
Ryan McKinley 212543268b SOLR-2830: apply transformers in RealTimeGetComponent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1183177 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 00:33:54 +00:00
Robert Muir 26bba41a3b make these test files more useful examples
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1182390 13f79535-47bb-0310-9956-ffa450edef68
2011-10-12 14:21:05 +00:00
Michael McCandless 9e027695c8 LUCENE-3502: move .has/getArray into PackedInts.Reader and make the direct impls package private
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1181070 13f79535-47bb-0310-9956-ffa450edef68
2011-10-10 17:00:42 +00:00
Yonik Seeley a2936360e9 remove extra array allocation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1180469 13f79535-47bb-0310-9956-ffa450edef68
2011-10-08 19:19:02 +00:00
Martijn van Groningen 70a7363fdb LUCENE-3483: Move Function grouping collectors from Solr to grouping module.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1179808 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 20:09:36 +00:00
Mark Robert Miller 51886a3bd2 fix variable name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1179697 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 16:36:52 +00:00
Mark Robert Miller 4e3d7395b3 remove unused interface
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1179696 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 16:33:25 +00:00
Jan Høydahl 22dcd39d9e SOLR-2792: Allow case insensitive Hunspell stemming
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1179459 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 22:08:55 +00:00
Mark Robert Miller c1be69731d fix another getStats issue - soft commit was also recently added using time for docs stat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1178632 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 23:22:20 +00:00
Michael McCandless ae43014041 LUCENE-3464: rename IR.reopen -> IR.openIfChanged, and return null (not old reader) if there are no changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1178612 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 22:07:00 +00:00
Robert Muir b4ff06f88e LUCENE-3474: pass Bits to weight.scorer instead of weights pulling their own from the reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177879 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 01:03:35 +00:00
Mark Robert Miller d4b4aefabb SOLR-2799: Update CloudState incrementally rather than always reading the data at each zk node.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177360 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 16:44:24 +00:00
Martijn van Groningen 7cbcf2a2de LUCENE-3468: Replaced last() and remove() with pollLast() in FirstPassGroupingCollector
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177008 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 18:40:22 +00:00
Christopher John Male 8d28270460 LUCENE-3470: Changed Field constructor signatures order to value, fieldtype
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176773 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 08:07:16 +00:00
Christopher John Male 67c13bd2fe LUCENE-3455: Renamed Analyzer.reusableTokenStream to Analyzer.tokenStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176728 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 05:26:54 +00:00
Mark Robert Miller 810f331fa2 ignore expected exception in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176598 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 20:26:10 +00:00
Christopher John Male fe3982c746 LUCENE-3455: Moved remaining Analysis consumers over to using reusableTokenStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176191 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 04:07:38 +00:00
Chris M. Hostetter 9bdaa028d6 SOLR-2757: min/max functions now take unlimited number of arguments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176097 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 22:03:31 +00:00
Mark Robert Miller f5d625821f be careful when shutting down - in some cases in tests we did not yet fully start up
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175862 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 13:31:37 +00:00
Shalin Shekhar Mangar 9ed62f999b SOLR-2791 -- Replication: abortfetch command is broken if replication was started by fetchindex command instead of a regular poll.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175696 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 07:13:44 +00:00
Christopher John Male 0bed3142bb LUCENE-3455: Test Analysis consumers now use reusableTokenStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175670 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 04:58:48 +00:00
Mark Robert Miller c033ca6b10 1 second is too small a timeout for busy/slow comps
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175657 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 04:15:29 +00:00
Mark Robert Miller 68d098fbef it's possible to get an NPE here on shutdown in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175656 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 04:13:38 +00:00
Mark Robert Miller 44b56415a8 relax the timing on these two tests so that tests pass on my setup much more often
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175652 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 03:30:09 +00:00
Mark Robert Miller 4de85b89ff SOLR-2793: Somtimes you must dec ref twice, and add fix to the other submit calls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175651 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 03:28:55 +00:00
Robert Muir e927a69698 LUCENE-3456: use MockTokenizer in analysis tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175650 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 03:24:02 +00:00
Mark Robert Miller 67fe9a6b81 SOLR-2793: Be sure to only dec ref if we inc ref'd
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175646 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 02:13:23 +00:00
Mark Robert Miller 50b31b2a4e SOLR-2793: In rare cases (most likely during shutdown), a SolrIndexSearcher can be left open if the executor rejects a task.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175637 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 00:48:02 +00:00
Robert Muir e7229ee7a4 LUCENE-3456: more use of MockTokenizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175579 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 21:10:50 +00:00
Robert Muir 1e577e15b5 LUCENE-3456: use MockTokenizer instead of WhitespaceTokenizer in test configs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175529 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 19:10:17 +00:00
Uwe Schindler 0a1d2dd8ec Fix Javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175425 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 16:24:41 +00:00
Christopher John Male fdde857f24 SOLR-2769: Fixed bad javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175299 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 05:17:21 +00:00
Christopher John Male 4ff0b2f82c LUCENE-3396: Collapsing Analyzer and ReusableAnalyzerBase together, mandating use of TokenStreamComponents
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175297 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 05:10:25 +00:00
Jan Høydahl 48e53be99a SOLR-2769: Added factory for the new Hunspell stemmer (janhoy, cmale)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175200 13f79535-47bb-0310-9956-ffa450edef68
2011-09-24 17:17:27 +00:00
Christopher John Male 5d4502ad0a LUCENE-2309: Moved to Field.tokenStream(Analyzer)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1174506 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 03:16:37 +00:00
Martijn van Groningen bad428d7f8 SOLR-2780: Fixed issue where multi select facets didn't respect group.truncate parameter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1174072 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 11:36:48 +00:00
Robert Muir 2d5d5226a6 SOLR-2754: add similarity factories for new ranking algorithms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1173776 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 18:20:44 +00:00
Martijn van Groningen d58350aead SOLR-2776: Added support for group.truncate for distributed search. Also added some more jdocs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1173286 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 18:15:23 +00:00
Jan Høydahl 3013098230 SOLR-2763: Extracting update request handler throws exception and returns 400 when zero-length file posted using multipart form post
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1173139 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 13:38:01 +00:00
Steven Rowe 0047a77f83 SOLR-2771: Solr modules' tests should not depend on solr-core test classes; move BufferingRequestProcessor from solr-core tests to test-framework so that the Solr Cell module can use it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1172428 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 05:13:52 +00:00
Christopher John Male ed2c8e97ea Fixed broken javadoc in QueryUtils and QueryCommand
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1172260 13f79535-47bb-0310-9956-ffa450edef68
2011-09-18 11:47:22 +00:00
Martijn van Groningen 96c4bb7074 SOLR-2066: Added support for distributed grouping.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171970 13f79535-47bb-0310-9956-ffa450edef68
2011-09-17 12:48:27 +00:00
Chris M. Hostetter 66db04c901 SOLR-2772: fix silly javadoc error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171739 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 19:18:26 +00:00
Chris M. Hostetter d8f4714da6 SOLR-2772: revert unneccessary 'public static' change to DateField.formatDate
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171704 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 18:25:31 +00:00
Chris M. Hostetter 82b72ac3fe SOLR-2772: Fixed Date parsing/formatting of years 0001-1000
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171691 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 17:42:40 +00:00
Robert Muir 72106bb37b SOLR-2726: Fixed NullPointerException when using spellcheck.q with Suggester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171597 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 14:42:22 +00:00
Robert Muir 28ae5a5763 LUCENE-3436: remove deprecations from trunk / dont use deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171570 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 14:05:46 +00:00
Robert Muir c0965ed3a2 LUCENE-3436: add spellchecker SuggestMode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171556 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 13:41:29 +00:00
Jan Høydahl 90e0977c5a SOLR-2750: Make both "update.chain" and the deprecated "update.param" work consistently everywhere
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171304 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 22:41:18 +00:00
Jan Høydahl 44386401f6 SOLR-2540: Fixing commitWithin tests which timed out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171138 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 15:29:35 +00:00
Steven Rowe a08639d08d SOLR-2758: Moved ConcurrentLRUCache from o.a.s.common.util package in the solrj module to the o.a.s.util package in the Solr core module.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1170699 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 16:00:56 +00:00
Koji Sekiguchi f1efdf5553 SOLR-2749: add boundary scanner feature
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1170616 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 13:38:49 +00:00
Christopher John Male b48164a275 SOLR-2709: Removed need for EDisMax's ExtendedAnalyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1170425 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 03:36:56 +00:00
Robert Muir cfaf91c739 LUCENE-2959: add state of the art ranking to Lucene
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1169470 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 15:47:21 +00:00
Christopher John Male ffb3cbee57 LUCENE-2308: Moved over to using IndexableFieldType interface
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1167668 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 04:07:52 +00:00
Yonik Seeley 7718a32fc5 stats: maxTime->maxDocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1167199 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 14:20:24 +00:00
Robert Muir 20c03511c8 LUCENE-1889: pass the reader to FVH so it can rewrite multitermqueries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1167008 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 05:46:21 +00:00
Yonik Seeley 013e2776b8 SOLR-2748: CommitTracker fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1166866 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 19:27:40 +00:00
Christopher John Male c0f05e7b37 LUCENE-3419: Added epsilons and fixed deprecated junit assertion usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1166582 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 09:24:40 +00:00
Erik Hatcher 80359e0812 SOLR-2703: Added surround query parser support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1166185 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 13:54:19 +00:00
Erik Hatcher 1d56ff5bc3 move comment inside block, appropriately
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1166159 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 13:08:24 +00:00
Christopher John Male 4b44bd7d83 LUCENE-3410: Deprecated multi-int constructors in WordDelimiterFilter. Now uses int bitfield
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1165995 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 04:43:10 +00:00
Yonik Seeley 374538c68d SOLR-2656: doc - licenses + comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1165885 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:47:05 +00:00
Yonik Seeley 1465c3edd4 SOLR-2656, SOLR-2700: transaction logging and realtime-get
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1165869 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:37:32 +00:00
Jan Høydahl ab554500bd SOLR-2540: CommitWithin as an Update Request parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1165754 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 16:27:20 +00:00
Yonik Seeley e8072dd668 SOLR-2714: drop null field values in json update format
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1163370 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 20:46:24 +00:00
Michael McCandless 3ed03b8488 LUCENE-3405: rename IOUtils.close methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1162394 13f79535-47bb-0310-9956-ffa450edef68
2011-08-27 16:25:46 +00:00
Michael McCandless 4dad0ba89f LUCENE-2308: cutover to FieldType
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1162347 13f79535-47bb-0310-9956-ffa450edef68
2011-08-27 13:27:01 +00:00
Mark Robert Miller a05f774573 SOLR-2565: same as the addDoc bug, deletes are not triggering soft commits if hard auto commit by time is also configured
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1161265 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 20:23:57 +00:00
Mark Robert Miller cf4e150ce1 hossman has a better test for this, but for now try and make it a bit more sane
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1161071 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 12:30:04 +00:00
Mark Robert Miller 8f2c67ad67 see what charlie cron thinks of this - charlie is sometimes slow and peculiar, so who knows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1160895 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 21:58:25 +00:00
Mark Robert Miller 1a6f077b9a try and make charlie cron happier with this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1160892 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 21:45:02 +00:00
Christopher John Male 0ef9c3c25f LUCENE-3376: Moved ReusableAnalyzerBase to core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1160117 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 06:01:31 +00:00
Mark Robert Miller cd84fe0366 try and make charlie cron happier with this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1160078 13f79535-47bb-0310-9956-ffa450edef68
2011-08-21 22:48:44 +00:00
Mark Robert Miller 5e45cf89eb SOLR-2331: fix too many close on SolrCore test issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159921 13f79535-47bb-0310-9956-ffa450edef68
2011-08-20 21:58:14 +00:00
Mark Robert Miller a4ec6c4177 try to harden this test more
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159649 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 14:38:50 +00:00
Chris M. Hostetter e7e46f60ce eliminate useless javadoc tags breaking the build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159495 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 03:37:47 +00:00
Mark Robert Miller f932976e99 harden test some
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159481 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 02:19:26 +00:00
Mark Robert Miller a8949dce07 SOLR-2565: Fix bug - soft commit should not try and respect commitWithin. Also, since it drives me nuts, make CommitTracker more thread safe than it was.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159472 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 01:48:31 +00:00
Uwe Schindler 236fb6d96c SOLR-2565: Revert the commit that caused the slowness in some tests until we have a reason and solution for this
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159448 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 23:43:06 +00:00
Chris M. Hostetter 75d3e1e37d SOLR-2675: CoreAdminHandler now allows arbitrary properties to be specified when CREATEing a new SolrCore using property.* request params
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159418 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 21:13:56 +00:00
Mark Robert Miller 7354f8d9e8 SOLR-2654: Directorys used by a SolrCore are now closed when they are no longer used.
SOLR-2654: The same Directory instance is now always used across a SolrCore so that
it's easier to add other DirectoryFactory's without static caching hacks.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159378 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 19:46:30 +00:00
Ryan McKinley 4bf2a3ab2b SOLR-2657: adding some more comments and caching glob calculations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1157692 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 01:02:18 +00:00
Ryan McKinley e290f25420 SOLR-2700: supporting score==*,score
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1157687 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 00:42:42 +00:00
Mark Robert Miller e3e644b28d SOLR-2565: Stop trying to avoid soft/hard commit together for now - it's more complicated than this - also allow name for CommitTracker.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1157425 13f79535-47bb-0310-9956-ffa450edef68
2011-08-13 21:06:01 +00:00
Yonik Seeley baf2b785af tests: don't compare response header
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1156597 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 12:37:02 +00:00
Mark Robert Miller 9d3eb8755b SOLR-2705: Add extra test check suggested by Yury
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1156441 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 02:00:11 +00:00
Mark Robert Miller adab6ebc59 SOLR-2705: Improve fix - refactor SolrCore out of DefaultIndexProvider and into it's methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1156333 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 19:37:13 +00:00
Mark Robert Miller 6dcc59e10c SOLR-2705: On reload, IndexWriterProvider holds onto the initial SolrCore it was created with.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1156303 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 18:34:45 +00:00
Mark Robert Miller 9c1d10c4e9 defense against NPE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1156201 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 14:49:03 +00:00
Yonik Seeley 25e1cf93dc SOLR-2565: fix update handler reopen race
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1155964 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 22:59:30 +00:00
Simon Willnauer 78d186e081 LUCENE-3348: IndexWriter applies wrong deletes during concurrent flush-all
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1155278 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 09:22:15 +00:00
Mark Robert Miller fda091ef24 SOLR-2698: Enhance CoreAdmin STATUS command to return index size.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1155194 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 02:40:52 +00:00
Robert Muir ef56f5d551 LUCENE-3361: port url+email tokenizer to standardtokenizerinterface, fix combining marks bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1154936 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 11:57:59 +00:00
Robert Muir 718f42479f SOLR-2688: switch solr 4.0 example to DirectSpellChecker
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1154935 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 11:55:03 +00:00
Martijn van Groningen 0bc43983c4 SOLR-2665: Added post group faceting.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1154676 13f79535-47bb-0310-9956-ffa450edef68
2011-08-07 09:02:33 +00:00
Mark Robert Miller ca05564005 SOLR-2697: commit and autocommit operations don't reset DirectUpdateHandler2.numDocsPending stats attribute.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1153893 13f79535-47bb-0310-9956-ffa450edef68
2011-08-04 14:43:40 +00:00
Mark Robert Miller 40b3f06f9d SOLR-2331,SOLR-2691: Refactor CoreContainer's SolrXML serialization code and improve testing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1153564 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 16:18:17 +00:00
Erik Hatcher 89bceaaaf0 SOLR-1032: add literal.field_name=val support to CSV update handler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1153166 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 15:33:52 +00:00
Chris M. Hostetter 47269b003f SOLR-2684: fix bug in BinaryResponseWriter introduced by SOLR-1566
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1152885 13f79535-47bb-0310-9956-ffa450edef68
2011-08-01 18:21:14 +00:00
Chris M. Hostetter 2b7362de2b SOLR-2606: Fixed sort parsing of fields containing punctuation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1152653 13f79535-47bb-0310-9956-ffa450edef68
2011-07-31 22:08:43 +00:00
Koji Sekiguchi 9fd0af75ff SOLR-2682: remove it from distributed code also
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1152530 13f79535-47bb-0310-9956-ffa450edef68
2011-07-31 00:30:19 +00:00
Yonik Seeley b2e6d30243 clean up comments and unnecessary inits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1152506 13f79535-47bb-0310-9956-ffa450edef68
2011-07-30 20:13:59 +00:00
Yonik Seeley 135d89c4bd SOLR-2685: always use SolrInputDocument in update chain, change from String to BytesRef
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1152500 13f79535-47bb-0310-9956-ffa450edef68
2011-07-30 19:18:09 +00:00
Koji Sekiguchi 13347bd3bc SOLR-2682: remove addException() from SimpleFacet
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1152456 13f79535-47bb-0310-9956-ffa450edef68
2011-07-30 11:35:55 +00:00
Michael McCandless 30b663ff3a LUCENE-3348: silence this test for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1151999 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 20:54:15 +00:00
Steven Rowe 23d22e4d47 LUCENE-3337: avoid building jar files unless necessary in build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1151720 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 04:02:09 +00:00
Yonik Seeley 986b7dc101 tests: add tombstones to NRT stress
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1151619 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 20:33:34 +00:00
Yonik Seeley 82a78ab306 tests: fix reopen race
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1151601 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 19:37:09 +00:00
Yonik Seeley cca29c44c2 tests: write a lucene version of the NRT stress test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1151526 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 16:27:40 +00:00
Chris M. Hostetter d89cc54c7a SOLR-2671: push SchemaField.indexOptions() logic down into FieldType to reduce exposure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150840 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 18:45:09 +00:00
Yonik Seeley 7964cb97b1 tests: don't allow updating same id concurrently
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150744 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 15:15:20 +00:00
Uwe Schindler c2df0c51b6 Improve test. All exceptions get logged in all cases by LTC.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150718 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 14:26:01 +00:00
Uwe Schindler bbcb5a940e Fix broken multithreading in this tests (the object to synchronize on was the anonymous inner class not the main class)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150621 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 10:36:42 +00:00
Martijn van Groningen 3c6021d967 Deleted duplicate version SentinelIntSet. SentinelIntSet now exists in grouping module.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150497 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 21:53:04 +00:00
Chris M. Hostetter 7c1a58f72d SOLR-2669: Fix backwards validation logic in SchemaField.calcProps
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150478 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 20:09:43 +00:00
Robert Muir 7a3ef099b3 SOLR-2673: clear index in setup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150415 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 15:36:01 +00:00
Robert Muir 870a4ce9f9 SOLR-2673: fix test dependent on order
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150404 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 15:19:49 +00:00
Robert Muir 347ba7a172 SOLR-2673: fix test dependent on order
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150394 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 15:05:08 +00:00
Robert Muir 19831e2208 SOLR-2673: clear index in setUp
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150389 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 14:51:11 +00:00
Uwe Schindler 9558bfe674 SOLR-2672, SOLR-2673: Fix a bunch of tests to no longer depend on order
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150362 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 13:44:04 +00:00
Yonik Seeley f8dd8a6ce3 SOLR-2662: fix 'start' handling when a query isn't cached
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1149746 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 22:03:54 +00:00
Yonik Seeley 2ff9fa27e7 SOLR-2670: add NIOFSDirectoryFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1149740 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 21:14:24 +00:00
Yonik Seeley 74e3b8b304 tests: remove bad import
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1149677 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 18:08:55 +00:00
Yonik Seeley bb00836511 tests: fix race in committed model
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1149668 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 17:51:17 +00:00
Yonik Seeley dcaca50a86 tests: make TestHarness thread safe and add multi-threaded random add/commit/get test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1149437 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 02:47:29 +00:00
Koji Sekiguchi 1464513f34 SOLR-2584: add UniqFieldsUpdateProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1149050 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 07:09:27 +00:00
Koji Sekiguchi 857ec84c15 SOLR-2429: fix for highlighting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1149028 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 03:49:03 +00:00
Shalin Shekhar Mangar 5c3b3bb0ce SOLR-2623 -- Fixed (and simplified) test to compare registered mbeans with info registry size.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1148681 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 10:11:59 +00:00
Chris M. Hostetter bb81de7e7a SOLR-2663: refactor (public) FieldTypePluginLoader out of IndexSchema
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1148494 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 19:25:01 +00:00
Ryan McKinley cfcaf7e2bd removing some left over debug info (i assume)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1147989 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 18:03:42 +00:00
Robert Muir 07bfe50eda LUCENE-3326: MoreLikeThis reuses a reader after it has already closed it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1147881 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 13:56:49 +00:00
Chris M. Hostetter 2811c79bdb SOLR-2545: fix ExternalFileField / FileFloatSource so it can properly parse key=val pairs when the key contains an '=' char
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1147284 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 19:14:01 +00:00
Mark Robert Miller c899fe0dc0 SOLR-2651: use the right relative path
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1147163 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 14:29:19 +00:00
Mark Robert Miller d0c71f9702 SOLR-2651: The new SolrCore#reload method does not create a ZkSolrResourceLoader in ZooKeeper mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1146905 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 21:43:07 +00:00