2130 Commits

Author SHA1 Message Date
Uwe Schindler
82a5f35c20 SOLR-5082: The encoding of URL-encoded query parameters can be changed with the "ie" (input encoding) parameter, e.g. "select?q=m%FCller&ie=ISO-8859-1". The default is UTF-8. To change the encoding of POSTed content, use the "Content-Type" HTTP header
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508236 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 23:24:22 +00:00
Mark Robert Miller
0036ab6eca tweak connect timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508191 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 19:40:08 +00:00
Robert Muir
02a2f383b2 LUCENE-5127: FixedGapTermsIndex should use monotonic compression
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508147 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 17:34:52 +00:00
Uwe Schindler
2902c40cfd SOLR-5083: Move JDK-1.0-style hidden classes into inner classes of SolrRequestParsers (to prevent uptodate javac bugs)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1507742 13f79535-47bb-0310-9956-ffa450edef68
2013-07-27 23:15:10 +00:00
David Wayne Smiley
bd455f46da SOLR-2345: geodist support for RPT
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1507409 13f79535-47bb-0310-9956-ffa450edef68
2013-07-26 19:37:14 +00:00
Han Jiang
92021404d4 LUCENE-5138: remove executable attr from java files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1507313 13f79535-47bb-0310-9956-ffa450edef68
2013-07-26 13:51:38 +00:00
James Dyer
e4cba1525b SOLR-4489: fix StringIndexOutOfBoundsException in SpellCheckComponent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1507042 13f79535-47bb-0310-9956-ffa450edef68
2013-07-25 16:04:03 +00:00
David Wayne Smiley
47bf70812b LUCENE-5118: multiplier to spatial makeDistanceValueSource
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1506632 13f79535-47bb-0310-9956-ffa450edef68
2013-07-24 17:20:10 +00:00
Alan Woodward
30d15988b3 SOLR-5056: Further cleanup of ConfigSolr API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1506020 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 12:53:31 +00:00
Chris M. Hostetter
a17ba3674e improve TestXIncludeConfig to also check entity includes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1505747 13f79535-47bb-0310-9956-ffa450edef68
2013-07-22 17:55:08 +00:00
Steven Rowe
fbfd8a9d4f SOLR-5037: The CSV loader now accepts field names that are not in the schema.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1504747 13f79535-47bb-0310-9956-ffa450edef68
2013-07-19 02:14:59 +00:00
Michael McCandless
97fb0209ce LUCENE-5030: FuzzySuggester can optionally measure edits in Unicode code points instead of UTF8 bytes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1504490 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 14:36:34 +00:00
Mark Robert Miller
dbbc4261b7 SOLR-4990: Beef up BasicHdfsTest and rename it to StressHdfsTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1504236 13f79535-47bb-0310-9956-ffa450edef68
2013-07-17 19:14:16 +00:00
Michael McCandless
360452940e LUCENE-5114: remove unused useCache param
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1503805 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 17:44:10 +00:00
Shalin Shekhar Mangar
69049b99fa SOLR-4997: Skip log recovery for sub shard leaders only
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1503328 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 16:47:48 +00:00
Steven Rowe
3c43636281 SOLR-4894: fix error message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1503275 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 14:45:37 +00:00
Shalin Shekhar Mangar
e5fc7da2a2 SOLR-4997: Call commit before checking shard consistency
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1503019 13f79535-47bb-0310-9956-ffa450edef68
2013-07-14 18:41:40 +00:00
Erick Erickson
5513f48c87 fix for SOLR-5039, admin/schema browser displaying -1 for unique terms on multiValued fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502959 13f79535-47bb-0310-9956-ffa450edef68
2013-07-14 11:41:45 +00:00
David Wayne Smiley
d2a2cc12dc SOLR-5034: A facet.query that parses or analyzes down to a null Query would throw a NPE.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502730 13f79535-47bb-0310-9956-ffa450edef68
2013-07-13 00:05:10 +00:00
Uwe Schindler
40968cf653 LUCENE-5107: Properties files by Lucene are now written in UTF-8 encoding, Unicode is no longer escaped. Reading of legacy properties files with \u escapes is still possible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502615 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 17:10:22 +00:00
Alan Woodward
bc645837a2 SOLR-4914: Close input streams as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502507 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 10:50:31 +00:00
Alan Woodward
8b0a481fd3 SOLR-4914: Use Properties.store(OutputStream, String) for back compatibility
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502481 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 08:55:04 +00:00
Alan Woodward
3f8064c90a SOLR-4914: Close OutputStreamWriter properly, use System.getProperty("line.separator") instead of \n
Fixes Windows test failures.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502468 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 08:25:36 +00:00
Shalin Shekhar Mangar
506a7924e1 SOLR-4997: The splitshard api doesn't call commit on new sub shards before switching shard states. Multiple bugs related to sub shard recovery and replication are also fixed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502458 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 07:32:13 +00:00
Alan Woodward
5a42052fba SOLR-4914: Factor out core discovery and persistence logic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502276 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 16:35:01 +00:00
Grant Ingersoll
aade0000a6 SOLR-5010: single field handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502247 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 15:31:58 +00:00
Alan Woodward
417f1ba3b4 SOLR-5028,SOLR-5029: Fix ShardHandlerFactory creation and persistence
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502231 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 14:15:35 +00:00
Uwe Schindler
748cb61e82 SOLR-4916: Fix bugs & usage of NullIndexOutput
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502167 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 09:34:36 +00:00
Steven Rowe
b2bc345a60 SOLR-4916: Move MiniDfsCluster test dependencies from solr test-framework to solr-core; download solr-core test dependencies to solr/core/test-lib/ instead of solr/core/lib/; download DIH test dependencies to solr/contrib/dataimporthandler/test-lib instead of [...]/lib/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502105 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 04:03:24 +00:00
Yonik Seeley
90d792dd1d tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502006 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 21:19:26 +00:00
Yonik Seeley
884ed33b39 tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501978 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 20:43:41 +00:00
Yonik Seeley
020d816f42 tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501967 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 20:28:01 +00:00
Yonik Seeley
9a77cfbba0 tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501950 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 20:06:06 +00:00
Yonik Seeley
ed9d17b991 tests: use json utility method for single quoted json
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501941 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 19:54:21 +00:00
Yonik Seeley
8607f3b76e tests: add regex capability to JSON test format
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501933 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 19:34:56 +00:00
Mark Robert Miller
7d1e3ba363 SOLR-5018: The Overseer should avoid publishing the state for collections that do not exist under the /collections zk node.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501916 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 19:06:27 +00:00
Mark Robert Miller
6455dec1e0 SOLR-4943: Add a new system wide info admin handler that exposes the system info that could previously only be retrieved using a SolrCore.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501898 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 18:28:00 +00:00
Erik Hatcher
c3bc304aaf SOLR-4991: Register QParserPlugins as SolrInfoMBeans
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501863 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 17:27:08 +00:00
Yonik Seeley
7f1765f1fa tests: use single quoted json for readability
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501809 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 15:54:35 +00:00
Mark Robert Miller
2310ab22f0 SOLR-5026: org.apache.solr.store.blockcache.BlockDirectoryTest.testRandomAccessWrites would pass a 0 to random#next on 0 file size
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501781 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 15:05:52 +00:00
Grant Ingersoll
f007cde66d SOLR-5010: switch to lists for copy fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501715 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 10:55:38 +00:00
Yonik Seeley
4617b8da89 tests: don't log expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501498 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 19:50:34 +00:00
Yonik Seeley
fd914505ea SOLR-5020: add DelegatingCollector.final()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501376 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 16:54:55 +00:00
Uwe Schindler
2734af0c56 SOLR-5022: Make it possible to disable HDFS tests on ANT command line (so ASF Jenkins can use it). Windows is disabled by default, too.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501278 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 14:08:48 +00:00
Grant Ingersoll
450854e0c5 SOLR-5010: clean up plus POST support on schema/copyfields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501047 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 02:24:39 +00:00
Robert Muir
20a6de0241 SOLR-5012: optimize search with filter when filterCache is null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501004 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 23:05:58 +00:00
Yonik Seeley
5b257ac4df SOLR-5019: don't modify original filter list
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500903 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 19:39:42 +00:00
Uwe Schindler
f092795fe9 LUCENE-5097: Analyzer now has an additional tokenStream(String fieldName, String text) method, so wrapping by StringReader for common use is no longer needed. This method uses an internal reuseable reader, which was previously only used by the Field class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500862 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 17:55:48 +00:00
Grant Ingersoll
33d014f3aa SOLR-5010: add copy field support to the REST API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500737 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 14:00:23 +00:00
Erick Erickson
89ea939a4a Fix broken test checked in with SOLR-4982
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500354 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 02:25:49 +00:00