Uwe Schindler
92af111ca3
LUCENE-4268: Rename ResourceAsStreamReasourceLoader to ClasspathResourceLoader, provide FilesystemResourceLoader, bug fixing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366748 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 19:23:44 +00:00
Erik Hatcher
138a1d762a
minor tweaks to update script example
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366716 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 17:42:49 +00:00
Yonik Seeley
a96d647efa
SOLR-3259: default /get to json
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366646 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 11:32:40 +00:00
Uwe Schindler
7efa75e04a
LUCENE-4259: Make AnalysisSPILoader pkg-private again. Minor improvements in ResourceAsStreamResourceLoader (we should rename this one to ClassPathReassourceLoader maybe)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366631 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 09:51:24 +00:00
Erik Hatcher
d0c4ec62c9
SOLR-1280,SOLR-1725: Add an example of the script update processor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366588 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 03:30:51 +00:00
Chris M. Hostetter
66c9bb6e9b
SOLR-3634: aparently, not all java6 SAXParseException implementations include the systemId in the toString(), so let's make sure we check it explicitly ... if this still doesn't work, then i'm going to start learning how to write C# and java can burn in hell for all i care ... write once run anywhere my ass
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366574 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 00:55:17 +00:00
Mark Robert Miller
89056ffd9d
add sync tests and logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366572 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 00:35:46 +00:00
Chris M. Hostetter
3b1d444672
SOLR-3634: change test to work even on java7 where SAXParseException.getMessage() returns a localized msg even though that defeats the whole point of Throwable.getLocalizedMessage()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366568 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 00:06:58 +00:00
Robert Muir
cdef110935
LUCENE-4265: name eclipse project after the branch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366550 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 21:56:09 +00:00
Robert Muir
e229a356f3
LUCENE-4266: update eclipse settings to match reality
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366544 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 21:48:53 +00:00
Robert Muir
6d2a288be3
LUCENE-4262: add ivy sync=true, so when resolve runs, only jars that should be there are there
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366509 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 19:18:49 +00:00
David Wayne Smiley
6e91227797
LUCENE-3925 RecursivePrefixTree spatial strategy should not store doc freq or pos
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366477 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 18:25:49 +00:00
Chris M. Hostetter
f98ab9d2dc
SOLR-3634: some errors are localized and tests fail in non en, disabling temporarily
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366460 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 17:13:02 +00:00
Uwe Schindler
46fe5cf9d9
Improve test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366392 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 14:24:55 +00:00
Robert Muir
78ca29ee09
LUCENE-4263: remove conflicting versions of the same jar dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366381 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 13:36:13 +00:00
Robert Muir
467faeaae0
LUCENE-4260: factor subPackages out of the resourceloader interface
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366360 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 12:15:03 +00:00
Uwe Schindler
53dc0191b5
Fix license
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366335 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 10:59:21 +00:00
Steven Rowe
f5b7153f47
LUCENE-3747: Update minimum JFlex revision to the first supporting Unicode 6.1.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366284 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 04:42:04 +00:00
Chris M. Hostetter
8d4d9abaed
SOLR-3634: refactor away the nocommit's i forgot about
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366249 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 00:39:34 +00:00
Uwe Schindler
657e0e98ab
LUCENE-4259: Improvement to expectedType
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366247 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 00:31:24 +00:00
Chris M. Hostetter
a7cd5f3384
SOLR-3634: CoreContainer and CoreAdminHandler will now remember and report back information about failures to initialize SolrCores
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366241 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 00:01:00 +00:00
Mark Robert Miller
a5f1159a6f
fix javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366236 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 23:53:33 +00:00
Steven Rowe
dc3c5db794
LUCENE-3747: fixed .jflex-macro regeneration problems; regenerated affected JFlex scanners
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366231 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 23:15:25 +00:00
Uwe Schindler
10a3d8cfdd
revert development shortcut in build.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366222 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 22:51:26 +00:00
Uwe Schindler
92e5c35bc3
Fix javadocs-linter: Windows support, support for file:-URLs (now needed), fix broken XML-comments in some files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366220 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 22:45:31 +00:00
Uwe Schindler
dfbd640344
Fix file: URLs for now by disabling them!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366186 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 20:24:56 +00:00
Uwe Schindler
ac6a1b1016
Remove useless additional slashes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366171 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 19:38:41 +00:00
Uwe Schindler
af95ff1ca4
Simplier variant that also works with Java 5 for backport
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366164 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 19:28:43 +00:00
Uwe Schindler
eee56c65d5
Repair Solr snapshot javadocs to work on windows and with spaces in filename (same fix like in Lucene's docs XSL transformation): The hrefs to external docs must be valid URIs and plain path are not valid URIs, they must start with file:, slashes converted, and spaces escaped. scriptmapper helps with new File(path).toURI()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366130 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 18:29:33 +00:00
Uwe Schindler
69a6b5a562
LUCENE-4259: Allow reloading of codec/postings format list when classpath changes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366115 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 17:59:49 +00:00
Robert Muir
3d1279c06c
move test to same place as 4.x branch for easier backporting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366110 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 17:55:23 +00:00
Mark Robert Miller
bcfb01d690
add Markus Jelsma to SOLR-1781
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366016 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 14:33:03 +00:00
Robert Muir
62312f08e8
cut test over to newFSDirectory to hopefully stop OOMs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366011 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 14:18:07 +00:00
Robert Muir
ceb3c6889a
LUCENE-3747: restore this file temporarily to unbreak the build. it was a 0-byte file... I think something went wrong
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366004 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 14:07:21 +00:00
Robert Muir
8bfa167a73
LUCENE-4257: factor the getLines in REsourceLoader in WordListLoader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365992 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 13:43:28 +00:00
Steven Rowe
5abc76ea42
LUCENE-3747: Support Unicode 6.1.0.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365971 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 12:56:35 +00:00
Uwe Schindler
924f6f730d
LUCENE-4255: one more
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365958 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 11:58:59 +00:00
Uwe Schindler
58a9b85ae0
LUCENE-4255: Remove more useless try..catch on IOException after ResourceLoader update
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365956 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 11:51:14 +00:00
Robert Muir
ca736cea8e
LUCENE-4255: clean up analysis factory exception handling
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365865 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 01:41:06 +00:00
Chris M. Hostetter
64dcd8855d
better javadocs for UpdateRequestProcessorChain and the key processor factories people should always know about
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365857 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 00:50:40 +00:00
Robert Muir
436175cfaf
LUCENE-4250: fix trap in PayloadFunction explain API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365837 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 23:23:02 +00:00
Mark Robert Miller
645547df3e
SOLR-1781: ensure we are cleaning up the 'newest' old index directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365657 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 16:24:27 +00:00
Uwe Schindler
09dc88ce9a
LUCENE-2510, LUCENE-4044: Better generics-conform fix, sorry for heavy committing! It is much better than the original code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365610 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 14:55:48 +00:00
Mark Robert Miller
e3af5988e7
be a little less aggressive in how fast we retry failed recoveries
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365607 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 14:47:41 +00:00
Uwe Schindler
f7b94431d5
LUCENE-2510, LUCENE-4044: Nuke generics completely - Java 7 bug?
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365602 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 14:35:02 +00:00
Uwe Schindler
142d3c788f
LUCENE-2510, LUCENE-4044: Migrated Solr's Tokenizer-, TokenFilter-, and CharFilterFactories to the lucene-analysis module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365586 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 13:54:04 +00:00
Uwe Schindler
7c12d83a4c
LUCENE-2510: Add a test that actually "tries" to create a instance from the factory, which currently does not work for all factories (like ResourceLoader required - we have no default Impl outside Solr, or required parameters missing). At least it tests that we get InitializationException. Unfortunatley if ResourceLoaderAware.inform() is not called, some factories NPE or similar. We should fix later and make it better useable outside Solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365494 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 09:01:51 +00:00
Uwe Schindler
6751eefb8e
Merged revision(s) 1364862-1365482 from lucene/dev/trunk:
...
........
LUCENE-4044: add spi support to Tokenizer/CharFilter/TokenFilter factory
........
LUCENE-2510: apply movefactories.sh
........
LUCENE-4044: few steps closer to fixing compile
........
LUCENE-4044: add the rest for common/
........
LUCENE-4044: add services for kuromoji
........
LUCENE-4044: more factories and tests
........
LUCENE-4044: fix more compil
........
LUCENE-4044: fix some more tests
........
LUCENE-4197 rename CachedDistanceValueSource
........
LUCENE-4044: get analysis/common tests passing
........
improve zk tests vs blackhole
........
LUCENE-4044: get all lucene tests passing
........
LUCENE-4044: register phonetic factories
........
LUCENE-4245: Make IndexWriter#close() and MergeScheduler#close() non-interruptible
........
LUCENE-4044: port over icu module
........
LUCENE-4044: port over morfologik
........
LUCENE-4044: port over smartcn
........
LUCENE-4245: Addon: handle failures during flushing by enforcing CMS to stop
........
LUCENE-4044: port over stempel/uima
........
LUCENE-4044: port over synfilter
........
LUCENE-4245: better record interruption
........
fix reuse bug
........
simplify + improve test infra
........
LUCENE-4245: use IOUtils to close everything in finally block
........
LUCENE-4044: get solr tests working
........
LUCENE-4044: dont use instances just class names
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365483 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 08:10:27 +00:00
Robert Muir
bc5848f7dc
LUCENE-4252: null these out for GC to close ram leak
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365450 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 05:26:37 +00:00
Robert Muir
de8e3661fc
LUCENE-4252: null these out for GC to close ram leak
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365444 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 04:49:21 +00:00