Commit Graph

1985 Commits

Author SHA1 Message Date
Chris M. Hostetter 03c9371830 SOLR-4128: test proving this works now (apperas to have been fixed in SOLR-4036)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1464802 13f79535-47bb-0310-9956-ffa450edef68
2013-04-05 00:55:34 +00:00
Adrien Grand 9588a84dec LUCENE-4874: Don't override non abstract methods that have an impl through
other abstract methods in FilterAtomicReader and related classes.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1464710 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 19:48:45 +00:00
Robert Muir e78fd1cec9 LUCENE-4905: make maxPassages per-field in postingshighlighter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1464685 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 19:20:18 +00:00
Mark Robert Miller 68a1ca91c5 SOLR-4664: ZkStateReader should update aliases on construction.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1464020 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 13:58:10 +00:00
Dawid Weiss 160cec5c95 SOLR-4653: Solr configuration should log inaccessible/ non-existent relative paths in lib dir=...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463836 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 06:40:59 +00:00
Uwe Schindler e529be4006 SOLR-4652: Fix broken behavior with shared libraries in resource loader for solr.xml plugins.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463794 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 23:44:45 +00:00
Erick Erickson aefecd26a4 SOLR-4656, additional parameters for limiting work when highlighting multivalued fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463543 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 13:44:58 +00:00
Steven Rowe 6de43dea0a LUCENE-4877: more param parsing verbs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463335 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 23:45:33 +00:00
Erick Erickson 932923ee4b Fix for SOLR-4615, pull solr.properties out prior to deciding on the new mechanism
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463316 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 22:04:32 +00:00
Chris M. Hostetter 3d184a2452 SOLR-4622: deprecate hardcoded hostContext and hostPort defaults
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463242 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 18:27:50 +00:00
James Dyer 54f8c01026 SOLR-3758: SpellCheckComponent to work properly with distributed grouping
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463219 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 17:43:27 +00:00
Robert Muir 29b5142e79 LUCENE-4877: throw exception for invalid arguments in analysis factories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463191 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 16:30:00 +00:00
Steven Rowe b1e4ba6843 SOLR-4658: In preparation for REST API requests that can modify the schema, a "managed schema" is introduced.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463182 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 16:16:03 +00:00
Robert Muir 48a28acbfd LUCENE-4861: make BreakIterator per-field in PostingsHighlighter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463083 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 04:39:49 +00:00
Erick Erickson 42b081cd5c SOLR-4657, core left open during stress tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463068 13f79535-47bb-0310-9956-ffa450edef68
2013-03-31 23:31:08 +00:00
Adrien Grand 1f964c5764 LUCENE-4876: Deeply clone IndexWriterConfigs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462656 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 21:56:46 +00:00
Steven Rowe 11068128d1 SOLR-4650: make BadCopyFieldTest extend AbstractBadConfigTestBase, which handles exceptions properly and deletes the core init'd to test config
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462522 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 16:18:22 +00:00
Robert Muir abea806409 SOLR-4641: Schema should throw exceptoin on illegal field parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462502 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 15:46:58 +00:00
Erick Erickson a6e3ba52c0 SOLR-4549 - Hardening tests after SOLR-4196
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462495 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 14:55:07 +00:00
Steven Rowe 167a4b84c3 SOLR-4650: copyField doesn't work with source globs that don't match any explicit or dynamic fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462396 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 04:33:34 +00:00
Chris M. Hostetter 1ad382f304 SOLR-3956: Fixed group.facet=true to work with negative facet.limit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462227 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 17:37:23 +00:00
Mark Robert Miller 175b33d5c7 SOLR-3706: remove log dependencies from core, exclude example log jars from test classpath, add versions to example log jars
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462145 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 15:14:29 +00:00
Mark Robert Miller 612b179d09 SOLR-3706: Ship setup to log with log4j.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461587 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 14:09:38 +00:00
Steven Rowe ad9a5b91e0 SOLR-4623: Fix classname shortening:
- Rename FieldType.normalizeSPIname() to getShortName()
- Stop shortening analyzer classnames
- Stop outputting analyzer classname from FieldType.getAnalyzerProperties() when the analyzer is TokenizerChain 
- In FieldType.getShortName(), tighten the set of package prefixes that will be shortened to 'org.apache.lucene.analysis.(whatever)', 'org.apache.solr.analysis.', and 'org.apache.solr.schema.'

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461418 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 05:30:26 +00:00
Steven Rowe 77e9e58300 SOLR-4623: When serializing similarity factories, don't reduce class names of Similarity's wrapped with the anonymous factory to 'solr.<SimpleClassName>'; also, only reduce the class name of sim factories located in the org.apache.solr.search.similarities package, rather than that of any sim factory under packages org.apache.lucene.** and org.apache.solr.**
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461378 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 23:51:17 +00:00
Mark Robert Miller 2b6e3dd7ad SOLR-4644: try passing test.distrib.skip.servers on - if we hit a replica, we want it passed to the leader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460980 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 06:01:44 +00:00
Mark Robert Miller b4e22c267d SOLR-4642: QueryResultKey is not calculating the correct hashCode for filters.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460803 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 18:16:14 +00:00
Mark Robert Miller d1cbd22a65 tests: a little more debug logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460761 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 16:55:57 +00:00
Steven Rowe 5c7ca6aa48 SOLR-4623: Provide REST API read access to all elements of the live schema. Add a REST API request to return the entire live schema, in JSON, XML, and schema.xml formats. Move REST API methods from package org.apache.solr.rest to org.apache.solr.rest.schema, and rename base functionality REST API classes to remove the current schema focus, to prepare for other non-schema REST APIs. Change output path for copyFields and dynamicFields from "copyfields" and "dynamicfields" (all lowercase) to "copyFields" and "dynamicFields", respectively, to align with all other schema REST API outputs, which use camelCase.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460519 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 04:29:33 +00:00
Mark Robert Miller a7a799c403 SOLR-4640: CachingDirectoryFactory can fail to close directories in some race conditions.
SOLR-4637: Replication can sometimes wait until shutdown or core unload until removing some tmp directories.
SOLR-4638: DefaultSolrCoreState#getIndexWriter(null) is a way to avoid creating the IndexWriter earlier than necessary, but it's not implemented quite right.
SOLR-4597: fixes, improvements
SOLR-4629: Stronger testing.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460510 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 02:34:42 +00:00
Yonik Seeley aba19484b9 SOLR-3819: make grouped faceting respect filter exclusions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460141 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 13:36:15 +00:00
Mark Robert Miller a8537b0323 remove cruft
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460077 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 02:40:41 +00:00
Mark Robert Miller f7cdbe2fc6 remove cruft
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460076 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 02:40:12 +00:00
Mark Robert Miller 9bfed46053 SOLR-4636: If opening a reader fails for some reason when opening a SolrIndexSearcher, a Directory can be left unreleased.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460071 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 01:32:02 +00:00
Uwe Schindler bf368745b9 SOLR-4634: Fix scripting engine tests to work with Java 8's "Nashorn" Javascript implementation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460069 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 00:53:25 +00:00
Mark Robert Miller 3cc1919645 tests: harden
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459846 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 15:31:51 +00:00
Michael McCandless 0e830fbae4 LUCENE-4860: per-field control over scoring and formatting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459816 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 14:50:11 +00:00
Mark Robert Miller 3a8318ccd1 simplify
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459646 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 06:55:01 +00:00
Mark Robert Miller be4edb9ca4 tests: make test a little nastier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459638 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 05:34:34 +00:00
Mark Robert Miller efe78df1e8 tests: raise timeout from 15 to 30
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459624 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 04:39:25 +00:00
Mark Robert Miller 39f1b02fd2 SOLR-4629: More Replication testing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459618 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 04:07:17 +00:00
Mark Robert Miller 324806c7b1 tests: improve logging around sync slice test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459616 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 03:39:27 +00:00
Mark Robert Miller 3dab717eaf tests: raise fudge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459611 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 02:10:33 +00:00
Mark Robert Miller a5fd71f0ee tests: try waiting for collection first
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459596 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 00:05:37 +00:00
Mark Robert Miller f6fa8c215d SOLR-4624: remove leftover forceNew params.
SOLR-4626: getIndexWriter(null) should also respect pauseWriter.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459570 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 23:03:21 +00:00
Mark Robert Miller 5b3cdaca44 SOLR-4624: CachingDirectoryFactory does not need to support forceNew any longer and it appears to be causing a missing close directory bug. forceNew is no longer respected and will be removed in 4.3.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459565 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 22:44:14 +00:00
Yonik Seeley 7584c40c7a SOLR-4625: fix boosts and phrase slops on sub parsers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459537 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 21:31:19 +00:00
Yonik Seeley 27f5cd5fb8 SOLR-4608: use default update processor chain during log replay and peersync
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459424 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 17:56:31 +00:00
Michael McCandless 9946aeffb0 LUCENE-4856: If there are no matches for a given field, return the first maxPassages sentences
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458889 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 15:36:14 +00:00
Chris M. Hostetter ad81236c7d SOLR-4589: Fixed CPU spikes and poor performance in lazy field loading of multivalued fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458887 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 15:33:55 +00:00
Mark Robert Miller a26e0dd616 SOLR-4617: SolrCore#reload needs to pass the deletion policy to the next SolrCore through it's constructor rather than setting a field after.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458880 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 15:18:19 +00:00
Mark Robert Miller 40456eb8e2 tests: a bit more testing on proxy request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458602 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 01:27:21 +00:00
Michael McCandless dfaddf1aa8 LUCENE-4853: PostingsHighlighter: add method that takes int[] docIDs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1458014 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 21:29:26 +00:00
Mark Robert Miller 12c2d46446 SOLR-4609: The Collections API should only send the reload command to ACTIVE cores.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457864 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 17:03:42 +00:00
Robert Muir 1e656d42c5 SOLR-4606: set the random seed used to shuffle shards within tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457821 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 15:40:41 +00:00
Mark Robert Miller dfc1718c4c SOLR-4597: Because of Windows, we have to wait to delete the data dir after the SolrCore is closed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457816 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 15:36:40 +00:00
Robert Muir edc777e22e SOLR-4607: use noggit 0.5 release jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457811 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 15:28:35 +00:00
Mark Robert Miller d5bcb41586 SOLR-4605: Rollback does not work correctly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457784 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 14:52:49 +00:00
Robert Muir c04a4a5c96 SOLR-4544: Refactor HttpShardHandlerFactory so load-balancing logic can be customized
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457754 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 13:21:41 +00:00
Uwe Schindler 9a54942863 LUCENE-4747: Fix nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457747 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 13:07:24 +00:00
Uwe Schindler 6231597974 LUCENE-4747: Move to Java 7 in trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457734 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 12:28:52 +00:00
Mark Robert Miller 0756041335 SOLR-4604: remove previous init code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457648 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 05:31:29 +00:00
Mark Robert Miller 5f618b8000 SOLR-4604: UpdateLog#init is over called on SolrCore#reload
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457646 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 05:27:15 +00:00
Mark Robert Miller f33c2917e3 SOLR-4604: SolrCore is not using the UpdateHandler that is passed to it in SolrCore#reload.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457640 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 04:49:48 +00:00
Mark Robert Miller 5aca9b9dab SOLR-4603: CachingDirectoryFactory should use an IdentityHashMap for byDirectoryCache.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457638 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 04:38:12 +00:00
Mark Robert Miller d2275c3145 SOLR-4601: clean up test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457591 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 23:31:07 +00:00
Mark Robert Miller c12d7e22f1 SOLR-4601: A Collection that is only partially created and then deleted will leave pre allocated shard information in ZooKeeper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457585 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 23:18:02 +00:00
Mark Robert Miller 720ded1e46 SOLR-4602: ZkController#unregister should cancel it's election participation before asking the Overseer to delete the SolrCore information.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457584 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 23:16:59 +00:00
Mark Robert Miller 2d406a50b2 SOLR-4597: Additional work.
SOLR-4598: The Core Admin unload command's option 'deleteDataDir', should use the DirectoryFactory API to remove the data dir. 

