13566 Commits

Author SHA1 Message Date
Dawid Weiss
e525552d73 LUCENE-4078: PatternReplaceCharFilter assertion error caused by malformed
utf-16. This is most likely a bug in the JDK because a
Pattern("").replaceAll("x") is inserted in between surrogate pair
characters and corrupts strings.

A temporary fix is to check for this at random pattern generator and pick
again if detected.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1343214 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 12:00:24 +00:00
Michael McCandless
6a4a717220 LUCENE-4062: add new aligned packed bits impls for faster performance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1342751 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 18:09:39 +00:00
Chris M. Hostetter
f4819005cf SOLR-2822: Skip update processors already run on other nodes (solr cloud)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1342743 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 17:24:58 +00:00
Mark Robert Miller
a72fb4fb77 SOLR-2923: IllegalArgumentException when using useFilterForSortedQuery on an empty index.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1342702 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 15:55:06 +00:00
James Dyer
50baab7c4b SOLR-2058: Add optional "phrase slop" syntax to edismax pf/pf2/pf3
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1342681 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 15:16:30 +00:00
Sami Siren
fc48a07bfb SOLR-3487: handle named lists in xml response
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1342553 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 09:57:46 +00:00
Chris M. Hostetter
0cbc7ec4e7 LUCENE-4075: Cleaner path usage in TestXPathEntityProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1342490 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 02:36:29 +00:00
Chris M. Hostetter
92f3b3aee2 SOLR-3446: Better errors when PatternTokenizerFactory is configured with an invalid pattern, and include the 'name' whenever possible in plugin init error messages.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1342489 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 02:18:33 +00:00
Chris M. Hostetter
c44afc292c typos, thanks Jack
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1342363 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 18:21:38 +00:00
Mark Robert Miller
36d15b4921 lets see what fails, if any, this test is still producing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1342340 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 16:58:44 +00:00
Mark Robert Miller
da38e054b5 add a space
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1342335 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 16:51:10 +00:00
Yonik Seeley
8cbe8114d1 tests: use INFO for debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1342101 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 00:23:23 +00:00
Uwe Schindler
3c88585034 Some lost API updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1342052 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 21:20:23 +00:00
Simon Willnauer
1d6b468822 LUCENE-4074: FST Sorter BufferSize causes int overflow if BufferSize > 2048MB
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341995 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 19:38:26 +00:00
Simon Willnauer
8a0f7f9af6 LUCENE-4018: Make MappingMultiDocsEnum subenums accessible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341981 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 19:06:42 +00:00
Stefan Matheis
4bbef9d503 SOLR-3478: DataImportHandler's Entity must have a name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341920 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 15:59:29 +00:00
Yonik Seeley
d8b9a75631 cancelRecovery wasn't being called, check for close between small sleeps, set closed even if we get an exception talking to ZK
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341899 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 15:31:46 +00:00
James Dyer
c24efa0a9b SOLR-3309: Change <web-app /> to use "javaee" namespace instead of "j2ee"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341897 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 15:30:07 +00:00
James Dyer
ec1649300c SOLR-2585: Context-Sensitive Spelling Suggestions & Collations (spellcheck.alternativeTermCount & spellcheck.maxResultsForSuggest)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341894 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 15:27:29 +00:00
Simon Willnauer
88b483cbbd LUCENE-4051: Use Codec File Headers for Lucene40 StoredFields, DocValues, Norms & TermVectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341768 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 07:51:56 +00:00
Tommaso Teofili
8c037c2115 [SOLR-3464] - added softCommit option to SolrServer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341658 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 22:00:08 +00:00
Yonik Seeley
2e2c70c6ae use isClosed method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341528 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 15:25:47 +00:00
Yonik Seeley
2b3ce2d435 tests: turn up logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341526 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 15:25:04 +00:00
Robert Muir
de9e4695cf preflex codec still depends on field name interning, so test it some
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341480 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 14:00:17 +00:00
Simon Willnauer
2ce7899fc3 LUCENE-4071: DWStallControl can deadlock if stalled and flushMemory can not release the stall state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341342 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 08:08:33 +00:00
Yonik Seeley
964e90adb3 SOLR-3469: prevent false peersync recovery by recording buffering flags in tlog
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341283 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 00:36:11 +00:00
Yonik Seeley
467717e475 doc: reserved names pattern
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341118 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 17:27:51 +00:00
Stefan Matheis
e688e6c07b SOLR-3238: Move License for d3.js & highlight.js
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341066 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 15:20:12 +00:00
Martijn van Groningen
20f10be75b LUCENE-4068: Improve IW#addDocuments(...) javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340966 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 11:07:01 +00:00
Stanisław Osiński
98d15d4e67 SOLR-3470: Custom Carrot2 tokenizer and stemmer factories overwritten by defaults: fixing class loader issues, minor cleanups (Dawid Weiss)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340939 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 08:57:31 +00:00
Stefan Matheis
a79a14347d SOLR-3234: Remove contrib/dataimport's webapp
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340934 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 08:47:39 +00:00
Stefan Matheis
aee60cb3ab SOLR-3459: Fix Cloud's Graph-Views for multiple collections
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340933 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 08:37:34 +00:00
Mark Robert Miller
a29a6c6f29 SOLR-3472: ping request handler should force distrib=false default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340869 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 23:10:02 +00:00
Mark Robert Miller
ff037852fc add ping and analysis request handlers for good UI defaults
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340863 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 22:49:35 +00:00
Mark Robert Miller
abaec93967 add a couple cloud props to multicore example solr.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340837 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 20:54:17 +00:00
Simon Willnauer
5c714e8147 fix testcase to not check unreliable thread state in join helper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340794 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 18:39:51 +00:00
Michael McCandless
8945e4b2ce don't excessively call RateLimiter in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340713 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 13:41:33 +00:00
Uwe Schindler
664ab89dee SOLR-3471: Disable tests that don't work correctly on Windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340687 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 12:06:22 +00:00
Stanisław Osiński
d65f086baf SOLR-3470: Custom Carrot2 tokenizer and stemmer factories overwritten by defaults: fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340686 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 11:53:51 +00:00
Stefan Matheis
d722b19748 SOLR-3238: Add License for d3
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340665 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 10:32:38 +00:00
Simon Willnauer
fa75b33949 LUCENE-4046: Add IOException to DocsEnum#freq()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340653 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 10:03:35 +00:00
Robert Muir
80ed49893c test untested query, fix broken equals() impl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340526 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 17:47:38 +00:00
Michael McCandless
419a026c06 fix over-copying of CFX files during addIndexes(Directory[])
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340521 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 17:24:36 +00:00
Simon Willnauer
a0493e5570 LUCENE-4070: assign output to member to prevent double opening on error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340514 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 16:29:58 +00:00
Steven Rowe
5efed3447e LUCENE-3983: HTMLStripCharFilter: Stop upcasing HTML character entity names at class initialization time; instead, provide hard-coded upcased versions for a small set of them.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340169 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 16:58:38 +00:00
Martijn van Groningen
0b1d814c94 SOLR-3454: Exception when using result grouping with main=true and using wt=javabin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340080 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 12:28:21 +00:00
Dawid Weiss
6248459183 LUCENE-4054: nested suite classes (required for tests) should not run in stand-alone mode.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340021 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 07:53:33 +00:00
Erik Hatcher
870d86440f Fix jquery and Solr logo references in /browse that broke during admin UI overhauls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1339923 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 23:38:49 +00:00
Erik Hatcher
1ce88f3f65 Revert change to r1339781 - tests fail with clustering automatically enabled
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1339901 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 22:34:08 +00:00
Erik Hatcher
80e4e05578 DeHossification
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1339859 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 20:51:43 +00:00