SOLR-4599: CachingDirectoryFactory calls close(Directory) on forceNew if the Directory has a refCnt of 0, but it should call closeDirectory(CacheValueValue).

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457556 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 20:41:17 +00:00
Mark Robert Miller 025e30b992 SOLR-4597: CachingDirectoryFactory#remove should not attempt to empty/remove the index right away but flag for removal after close.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457494 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 17:36:59 +00:00
Mark Robert Miller 0dece6b609 SOLR-4555: improve solution
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457475 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 16:11:15 +00:00
Mark Robert Miller 20cb1cdca9 tests: higher timeout, more specific fail msg, remove unused import
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457455 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 14:35:59 +00:00
Mark Robert Miller 2549f2e1ef SOLR-4596: DistributedQueue should ensure its full path exists in the constructor.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457310 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 21:17:10 +00:00
Mark Robert Miller 826ab5a532 SOLR-4594: StandardDirectoryFactory#remove accesses byDirectoryCache without a lock
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457293 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 19:02:19 +00:00
Mark Robert Miller c216ff7d82 SOLR-4595: CachingDirectoryFactory#close can throw a concurrent modification exception.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457292 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 19:01:11 +00:00
Mark Robert Miller 13c5526d07 SOLR-4573: Accessing Admin UI files in SolrCloud mode logs warnings.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457281 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 17:53:31 +00:00
Mark Robert Miller 87a6c98b7c SOLR-4592: DefaultSolrCoreState#doRecovery needs to check the CoreContainer shutdown flag inside the recoveryLock sync block.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457199 13f79535-47bb-0310-9956-ffa450edef68
2013-03-16 04:06:05 +00:00
Mark Robert Miller 243db2c376 tests: more logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457146 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 22:09:49 +00:00
Mark Robert Miller 0d191235dc tests: use filesystem dir until I figure out why ephemerals dirs are having trouble
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457134 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 21:40:01 +00:00
Mark Robert Miller 596616b469 don't use package as var name - the police will be all over that
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457132 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 21:33:36 +00:00
Stefan Matheis 5b6b0776ef SOLR-4311: Admin UI - Optimize Caching Behaviour
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457099 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 20:36:01 +00:00
Erick Erickson 05c544ec19 SOLR-4318 NPE when doing a wildcard query on a TextField with the default analysis chain
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457032 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 17:40:16 +00:00
Mark Robert Miller 62fd532bae SOLR-4585: The Collections API validates numShards with < 0 but should use <= 0.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456979 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 15:03:02 +00:00
Steven Rowe 67083534ff LUCENE-4642:
* TokenizerFactory.create(Reader) is made final, and calls the AttributeFactory-accepting version with AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY
* TokenizerFactory.create(AttributeFactory, Reader) is made abstract
* Added AttributeFactory-accepting constructors to all Tokenizer's with existing TokenizerFactory subclasses that didn't already have them
* Removed create(Reader) from all TokenizerFactory subclasses

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456768 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 04:41:50 +00:00
Mark Robert Miller 841d757232 SOLR-4570: Even if an explicit shard id is used, ZkController#preRegister should still wait to see the shard id in it's current ClusterState.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456731 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 00:31:55 +00:00
Mark Robert Miller b6719269fa SOLR-4568: The lastPublished state check before becoming a leader is not working correctly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456723 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 23:44:21 +00:00
Mark Robert Miller a9fd4c7a3f SOLR-4574: The Collections API will silently return success on an unknown ACTION parameter.
SOLR-4576: Collections API validation errors should cause an exception on clients and otherwise act as validation errors with the Core Admin API.
SOLR-4577: The collections API should return responses (success or failure) for each node it attempts to work with. 

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456683 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 21:01:00 +00:00
Robert Muir 2c64eb9019 LUCENE-4607: add DISI/Spans.cost
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456670 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 20:48:23 +00:00
Erick Erickson d7a71a3a29 Fixed silly sensitivity to file separators (Windows/Unix). Bah.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456659 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 20:37:38 +00:00
Robert Muir 53fd6a8919 LUCENE-4827: expose bm25 parameters in PassageScorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456597 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 18:25:18 +00:00
Mark Robert Miller 3943f0f8c4 SOLR-4578: CoreAdminHandler#handleCreateAction gets a SolrCore and does not close it in SolrCloud mode when a core with the same name already exists.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456596 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 18:25:10 +00:00
Erick Erickson 55cb4b443f Fix for SOLR-4575, solr.core.* no longer respected when evaluating config files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456468 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 15:11:51 +00:00
Erick Erickson 89a08a3b31 Fix for SOLR-4543, setting shardHandlerFactory in solr.xml/solr.properties does not work
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456433 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 13:47:35 +00:00
Shalin Shekhar Mangar 8f92803353 SOLR-4297: Atomic update request containing null=true sets all subsequent fields to null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456322 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 04:56:45 +00:00
Steven Rowe 37e0f23758 SOLR-4567: Beef up copyField tests, and assert schema conforms to test assumptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456288 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 00:11:06 +00:00
Mark Robert Miller c04f1ba800 SOLR-4566: revert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455943 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 14:00:32 +00:00
Mark Robert Miller ccb85cd5cd SOLR-4566: Fix DocCollection to return all shards not just active shards.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455911 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 12:45:22 +00:00
Mark Robert Miller fd1e30a471 change runtime exception to service unavailable solrexception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455904 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 12:28:39 +00:00
Robert Muir c64b374f96 use test-framework seed for randomness and dont share across threads
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455899 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 12:13:08 +00:00
Steven Rowe 651a15492b SOLR-4567: copyField source glob matching explicit field(s) stopped working in Solr 4.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455832 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 08:01:50 +00:00
Mark Robert Miller ba800da0e6 logging: this should not be warn anymore - changing to debug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455753 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 23:29:28 +00:00
Steven Rowe 092545884e LUCENE-4642: Add create(AttributeFactory) to TokenizerFactory and subclasses with ctors taking AttributeFactory, and remove Tokenizer's and subclasses' ctors taking AttributeSource.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455670 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 19:04:06 +00:00
Erick Erickson 22401bab04 Fix for SOLR-4557, fixes for reload testing. Also made a series of changes to make reloading cores more robust
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455606 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 16:42:26 +00:00
Robert Muir b25cc528d9 LUCENE-4819: move Sorted(set)DocValuesTermsEnum to codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455391 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 02:17:27 +00:00
Chris M. Hostetter a5c4101d9b SOLR-4538: Date Math expressions were being truncated to 32 characters when used in field:value queries in the lucene QParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455269 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 18:14:24 +00:00
Erick Erickson f5b524f434 fix for SOLR-4317, don't requre 'collection1' in test harness. Thanks Tricia.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455196 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 15:46:52 +00:00
Robert Muir 1600711a61 LUCENE-4819: revert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454996 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 04:40:47 +00:00
Mark Robert Miller 5ea281a9d6 SOLR-4555: When forceNew is used with CachingDirectoryFactory#get, the old CachValue should have it's path set to null.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454993 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 04:20:14 +00:00
Robert Muir dd0855c4fe LUCENE-4819: move Sorted(set)DocValuesTermsEnum to codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454968 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 00:59:10 +00:00
Mark Robert Miller a0ef70931c SOLR-4554: There are some test fails because of a wait loop that causes lingering threads.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454932 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 22:19:48 +00:00
Mark Robert Miller a60156aae3 tests: this timeout needs to be even higher for apache freebsd, and this test currently requires 4 shards because I have seen shard1 get one node and shard2 get two
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454926 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 21:37:52 +00:00
Mark Robert Miller cea9a4e66b SOLR-4553: attempt to harden #testNodeWithoutCollectionForwarding
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454921 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 21:14:24 +00:00
Mark Robert Miller 3da40d53df SOLR-4550: Create a stress test for CachingDirectoryFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454918 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 20:56:49 +00:00
Mark Robert Miller 2fa013d7df SOLR-4475: Fix various places that still assume File based paths even when not using a file based DirectoryFactory.
SOLR-4551: CachingDirectoryFactory needs to create CacheEntry's with the fullpath not path.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454913 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 20:14:31 +00:00
Mark Robert Miller 5b85ec9eb1 tests: raise timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454868 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 16:04:45 +00:00
Mark Robert Miller ff13a11930 tests: a bit more fudge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454761 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 20:41:16 +00:00
Steven Rowe 14c9f28f57 SOLR-4537: Clean up schema information REST API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454141 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 22:41:18 +00:00
Erick Erickson 62dcc4274a Fixed overly-sensitive failures.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453965 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 17:15:27 +00:00
Mark Robert Miller 09f4fa2191 SOLR-4497: Collection Aliasing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453687 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 05:52:23 +00:00
Chris M. Hostetter 2d0001942e SOLR-4200: Reduce INFO level logging from CachingDirectoryFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453560 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 21:07:35 +00:00
Chris M. Hostetter d5d1603116 more docs about how NOW and TZ params affect DateMathParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453507 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 19:35:04 +00:00
Erick Erickson 09bf66350b Took out extra tracking info, problems doesn't seem to be recurring
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453461 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 18:12:40 +00:00
Steven Rowe 4618a5a0fe SOLR-4503: Add REST API methods to get schema information: fields, dynamicFields, fieldTypes, and copyFields. Restlet 2.1.1 is integrated and is used to service these requests.
Also fixes bugs in dynamic copyField logic described in SOLR-3798.
Also fixes a bug with proxied SolrCloud requests (SOLR-4210) when using the GET method.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453161 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 04:50:33 +00:00
Chris M. Hostetter f607a0caaa SOLR-2677: test case verifying no false negative errors reported
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453148 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 02:41:47 +00:00
Chris M. Hostetter 7347761737 SOLR-4524: test proving this works
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452612 13f79535-47bb-0310-9956-ffa450edef68
2013-03-05 01:03:06 +00:00
Chris M. Hostetter be7f8b5144 SOLR-4138: doc typos
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452508 13f79535-47bb-0310-9956-ffa450edef68
2013-03-04 20:51:15 +00:00
Chris M. Hostetter a28589d2c3 SOLR-4138: CurrencyField fields can now be used in a ValueSources. There is also a new currency(field,[CODE]) function
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452483 13f79535-47bb-0310-9956-ffa450edef68
2013-03-04 20:25:37 +00:00
Erick Erickson 410156fa8f Trying to log more info to track down test failures. Ephemeral change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452334 13f79535-47bb-0310-9956-ffa450edef68
2013-03-04 14:43:54 +00:00
Erick Erickson 372a592f90 SOLR-4525, another place where I missed closing the stream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452321 13f79535-47bb-0310-9956-ffa450edef68
2013-03-04 14:20:39 +00:00
Uwe Schindler 326531d820 SOLR-4525: Fix remaining issues with windows and not-closed files. Test is now passing. The problem here: The old code that used XML files did not need to close the streams, because XML parsers generally do it (for no good reason)...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452146 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 22:28:25 +00:00
Uwe Schindler 6ba62cd0a2 SOLR-4525: Fix more leaks with open files on properties load/store
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452143 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 22:17:01 +00:00
Uwe Schindler 716f10c0c1 SOLR-4525: Fix forbidden-apis violation. Java Properties are defined to be binary not character based. The format is using a binary protocol to write them (see javadocs).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452136 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 21:56:43 +00:00
Erick Erickson 6e94771693 Part of SOLR-4525. Need to close some file streams in the test case.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452115 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 19:51:12 +00:00
Mark Robert Miller 61eca4446b tests: speed test up a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452113 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 19:42:31 +00:00
Mark Robert Miller 888f626b40 change log level to info - this is not a severe event
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452090 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 18:29:54 +00:00
Mark Robert Miller ffc06b1a16 SOLR-4210: More efficient stream copying
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452069 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 17:30:05 +00:00
Erick Erickson 2e7651f407 SOLR-4525 Adding some verbosity to the test b/c it fails in some environments, how often I don't quite know.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1452048 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 14:57:07 +00:00
Erick Erickson ac389d7f07 SOLR-4401 adding rapidly opening/closing cores to unit tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451997 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 03:15:41 +00:00
Mark Robert Miller 43f384e57f SOLR-4210: Fix it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451987 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 01:29:48 +00:00
Robert Muir fa0094035d SOLR-4523: Show if fields have docvalues or highlighting offsets in admin UI
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451970 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 01:04:47 +00:00
Chris M. Hostetter 16b8796a25 SOLR-4518: Improved CurrencyField error messages when attempting to use a Currency that is not supported by the current JVM
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451931 13f79535-47bb-0310-9956-ffa450edef68
2013-03-02 20:10:03 +00:00
Yonik Seeley 73a0270ad8 SOLR-2996: treat un-fielded * as *:*
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451906 13f79535-47bb-0310-9956-ffa450edef68
2013-03-02 17:18:43 +00:00
Chris M. Hostetter 89c7a3a6eb SOLR-4515: more typos that documentation-lint aparently didn't catch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451841 13f79535-47bb-0310-9956-ffa450edef68
2013-03-02 06:39:39 +00:00
Chris M. Hostetter 926a9d863a SOLR-4515: typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451838 13f79535-47bb-0310-9956-ffa450edef68
2013-03-02 06:35:35 +00:00
Chris M. Hostetter daa66dd5d0 SOLR-4515: CurrencyField's OpenExchangeRatesOrgProvider now requires a ratesFileLocation init param, since the previous global default no longer works
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451818 13f79535-47bb-0310-9956-ffa450edef68
2013-03-02 01:52:03 +00:00
Erick Erickson aa22ceb97d SOLR-4196, steps toward making solr.xml obsolete
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451797 13f79535-47bb-0310-9956-ffa450edef68
2013-03-02 01:01:12 +00:00
Chris M. Hostetter 05cc3a4706 SOLR-4458: Sort directions (asc, desc) are now case insensitive
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451765 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 23:17:37 +00:00
Chris M. Hostetter 88931a58a0 SOLR-4514: better tests for CurrencyField using OpenExchangeRatesOrgProvider
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451691 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 19:24:23 +00:00
Mark Robert Miller 3a9683d7ac SOLR-4521: Stop using the 'force' option for recovery replication. This will keep some less common unnecessary replications from happening.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451660 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 17:40:34 +00:00
Mark Robert Miller 3ce9b7d1ac SOLR-4511: When a new index is replicated into place, we need to update the most recent replicatable index point without doing a commit. This is important for repeater use cases, as well as when nodes may switch master/slave roles.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451659 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 17:37:30 +00:00
Mark Robert Miller 709824acf8 SOLR-4505: Possible deadlock around SolrCoreState update lock.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451653 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 17:24:47 +00:00
Robert Muir 6e14a97ccf SOLR-4517: make FieldType.properties protected for subclassing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451521 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 08:32:40 +00:00
Mark Robert Miller b3c8da0e99 cache=false for proxy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451454 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 01:50:42 +00:00
Mark Robert Miller 7f9f3c5105 tests: add test that hits update url
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451370 13f79535-47bb-0310-9956-ffa450edef68
2013-02-28 21:47:39 +00:00
Mark Robert Miller f5e2e50c7f tests: speed up test a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451322 13f79535-47bb-0310-9956-ffa450edef68
2013-02-28 20:04:20 +00:00
Mark Robert Miller 633eac1cd7 SOLR-4513: We can speed up the Unload Collections API test quite a bit by not loading any cores on startup.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451228 13f79535-47bb-0310-9956-ffa450edef68
2013-02-28 15:17:23 +00:00
Mark Robert Miller 99b77c04aa SOLR-4513: We can speed up the Collections API test quite a bit by not loading any cores on startup.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451214 13f79535-47bb-0310-9956-ffa450edef68
2013-02-28 14:30:30 +00:00
Mark Robert Miller aeb50e2050 SOLR-4507: The Cloud tab does not show up in the Admin UI if you set zkHost in solr.xml.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450800 13f79535-47bb-0310-9956-ffa450edef68
2013-02-27 15:15:03 +00:00
Mark Robert Miller 8f5a7b1232 cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450795 13f79535-47bb-0310-9956-ffa450edef68
2013-02-27 15:02:36 +00:00
Mark Robert Miller f3be2a55fa tests: tweak syncslicetest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450600 13f79535-47bb-0310-9956-ffa450edef68
2013-02-27 04:40:20 +00:00
Mark Robert Miller e77db49abc remove sys outs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450594 13f79535-47bb-0310-9956-ffa450edef68
2013-02-27 04:18:01 +00:00
Mark Robert Miller 1777ccd770 tests: fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450578 13f79535-47bb-0310-9956-ffa450edef68
2013-02-27 02:05:39 +00:00
Chris M. Hostetter db6ca427ba SOLR-1365: New SweetSpotSimilarityFactory allows customizable TF/IDF based Similarity when you know the optimal "Sweet Spot" of values for the field length and TF scoring factors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450577 13f79535-47bb-0310-9956-ffa450edef68
2013-02-27 01:58:07 +00:00
Yonik Seeley 241436ab4c SOLR-4480: edismax - fix trailing +-
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450369 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 19:39:56 +00:00
Chris M. Hostetter fe0ca7336f SOLR-4504: Fixed CurrencyField range queries to correctly exclude documents w/o values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450304 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 17:46:17 +00:00
Robert Muir d09ba0c912 SOLR-4490: multi-valued dv support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450239 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 15:59:05 +00:00
Mark Robert Miller a9f59ba54c SOLR-4210: clean up error case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450043 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 06:21:26 +00:00
Mark Robert Miller 56e88400ae SOLR-4210: Requests to a Collection that does not exist on the receiving node should be proxied to a suitable node.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450015 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 04:29:56 +00:00
Mark Robert Miller d0d2ff9209 SOLR-4078: Allow custom naming of SolrCloud nodes so that a new host:port combination can take over for a previous shard.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450012 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 04:09:52 +00:00
Chris M. Hostetter 01b504b137 SOLR-4481: SwitchQParserPlugin registered by default as 'switch'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449809 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 18:54:39 +00:00
Mark Robert Miller 1115ba8aba SOLR-4498: Add list command to ZkCLI that prints out the contents of ZooKeeper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449578 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 01:29:21 +00:00
Mark Robert Miller 36d854be91 tests: add polling wait
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449576 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 01:15:53 +00:00
Mark Robert Miller 382e279c1b fix up test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449496 13f79535-47bb-0310-9956-ffa450edef68
2013-02-24 15:34:42 +00:00
Mark Robert Miller 4de7dd999c tests: ignore for a bit while i work this test out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449483 13f79535-47bb-0310-9956-ffa450edef68
2013-02-24 14:16:28 +00:00
Adrien Grand e6231ad585 SOLR-3855: Fix faceting on numeric fields with precisionStep < Integer.MAX_VALUE, facet.mincount=0 and facet.method=fcs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449360 13f79535-47bb-0310-9956-ffa450edef68
2013-02-23 16:28:13 +00:00
Mark Robert Miller 69c559c00b tests: test can fail depending on order tests are run in
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449323 13f79535-47bb-0310-9956-ffa450edef68
2013-02-23 14:26:29 +00:00
Mark Robert Miller 3adabbd43a SOLR-4471: Fix up test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449258 13f79535-47bb-0310-9956-ffa450edef68
2013-02-23 00:32:12 +00:00
Mark Robert Miller c21914aa7d SOLR-4471: Improve and clean up TestReplicationHandler.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449240 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 22:16:04 +00:00
Erik Hatcher 13fc322cf0 SOLR-2856: Fix schema (scheam) typo in test configurations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449211 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 20:52:17 +00:00
Mark Robert Miller 302c3ed37e SOLR-4471: Replication occurs even when a slave is already up to date.
SOLR-4484: ReplicationHandler#loadReplicationProperties still uses Files rather than the Directory to try and read the replication properties files.

SOLR-4488: Return slave replication details for a master if the master has also acted like a slave.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449115 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 16:58:42 +00:00
Mark Robert Miller ee86128976 sort file list
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1449053 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 14:21:23 +00:00
Chris M. Hostetter 371875652a SOLR-4472: jdoc updates for DateField and UUIDField refering to TimestampUpdateProcessorFactory and UUIDUpdateProcessorFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1448879 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 01:22:59 +00:00
Chris M. Hostetter 32c4a80577 SOLR-3060: SurroundQParserPlugin highlighting tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1448863 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 00:05:58 +00:00
Robert Muir f3f8b8afb1 SOLR-4477: match-only query support for docvalues fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1448440 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 22:12:29 +00:00
Mark Robert Miller 1e5ce76902 tests: raise timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1448426 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 21:29:44 +00:00
Mark Robert Miller e848961db1 tests: another attempt at fixing this test setup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1448422 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 21:17:03 +00:00
Steven Rowe 83fa975ae9 LUCENE-4789: fix typos
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1448400 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 20:53:46 +00:00
Robert Muir 1ab4c5bc36 LUCENE-4790: FieldCache.getDocTermOrds back to the future bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1448368 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 19:44:28 +00:00
Robert Muir b44aa61834 LUCENE-4765: Multi-valued docvalues field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447999 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 04:29:42 +00:00
Chris M. Hostetter 881c0b21eb SOLR-4394: phase 2, promoted SSL randomization logic up to SolrJettyTestBase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447885 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 19:52:16 +00:00
Shalin Shekhar Mangar dc070b4ab8 SOLR-3755: Do not create core on split action, use 'targetCore' param instead
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447516 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 22:01:39 +00:00
Shalin Shekhar Mangar be3ee82ece SOLR-4414: Add 'state' to shards (default to 'active') and read/write them to ZooKeeper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447336 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 15:41:40 +00:00
Mark Robert Miller edba3cc309 SOLR-4467: While looking into what looks like some kind of resource leak, make this hard fail a soft logging fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447308 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 15:17:23 +00:00
Robert Muir 441f553a27 Merged /lucene/dev/trunk:r1446984-1447123
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1447125 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 02:37:43 +00:00
Mark Robert Miller d44ef9b67f tests: split + improve a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447098 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 23:05:22 +00:00
Mark Robert Miller d3accc58e6 SOLR-4413: Fix SolrCore#getIndexDir() to return the current index directory.
SOLR-4469: A new IndexWriter must be opened on SolrCore reload when the index directory has changed and the previous SolrCore's state should not be  propagated.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447089 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 22:13:35 +00:00
Mark Robert Miller d51e6f2c29 SOLR-4417: Reopen the IndexWriter on SolrCore reload.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447084 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 21:46:13 +00:00
Mark Robert Miller 608998e97c tests: setup to setUp
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447075 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 20:39:09 +00:00
Robert Muir a4af217886 Merged /lucene/dev/trunk:r1446754-1446983
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1446985 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 00:45:22 +00:00
Mark Robert Miller 534d8b170e tests: improve cm tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446981 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 00:22:57 +00:00
Mark Robert Miller 902e34af55 tests: improve some cloud tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446935 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 20:21:33 +00:00
Mark Robert Miller b800d08400 SOLR-4467: Ephemeral directory implementations may not recover correctly because the code to clear the tlog files on startup is off.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446928 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 19:20:05 +00:00
Mark Robert Miller 7dd591ba5d tests: raise default so timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446927 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 19:18:35 +00:00
Mark Robert Miller d540b8e122 SOLR-4421,SOLR-4165: Fix wait loop to sleep, reduce max wait time, wait min 1 second
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446926 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 19:17:43 +00:00
Adrien Grand e61398084d SOLR-3855: Doc values support.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446922 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 18:50:20 +00:00
Mark Robert Miller 384d42b5e3 SOLR-4421,SOLR-4165: On CoreContainer shutdown, all SolrCores should publish their state as DOWN.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446914 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 16:59:53 +00:00
Mark Robert Miller 3a4103d19b SOLR-4459: The Replication 'index move' rather than copy optimization doesn't kick in when using NRTCachingDirectory or the rate limiting feature.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446833 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 01:27:57 +00:00
Robert Muir 8b4207e278 Merged /lucene/dev/trunk:r1445907-1446753
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1446801 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 22:58:27 +00:00
Mark Robert Miller 2ab630b840 SOLR-4463: Fix SolrCoreState reference counting.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446716 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 18:32:31 +00:00
Mark Robert Miller c2166b9dfa spell fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446449 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 05:46:59 +00:00
Chris M. Hostetter 9e767a667d SOLR-4394: Tests and example configs demonstrating SSL with both server and client certs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1445971 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 23:04:38 +00:00
Robert Muir 73d9834a5b Merged /lucene/dev/trunk:r1444646-1445015
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1445016 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 02:03:09 +00:00
Shalin Shekhar Mangar 03a6a161af SOLR-4426: NRTCachingDirectoryFactory does not initialize maxCachedMB and maxMergeSizeMB if <directoryFactory> is not present in solrconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1444782 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 14:28:57 +00:00
Robert Muir 2dcf80718c commit current state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1444647 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 02:54:53 +00:00
Mark Robert Miller 91b1e22789 test: work on hardening this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1444472 13f79535-47bb-0310-9956-ffa450edef68
2013-02-10 02:07:54 +00:00
Mark Robert Miller f90584d0db test: work on hardening this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1444468 13f79535-47bb-0310-9956-ffa450edef68
2013-02-10 01:11:43 +00:00
Shalin Shekhar Mangar d37c98d95a SOLR-3755: Test for SolrIndexSplitter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1444397 13f79535-47bb-0310-9956-ffa450edef68
2013-02-09 17:19:19 +00:00
Mark Robert Miller 806ab343c6 SOLR-4421: On CoreContainer shutdown, all SolrCores should publish their state as DOWN.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1444249 13f79535-47bb-0310-9956-ffa450edef68
2013-02-08 21:44:40 +00:00
Mark Robert Miller e729e57a8e SOLR-3655: A restarted node can briefly appear live and active before it really is in some cases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1444239 13f79535-47bb-0310-9956-ffa450edef68
2013-02-08 21:09:25 +00:00
Mark Robert Miller 66ecf9afb5 SOLR-4400: Deadlock can occur in a rare race between committing and closing a SolrIndexWriter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1444152 13f79535-47bb-0310-9956-ffa450edef68
2013-02-08 17:20:05 +00:00
Michael McCandless 17d2d55daa SOLR-4418: workaround
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1444084 13f79535-47bb-0310-9956-ffa450edef68
2013-02-08 15:49:21 +00:00
Robert Muir a181dc0735 LUCENE-4547: DocValues improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1443717 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 20:48:21 +00:00
Mark Robert Miller 4e73371fc4 tests: attempt to harden
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1443672 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 19:20:10 +00:00
Yonik Seeley c6f35afd75 tests: make ids more searchable, dump threads on timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1443050 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 16:32:04 +00:00
Mark Robert Miller d5a2081b8b bail early on closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1443022 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 15:37:41 +00:00
Adrien Grand 5b48346ed7 SOLR-2850: Do not refine facets when minCount == 1.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1442872 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 09:08:14 +00:00
Robert Muir 6b8e374c44 Merged /lucene/dev/trunk:r1441770-1442810
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1442821 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 00:58:30 +00:00
Mark Robert Miller eedb7ccc04 tests: add a bit of slop
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1442815 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 00:35:06 +00:00
Mark Robert Miller 0437b57000 bail early from retry loop when closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1442771 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 22:31:57 +00:00
Yonik Seeley fec620505b tests: enable chaos safe leader test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1442648 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 16:27:09 +00:00
Mark Robert Miller da8488a2da tests: raise test pause
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1441974 13f79535-47bb-0310-9956-ffa450edef68
2013-02-03 22:06:17 +00:00
Mark Robert Miller e3343731b1 tests: raise so timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1441970 13f79535-47bb-0310-9956-ffa450edef68
2013-02-03 21:33:31 +00:00
Mark Robert Miller edf7b89e70 tests: add timeouts for http clients
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1441946 13f79535-47bb-0310-9956-ffa450edef68
2013-02-03 18:23:40 +00:00
Mark Robert Miller 3105772ed7 tests: add timeouts for http client
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1441943 13f79535-47bb-0310-9956-ffa450edef68
2013-02-03 18:10:12 +00:00
Mark Robert Miller 23edb27440 drop the connect timeout from 45 sec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1441941 13f79535-47bb-0310-9956-ffa450edef68
2013-02-03 18:06:52 +00:00
Mark Robert Miller fe719d3568 add timeouts to http calls in SnapPuller
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1441913 13f79535-47bb-0310-9956-ffa450edef68
2013-02-03 14:17:42 +00:00
Robert Muir 722df2c1e7 LUCENE-4733: merge Lucene42 codec from lucene-4547 branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1441571 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 18:25:29 +00:00
Robert Muir 9e4e017601 Merged /lucene/dev/trunk:r1441423-1441567
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1441570 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 18:25:23 +00:00
Mark Robert Miller 2274676c0d SOLR-4370: Allow configuring commitWithin to do hard commits.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1441483 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 15:29:08 +00:00
Robert Muir 8dd6108432 Merged /lucene/dev/trunk:r1440838-1441216
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1441220 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 22:09:07 +00:00
Michael McCandless d878a6eaf5 fix nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1441181 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 20:32:37 +00:00
Chris M. Hostetter 51fdde39b7 SOLR-381: test demonstrating deleteByQuery works with pure-negative queries, and QParsers in general
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1441154 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 19:25:54 +00:00
Jan Høydahl 727739fc1f SOLR-2827: RegexpBoost Update Processor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440940 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 12:58:40 +00:00
Jan Høydahl 5f851331b5 SOLR-4384: Simplify time print using SimpleDateFormat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440899 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 10:33:05 +00:00
Robert Muir b21ecede84 Merged /lucene/dev/trunk:r1439980-1440837
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1440839 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 03:37:31 +00:00
Robert Muir 7af430e071 fix this to be explicit about which locale it is (or isnt) using...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440836 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 03:18:58 +00:00
Jan Høydahl c1024f192e SOLR-4384: Make post.jar report timing information
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440746 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 00:26:11 +00:00
Mark Robert Miller dd9ffb9bc5 SOLR-3911: Replicate after startup option would not replicate until the IndexWriter was lazily opened.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440508 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 16:29:05 +00:00
Chris M. Hostetter 4ec7239ce8 SOLR-3904: package.html for all packages in solr-core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440263 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 03:42:59 +00:00
Mark Robert Miller 529af9a0bb tests: remove these annoying svn sub properties from config files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440069 13f79535-47bb-0310-9956-ffa450edef68
2013-01-29 19:23:45 +00:00
Robert Muir ad8934b205 clear up some nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1439232 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 02:48:46 +00:00
Robert Muir a02bffb253 Merged /lucene/dev/trunk:r1438171-1439161
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1439164 13f79535-47bb-0310-9956-ffa450edef68
2013-01-27 20:01:52 +00:00
Mark Robert Miller 5cb1a812f0 SOLR-4359: The RecentUpdates#update method should treat a problem reading the next record the same as a problem parsing the record - log the exception and break.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1438655 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 19:17:31 +00:00
Mark Robert Miller 7d70f6190a SOLR-4043: Add ability to get success/failure responses from Collections API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1438550 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 15:14:51 +00:00
Yonik Seeley 533fd2eeba LUCENE-4690: Performance improvements and non-hashing versions of NumericUtils.*ToPrefixCoded
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1438242 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 22:41:59 +00:00
Robert Muir 9afeea3296 Merged /lucene/dev/trunk:r1437978-1438170
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1438183 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 20:51:17 +00:00
Mark Robert Miller e6dbf827db SOLR-4321: Collections API will sometimes use a node more than once, even when more unused nodes are available.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1438043 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 15:16:30 +00:00
Robert Muir fd6003fed3 Merged /lucene/dev/trunk:r1436566-1437977
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1437982 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 12:43:34 +00:00
Koji Sekiguchi ae76248870 SOLR-4330: group.sort is ignored when using group.truncate and ex/tag local params together
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1436837 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 11:26:37 +00:00
Robert Muir 24d701180e 4.1 -> 4.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1436544 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 18:45:43 +00:00
Michael McCandless c67ef8657f move the TermsEnum up from SortedDV
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1436498 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 17:25:55 +00:00
Robert Muir 619d43122a Merged /lucene/dev/trunk:r1433031-1435376
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1435384 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 22:38:56 +00:00
Robert Muir 69c6779625 fix naming
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1435177 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 15:09:50 +00:00
Tommaso Teofili 47a03b99b0 [SOLR-4315] - removed useless shardId param from doDefensiveChecks method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1435097 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 11:37:43 +00:00
Steven Rowe 70fd1bcb2b SOLR-4300: In TestLazyCores, convert static field into local variable to avoid post-test memory retention
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1433823 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 05:00:52 +00:00
Erick Erickson d234d7f650 Fix for SOLR-4300, possible race condition when loading lazy cores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1433778 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 00:48:09 +00:00
Robert Muir 8ef9811938 progress towards full cutover to 2.0 apis
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1433646 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 21:00:39 +00:00
Robert Muir b6c9791358 Merged /lucene/dev/trunk:r1432062-1433030
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1433035 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 18:54:22 +00:00
Shalin Shekhar Mangar 75b574abca SOLR-4016: Deduplication does not work with atomic/partial updates so disallow atomic update requests which change signature generating fields.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1433013 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 17:59:32 +00:00
Mark Robert Miller 64dee0264b SOLR-4303: On replication, if the generation of the master is lower than the slave we need to force a full copy of the index.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432993 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 17:08:50 +00:00
Erik Hatcher 5d198628bb fix misspelling in warning output text
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432936 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 14:57:05 +00:00
Shalin Shekhar Mangar 55484336a6 SOLR-4302: New parameter 'indexInfo' (defaults to true) in CoreAdmin STATUS command can be used to omit index specific information
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432901 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 12:44:45 +00:00
Erik Hatcher 3552167217 SOLR-4127: post.jar ignores -Dparams when -Durl is used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432794 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 03:31:10 +00:00
Mark Robert Miller 708d5890c5 add collection core attribute to built in single core solr.xml file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432774 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 00:52:16 +00:00
Mark Robert Miller 7b24c2b602 add more core attributes to built in single core solr.xml file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432747 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 21:21:27 +00:00
Mark Robert Miller 7f2353defd SOLR-3911: pass a context flag so that impls can use different strategies for index directories vs meta data file directories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432670 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 17:38:26 +00:00
Mark Robert Miller 83fe02894f SOLR-4291: Harden the Overseer work queue thread loop.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432256 13f79535-47bb-0310-9956-ffa450edef68
2013-01-11 20:04:44 +00:00
Robert Muir f7c90c50f3 Merged /lucene/dev/trunk:r1430124-1432061
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1432065 13f79535-47bb-0310-9956-ffa450edef68
2013-01-11 14:39:45 +00:00
Erik Hatcher 7f0c52b066 fix typos in comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430798 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 11:38:08 +00:00
Erik Hatcher 27b84461c4 fix spelling in comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430781 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 10:56:18 +00:00
Chris M. Hostetter 76f5a8bada SOLR-4208: ExtendedDismaxQParserPlugin has been refactored to make subclassing easier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430399 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 17:33:19 +00:00
Uwe Schindler 9ee4b4d5fa SOLR-4283: Improvements for URL-Decoding
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430396 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 17:22:14 +00:00
Mark Robert Miller 292a8d4c16 boost a timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430290 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 14:10:36 +00:00
Robert Muir 61e368a46f Merged /lucene/dev/trunk:r1419558-1430123
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1430130 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 03:40:16 +00:00
Chris M. Hostetter ffcaecb4d3 SOLR-4272: doc sample xml tweaks to reduce confusion if people cut/paste
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430116 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 02:37:01 +00:00
Mark Robert Miller bccdc6aeb5 SOLR-4170: The 'backup' ReplicationHandler command can sometimes use a stale index directory rather than the current one.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1430111 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 02:01:54 +00:00
Uwe Schindler 630409a316 SOLR-4265: Fix charset bug... :(
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429958 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 18:55:36 +00:00
Robert Muir 04c86005cc SOLR-4226: Extract fl parsing code out of ReturnFields constructor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429935 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 18:33:12 +00:00
Robert Muir 2d1c5560d5 LUCENE-4663: IndexSearcher.document should not be final
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429927 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 18:03:54 +00:00
Shalin Shekhar Mangar c446098665 SOLR-4279: Wrong exception message if _version_ field is multivalued
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429804 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 14:19:28 +00:00
Uwe Schindler cf8a0ca50b SOLR-4265: Fix decoding of GET/POST parameters for servlet containers with non-UTF-8 URL parsing (Tomcat)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429534 13f79535-47bb-0310-9956-ffa450edef68
2013-01-06 14:55:11 +00:00
David Wayne Smiley 9c5d4ff5cb SOLR-4255: add spatial filter=false local-param option
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429466 13f79535-47bb-0310-9956-ffa450edef68
2013-01-06 06:01:58 +00:00
Uwe Schindler 643fab0b82 SOLR-4275: Fix test. Sorry, the Solr build system did not recognize the test change without ant clean!?
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429419 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 23:03:51 +00:00
Robert Muir 64e18dc0f6 SOLR-4271: add support for PostingsHighlighter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429413 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 22:51:30 +00:00
Uwe Schindler 8e49b54fde SOLR-4275: Add test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429410 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 22:44:18 +00:00
Uwe Schindler 981694a910 SOLR-4275: Fix TrieTokenizer to no longer throw StringIndexOutOfBoundsException in admin UI / AnalysisRequestHandler when you enter no number to tokenize
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429401 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 22:19:14 +00:00
Yonik Seeley 38610f9b09 SOLR-4121: add test for fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429188 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 01:53:15 +00:00
Yonik Seeley 68f9994ae8 SOLR-4121: add test for fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429181 13f79535-47bb-0310-9956-ffa450edef68
2013-01-05 01:29:57 +00:00
Mark Robert Miller eeab864233 tests: update to not check cloud client fails = 0 for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429075 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 19:59:33 +00:00
Mark Robert Miller 3690e29cfb SOLR-3180: tests: timeouts from 30 sec to 60 sec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429027 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 18:44:08 +00:00