Michael McCandless
d4c27acb1a
LUCENE-3892: inline scanning after DocsEnum.advance
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1369703 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 23:33:00 +00:00
Michael McCandless
de9586104c
LUCENE-3892: some cleanup/refactoring
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1369697 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 22:39:32 +00:00
Robert Muir
b4540d6369
LUCENE-4286: add unibigram option to CJKBigramFilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369502 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 22:37:14 +00:00
Michael McCandless
aed1b5d760
LUCENE-3982: trunk upgrade
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1369470 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 21:26:10 +00:00
Robert Muir
034207be25
clean up binary patterns for consolidated licenses/
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369232 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 22:11:07 +00:00
Robert Muir
4e43511bad
exclude tools as it contains a lib jar and a clover README and sneaks its way into binary packaging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369227 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 22:03:00 +00:00
Robert Muir
60deff559f
remove dead code (same as superclass impl)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369205 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 20:53:53 +00:00
Robert Muir
8f726e254b
LUCENE-3616: throw exception on some illegal field configurations (applying boost to omitNorms or unindexed field), fix TextField(Reader) ctor as it cannot Store
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369196 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 20:26:13 +00:00
Robert Muir
33fd61bb3a
LUCENE-4089: add documentation for termsIndexInterval/Divisor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369022 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 15:20:38 +00:00
Robert Muir
91833f0bc8
LUCENE-4140: make this getter/setter pkg-private as it has pkg-private parameters
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368991 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 14:44:13 +00:00
Robert Muir
7465266b20
add safety so we don't generate checksums for any stale jars when regenerating
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368977 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 14:18:17 +00:00
Robert Muir
2f63ddc1fb
jar-checksums should only generate checksums for third party jars
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368969 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 14:11:53 +00:00
Robert Muir
16dbab69b2
fix jar-checksums task
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368966 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 14:05:26 +00:00
Robert Muir
a8ebce8f73
LUCENE-4282: Automaton FuzzyQuery didnt always deliver all results
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368927 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 13:00:59 +00:00
Michael McCandless
21e7728e57
LUCENE-4203: add IndexWriter.tryDeleteDocument
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368745 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 22:46:27 +00:00
Michael McCandless
ccb43109e2
LUCENE-4225: fix offset delta encoding to be startOffset - lastStartOffset, not startOffset - lastEndOffset
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1368678 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 19:58:22 +00:00
Michael McCandless
9130567fa6
LUCENE-4225: fix NPEs when index doesn't have payloads nor offsets
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1368664 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 19:48:15 +00:00
Michael McCandless
3c112d15e7
LUCENE-4177: possible fix for thread-safety issue causing test to never stop
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368618 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 17:45:23 +00:00
Michael McCandless
7fd7610b7a
remove dead code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368616 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 17:41:04 +00:00
Robert Muir
275eff26a6
prevent test from getting Direct postingsformat either
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368614 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 17:39:27 +00:00
Mark Harwood
ad2cefee00
New addition: Lucene-4069 BloomFilterPostingsFormat for faster access to low-frequency terms such as primary keys.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368567 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 16:04:20 +00:00
Michael McCandless
08209761d3
LUCENE-2501: make test a bit more random
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368478 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 14:10:44 +00:00
Michael McCandless
b75834bded
fix TestShardSearching to make a new _TestUtil.getTempDir for each shard, so it does not reuse dirs across test runs when you fix the seed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368255 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 21:26:38 +00:00
Robert Muir
f1ae7dad35
LUCENE-4279: regenerate snowball stemmers so they aren't so heavy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368188 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 18:41:45 +00:00
Simon Willnauer
b26dd733f7
LUCENE-4277: fix IndexWriter deadlock during rollback
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368157 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 18:20:46 +00:00
Robert Muir
ed0e33bb6d
LUCENE-4278: ensure we fail test when directories arent closed (and add test-the-tester)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367834 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 00:31:29 +00:00
Michael McCandless
b43fd8ab8a
merge trunk changes over
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1367777 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 20:58:32 +00:00
Robert Muir
5244693ebf
LUCENE-4273: fix DocsEnum freq flag consistent with DPEnum flags
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367623 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 15:51:24 +00:00
Michael McCandless
72525cb1df
use less RAM in this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367496 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 11:17:14 +00:00
Robert Muir
c81d882c5b
disable multiplier to prevent test from OOM'ing until its more ram efficient
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367392 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 02:15:44 +00:00
Michael McCandless
ac55f762b0
LUCENE-3892: register new PF
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1367339 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 22:21:19 +00:00
Michael McCandless
94aecff6c3
LUCENE-3892: remove oal.codecs.pfor (it's slower than block); add new BlockPacked postings format (copy of Block postings format except it uses oal.util.packed for packed ints encode/decode)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1367338 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 22:15:06 +00:00
Michael McCandless
72f99b47b4
LUCENE-4230: allow consumer to specify that payloads are not require when pulling D&PEnum, so codec can optimize if possible
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367186 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 17:31:34 +00:00
Chris M. Hostetter
8f20844ee9
SOLR-3674: better docs, example, test for PathHierarchyTokenizerFactory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367178 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 17:08:58 +00:00
Robert Muir
bf73f1f28b
LUCENE-3884: Move ElisionFilter out of .fr package
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367096 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 14:03:27 +00:00
Michael McCandless
e101167585
upgrade checkJavaDocs.py to python3
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367071 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 12:49:40 +00:00
Michael McCandless
08baaf03e5
LUCENE-4190: restrict allowed filenames to reduce risk of deleting non-lucene file from the index directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366881 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 17:59:49 +00:00
Michael McCandless
85b13adcd4
LUCENE-4269: remove BalancedSegmentMergePolicy (use TieredMergePolicy instead)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366872 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 16:41:47 +00:00
Robert Muir
2b10f1617d
LUCENE-4109: BooleanQueries are not parsed correctly with the flexible queryparser
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366854 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 14:38:37 +00:00
Uwe Schindler
4a54cc8b16
Allow detecting of Java 8
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366850 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 14:04:16 +00:00
Uwe Schindler
c6455c6da2
Nicer solution to generic array creation (still problematic in Java 6, but correct in Java 7 if done this way)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366832 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 12:36:14 +00:00
Uwe Schindler
8318dff526
Fix rawtypes warning in java 7 and 8, make the SuppressWarnings more local
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366823 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 12:08:32 +00:00
Michael McCandless
9798ad2498
fix confusing IW infoStream message
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366809 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 10:41:38 +00:00
Uwe Schindler
0ebfb6a2f7
LUCENE-4268: Fix test bug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366756 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 19:57:32 +00:00
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
Uwe Schindler
81cf4938ca
LUCENE-3312: Merge up to trunk r1366638
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1366643 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 11:27:51 +00:00
Uwe Schindler
a536dbf6ed
LUCENE-3312: Apply patch 8
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1366638 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 10:56:46 +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
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
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
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
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
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
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
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
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
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
d58041803c
LUCENE-2510: fix more factory arg bugs found by TestFactories
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365426 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 03:33:29 +00:00
Robert Muir
862dd75357
LUCENE-2510: add note
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365416 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 02:59:34 +00:00
Robert Muir
07f84ee57f
LUCENE-2510: add more tests, fix bugs found by test where misconfigured factories wouldnt error out until runtime
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365414 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 02:54:31 +00:00
Robert Muir
ef25010554
LUCENE-2510: add tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365375 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 00:58:05 +00:00
Uwe Schindler
2fbd91eb5c
LUCENE-2510: General improvement: Be more picky about service name in SPI, as loaded from untrusted source; simplify code; improvement in Solr's ResourceLoader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365345 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 23:28:07 +00:00
Uwe Schindler
2a7fd7f174
LUCENE-2510: Replace crazy Apache Harmony(tm) parser code by a faster and easier-to-understand one
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365317 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 21:52:51 +00:00
Uwe Schindler
95a8d0a01c
LUCENE-2510: revert
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365294 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 21:19:01 +00:00
Uwe Schindler
f099b31b5a
LUCENE-2510: Fix lookup issue in not-yet tested code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365283 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 21:07:56 +00:00
Robert Muir
ab2a7e389f
LUCENE-3892: null these massive static data structures out so they can be GC'ed and wont OOM tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365257 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 19:49:32 +00:00
Uwe Schindler
ca69c47866
LUCENE-2510: Improve the Maven-like pattern detection for the named loader. TODO: We should create an ant task that creates the META-INF/services list from filesets
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365239 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 19:24:46 +00:00
Robert Muir
de67b889c6
LUCENE-2510: fix javadocs linter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365225 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 19:01:55 +00:00
Uwe Schindler
d1ad745f53
LUCENE-2510: Make the SOLR backwards layer be implemented directly inside SolrResourceLoader (sorry for the generics and still needed suppress warnings... - maybe somebody has an idea for the map inside map)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365215 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 18:44:40 +00:00
Uwe Schindler
b87e306e85
LUCENE-2510: minor change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365145 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 15:53:29 +00:00
Uwe Schindler
baa71b943f
LUCENE-2510: Some cleanup in the new service class iterator + better messages
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365143 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 15:49:46 +00:00
Uwe Schindler
fe05af5e84
LUCENE-2510: Use a custom ServiceLoader in oal.util to replace java.util.ServiceLoader: It does not instantiate the classes, it only loads them without initializing them and it 100% respects classpath order, so the IBM J9/Harmony workaround is gone.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365122 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 15:22:48 +00:00
Robert Muir
5b1664349a
LUCENE-4044: dont use instances just class names
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365106 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 15:01:12 +00:00
Uwe Schindler
75b3fe9c81
LUCENE-2510: remove unchecked cast :-) It's much easier!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365030 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 13:03:27 +00:00
Uwe Schindler
6e966079b1
LUCENE-2510: Fix generics and remove Häckidy-Hick-Hack (its not needed here, as names should be unique; we dont have the preflex codec special case)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365026 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 12:58:13 +00:00
Tommaso Teofili
22970d7325
no Jira - trivial javadoc change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364967 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 10:37:06 +00:00
Uwe Schindler
2b53e08898
LUCENE-4245: use IOUtils to close everything in finally block
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364931 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 08:09:27 +00:00
Robert Muir
18587e58c9
fix reuse bug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364912 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 06:28:24 +00:00
Uwe Schindler
28ced818d3
LUCENE-4245: better record interruption
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364908 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 06:19:59 +00:00
Robert Muir
5249e46aee
LUCENE-4044: port over synfilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364907 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 06:18:49 +00:00
Robert Muir
dfe9a8444a
LUCENE-4044: port over stempel/uima
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364905 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 06:08:49 +00:00
Uwe Schindler
6fa408286d
LUCENE-4245: Addon: handle failures during flushing by enforcing CMS to stop
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364903 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 06:05:20 +00:00
Robert Muir
d4eb7f40b0
LUCENE-4044: port over smartcn
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364900 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:45:59 +00:00
Robert Muir
274a48b0e0
LUCENE-4044: port over morfologik
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364899 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:41:25 +00:00
Robert Muir
e7b30a7d8d
LUCENE-4044: port over icu module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364897 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:27:52 +00:00
Uwe Schindler
22a8a7cde9
LUCENE-4245: Make IndexWriter#close() and MergeScheduler#close() non-interruptible
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364896 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:26:03 +00:00
Robert Muir
78232bf295
LUCENE-4044: register phonetic factories
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364893 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:14:55 +00:00
Robert Muir
e7ff3048ce
LUCENE-4044: get all lucene tests passing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364891 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:11:20 +00:00
Robert Muir
5cc38490d0
LUCENE-4044: get analysis/common tests passing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364887 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 04:58:28 +00:00
David Wayne Smiley
035c057cbf
LUCENE-4197 rename CachedDistanceValueSource
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364882 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 04:45:32 +00:00
Robert Muir
134a4a400a
LUCENE-4044: fix some more tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364881 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 04:36:52 +00:00
Robert Muir
ca658fd75d
LUCENE-4044: fix more compil
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364879 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 04:05:36 +00:00
Robert Muir
73d4b55f7e
LUCENE-4044: more factories and tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364878 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 03:59:34 +00:00
Robert Muir
f0cf51b02f
LUCENE-4044: add services for kuromoji
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364877 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 03:34:26 +00:00
Robert Muir
55e5e56604
LUCENE-4044: add the rest for common/
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364876 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 03:31:00 +00:00
Robert Muir
44fda553d6
LUCENE-4044: few steps closer to fixing compile
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364875 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 03:12:43 +00:00
Robert Muir
fe2d1194fb
LUCENE-2510: apply movefactories.sh
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364867 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 01:56:39 +00:00
Robert Muir
2365f14f7f
LUCENE-4044: add spi support to Tokenizer/CharFilter/TokenFilter factory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364863 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 01:48:56 +00:00
Robert Muir
2ba546ef2e
LUCENE-4249: fix PayloadTermQuery to defer to the PayloadFunction in explain
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364812 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 21:48:57 +00:00
Robert Muir
33f6da286e
merge trunk (1364720-1364799)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1364800 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 20:57:31 +00:00
Robert Muir
29c15ddb20
fix test to use TEST_VERSION_CURRENT (to unbreak branch_4x)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364797 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 20:51:56 +00:00
Robert Muir
e0d137f8e2
LUCENE-4828: add AssertingPostingsConsumer, fix minor inconsistencies in producers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364792 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 20:46:08 +00:00
David Wayne Smiley
618c38fd98
LUCENE-4223 spatial docs: overview.html, SpatialStrategy, and added SpatialExample.java sample
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364782 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 20:19:02 +00:00
Robert Muir
c0f8cd69a8
LUCENE-4248: add producer assertions to Codec API / fix producer inconsistencies
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364763 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 19:26:00 +00:00
Robert Muir
3a0464f165
LUCENE-3892: merge trunk (1364688-1364719)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1364720 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 17:13:49 +00:00
Robert Muir
ed85646812
LUCENE-3892: fix SimpleText reuse bug w/ start/endOffset
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364714 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 17:10:59 +00:00
Robert Muir
02bf38865a
LUCENE-3892: merge trunk (1363348-1364687)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1364696 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 16:06:25 +00:00
Robert Muir
163a5a1c0e
LUCENE-3892: fix producer in this test to pass -1 if we arent indexing offsets
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364693 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 15:58:24 +00:00
Robert Muir
ec0eff6dcf
LUCENE-3892: add TestPostingsFormat from pforcodec_3892 branch to get it in jenkins
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364688 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 15:52:39 +00:00
Shai Erera
7022593713
simplify DirTaxoWriter.addCategory synchronization in an attempt to make concurrency more safer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364618 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 13:04:44 +00:00
Shai Erera
aa28aff77e
LUCENE-4234: Exception when FacetsCollector is used with ScoreFacetRequest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364576 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 10:58:56 +00:00
Uwe Schindler
c945fb98fb
Copy over changes from 3.6 branch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364568 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 10:26:46 +00:00
Adrien Grand
d0ac05dcfd
LUCENE-4239: Provide access to PackedInts' blocks <-> values conversion methods (first iteration).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1364157 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 19:26:45 +00:00
Michael McCandless
832800b537
explain that app should not change returned BytesRef payload
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364107 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 14:39:36 +00:00
Michael McCandless
91150e2477
also test extremes (1, MAX_VALUE) for DirectPF's configs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364106 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 14:36:57 +00:00
Michael McCandless
cd2bf59fdf
LUCENE-3892: turn on all options testing in TestPostingsFormat; fix it to skip offsets if the PF can't index them
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1364085 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 13:31:16 +00:00
Michael McCandless
5d36bf73e1
LUCENE-3892: fix SimpleText reuse bug w/ start/endOffset
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1364083 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 13:30:42 +00:00
Robert Muir
f55c8d1247
fix bugs in DirectPF's lowFreq d-and-p-enum, set payload.bytes/offset/length in getPayload, also skip payload pointer correctly when scanning over deleted docs in nextDoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364070 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 12:13:19 +00:00
Robert Muir
24092aab4c
add toString for debugging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364064 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 10:43:20 +00:00
Robert Muir
0d0ad900cb
TestNRTThreads wants a MockDirectoryWrapper always
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364031 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 01:21:13 +00:00
Robert Muir
b9c088dc06
test really needs MockDirectoryWrapper always
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364026 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 00:28:26 +00:00
Robert Muir
62ae7219b8
LUCENE-4238: add Mark's test... occasionally slow so its @Nightly for now
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364006 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 22:49:05 +00:00
Robert Muir
22b5c84800
LUCENE-4243: MockDirectoryWrapper synchronizes too much
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363971 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 22:09:26 +00:00
Michael McCandless
6ccd856bae
LUCENE-3892: move readBlock/skipBlock up as static methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1363886 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 18:18:16 +00:00
Robert Muir
0ac72088e8
turn assertingDirectoryReader back on
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363877 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 17:15:24 +00:00
Robert Muir
359850aec5
LUCENE-4237: add build option to build the javadocs index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363871 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 16:48:02 +00:00
Robert Muir
6a4cdbeb05
LUCENE-4240: don't invoke the Analyzer for not-analyzed fields, fix offsetGap to just take fieldName
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363821 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 15:05:58 +00:00
Michael McCandless
2587cb1577
LUCENE-4227: add changes entry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363811 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 14:46:26 +00:00
Michael McCandless
b85dc82b4f
LUCENE-4227: add DirectPostingsFormat, to hold all postings in simple uncompressed arrays
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363803 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 14:33:43 +00:00
Michael McCandless
1e49670a55
LUCENE-4225: BlockPostingsFormat
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1363421 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 16:53:58 +00:00
Michael McCandless
cf36fb9a58
LUCENE-3892: merge in trunk changes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1363400 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 15:58:54 +00:00
Robert Muir
d408b72f81
don't divide by 0 in the checkindex status: it totally confuses people to see the \uFFFD for the NaN
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363379 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 15:21:12 +00:00
Martijn van Groningen
a965d6fdf7
Fix of rare FC insanity during tests that have occurred in grouping & joining tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363272 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 09:48:04 +00:00
Robert Muir
5a2d0bc654
LUCENE-2686, LUCENE-3505: Fix various bugs in BooleanQuery, clean up scorer navigation API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363115 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 21:04:18 +00:00
Uwe Schindler
cee33695d3
LUCENE-4235: Remove enforcing of Filter rewrite for NRQ queries
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363049 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 19:08:24 +00:00
Michael McCandless
843d2d729e
default PositiveIntOutputs to doShare=true
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363004 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 16:21:32 +00:00
Martijn van Groningen
15542518ba
Fixed build error when building grouping module from the grouping module directory.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362898 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 12:04:25 +00:00
Michael McCandless
622d6c201d
add/improve FST asserts to detect > 2.1 GB FST
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362667 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 21:33:36 +00:00
Robert Muir
e003b49cab
LUCENE-4228: refactor CharFilter to be a java.io.FilterReader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362442 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 10:53:28 +00:00
Christopher John Male
0eaf3d8b90
LUCENE-4165: Fixed incorrect location of changes entry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362372 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 05:59:27 +00:00
Christopher John Male
75504b9d7a
LUCENE-4165: Removed closing of Reader from HunspellDictionary so InputStreams are not closed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362371 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 05:46:32 +00:00
Tommaso Teofili
27c545432c
[LUCENE-4207] - substituted Version.LUCENE_50 with TEST_VERSION_CURRENT in UIMABaseAnalyzerTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362281 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 22:06:48 +00:00
Martijn van Groningen
905510ace8
LUCENE-4153: Changed description.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362225 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 19:27:57 +00:00
Martijn van Groningen
858dbbdba4
LUCENE-4153: Added option to fast vector highlighting via BaseFragmentsBuilder to
...
respect field boundaries in the case of multivalued fields.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362223 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 19:24:49 +00:00
Robert Muir
963efbfea2
LUCENE-2191: rename Tokenizer.reset(Reader) to Tokenizer.setReader(Reader)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362074 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 14:57:00 +00:00
Robert Muir
96ac778338
LUCENE-4214: TestJoinUtil sometimes takes minutes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362025 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 13:21:06 +00:00
Michael McCandless
dbf09d8883
LUCENE-3892: add nocommits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1362015 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 13:00:48 +00:00
Michael McCandless
9251168dfd
LUCENE-3892: get numBytes & bit width into single int header
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1362013 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 12:55:26 +00:00
Michael McCandless
eb4c26db80
LUCENE-4222: return MB not Bytes from getFloorSegmentMB
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361966 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 10:28:04 +00:00
David Wayne Smiley
c36c959a80
LUCENE-4197 remove 3 unused classes in the spatial module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361910 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 05:27:26 +00:00
Robert Muir
7002e7cb09
test some untested analysis corner cases
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361896 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 03:34:46 +00:00
Robert Muir
dc27d24e0b
LUCENE-4180: Bump Constants.LUCENE_MAIN_VERSION before beta release
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361857 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 01:38:10 +00:00
Tommaso Teofili
2e8aac9300
[LUCENE-4207] - updated LuceneVersion to 5.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361819 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 21:54:13 +00:00
Uwe Schindler
cc395993e3
LUCENE-4220: Commit missing license files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361745 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 17:55:55 +00:00
Uwe Schindler
67b1fdfc5d
LUCENE-4220: Remove the buggy JavaCC-based HTML parser in the benchmark module and replaced by NekoHTML
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361741 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 17:34:47 +00:00
Robert Muir
383d17e6a5
LUCENE-4221: CheckIndex is overeager for term vector offsets bounds checks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361701 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 13:45:27 +00:00
Uwe Schindler
bf7a69fe16
LUCENE-4217: Make it easier to configure clover by adding correct test properties / mem size automatically
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361512 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 10:11:50 +00:00
Uwe Schindler
c0d02bc3c8
LUCENE-4217: Add the possibility to run tests with Atlassian Clover loaded from IVY. A development License solely for Apache code was added in the tools/ folder, but is not included in releases
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361480 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 07:16:33 +00:00
Uwe Schindler
0b5eaa8b68
SOLR-3328: Fix file attributes partially (needs more verification)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361408 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 21:47:22 +00:00
Robert Muir
9c9039582e
LUCENE-4211: add AssertingReader/Codec
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361243 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 14:45:19 +00:00
Michael McCandless
2c0f1e2a4f
LUCENE-3892: fix maxChain bug; support numBits=0 (all ints == 0)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1360993 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 23:01:19 +00:00
Michael McCandless
7e35195b59
LUCENE-4211: fix another test bug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360979 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 21:59:41 +00:00
Michael McCandless
abf9894023
LUCENE-4211: fix one test bug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360977 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 21:56:31 +00:00
David Wayne Smiley
e43973683e
LUCENE-4192 remove spatial isPolyField and createField
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360687 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 14:06:30 +00:00
Robert Muir
2c7e1721b7
fix jar-checksums task
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360645 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 12:07:46 +00:00
Uwe Schindler
9ad95cb588
LUCENE-3950: Use ivy.cachepath for Apache RAT
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360619 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 10:34:11 +00:00
Robert Muir
7b2abe6e19
LUCENE-3950: load rat via ivy so you dont need it in .ant/lib etc, invoke from validate
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360475 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 23:27:21 +00:00
Adrien Grand
817eeb6252
LUCENE-4207: Make TestPackedInts faster.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360453 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 22:39:23 +00:00
Uwe Schindler
53cfbcda0d
LUCENE-4199, LUCENE-4202, LUCENE-4206: Remove noise by not-existing XML CDATA in task; cleanup build.xmls
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360451 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 22:34:39 +00:00
Tommaso Teofili
cf53015824
[LUCENE-4207] - reduced the multiplier factor of 10 in random string checks to fasten tests (and re enabling wrongly @Ignored test)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360395 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 20:54:36 +00:00
Robert Muir
dc90a019a2
LUCENE-4212: Tests should not use new Random() without args
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360354 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 19:10:08 +00:00
Uwe Schindler
37210f0cd6
Simplify the one-api-file case
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360272 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 16:25:22 +00:00
Robert Muir
bcb3e79b7d
optimize check-forbidden-apis to not compile things twice
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360254 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 16:08:08 +00:00
Robert Muir
124edc221c
LUCENE-3877: Lucene should not call System.out.println
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360240 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 15:52:40 +00:00
Michael McCandless
aa87124205
fix test: don't call .nextDoc() if the enum had already returned NO_MORE_DOCS
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360205 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 14:36:06 +00:00
Michael McCandless
101ea65be9
LUCENE-3892: suppress exceptions from close() while we are already handling an exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1360184 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 14:17:20 +00:00
Michael McCandless
a227add782
LUCENE-3892: docs/cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1360169 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 13:29:11 +00:00
David Wayne Smiley
04bc7ee821
LUCENE-4188 inlined/removed SpatialStrategy.createStoredField()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360028 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 06:28:39 +00:00
David Wayne Smiley
401bfde9bd
LUCENE-4188 remove field storage from createField
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360021 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 06:20:27 +00:00
Uwe Schindler
891dcd75e9
LUCENE-4209: Enforce cleanup on success and failure while sorting partitions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359953 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 23:41:09 +00:00
Robert Muir
20b748a484
LUCENE-4209: fix another suggester leak: dont leave behind the file when rename fails (/tmp is its own filesystem)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359946 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 23:06:08 +00:00
Robert Muir
524fa2d4f6
LUCENE-4209: suggester fixes to not leave behind files in /tmp
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359873 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 20:04:33 +00:00
Adrien Grand
e48f99c36c
Fix error-prone header check.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359861 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 19:52:46 +00:00
Uwe Schindler
0446940b7d
LUCENE-4206: Allow check-forbidden-apis to also investigate calls to subclasses of forbidden APIs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359827 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 18:32:31 +00:00
Christian Moen
a15331043f
Added JapaneseIterationMarkCharFilter (LUCENE-4201)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359613 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 11:46:09 +00:00
Robert Muir
e78a40adcd
LUCENE-4202: add java 6 deprecated fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359611 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 11:44:56 +00:00
Uwe Schindler
4527c4b3f3
LUCENE-4202: Add support for fields to check-forbidden-apis; cleanup classpath; improve logging messages
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359590 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 10:47:03 +00:00
Steven Rowe
160eac52ca
fix typos (merge from branch_4x)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359371 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 19:49:17 +00:00
Robert Muir
f55d87ee36
LUCENE-4199: split deprecated jdk methods into their own file for easier maint
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359355 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 19:28:25 +00:00
Robert Muir
cd4d6db5cd
LUCENE-4199: specify these classes correctly
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359327 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 18:19:34 +00:00
Robert Muir
aa13466422
LUCENE-4199: disallow deprecated jdk methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359322 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 18:11:36 +00:00
Michael McCandless
cda371db21
LUCENE-3892: close IndexOutput on exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1359299 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 17:30:25 +00:00
Uwe Schindler
27aa2f6a28
LUCENE-3312: Merge up to trunk HEAD. There was a really huge change (LUCENE-4199).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1359283 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 17:04:57 +00:00
Uwe Schindler
2f123d1209
Fix CRLF problem with running python on windows /and/or cygwin when creating java source files. Also fix broken generated license header.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359275 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 16:50:25 +00:00
Robert Muir
cc110d2119
LUCENE-4199: add the Formatter ctors that dont take Locale
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359259 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 16:24:26 +00:00
Robert Muir
6ed449c40e
LUCENE-4199: add another missing one
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359255 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 16:16:29 +00:00
Robert Muir
5e8cd291dd
LUCENE-4199: fix javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359249 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 16:09:20 +00:00
Robert Muir
4138528889
LUCENE-4199: add default local DecimalFormat ctors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359238 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 16:03:57 +00:00
Uwe Schindler
3582fea429
LUCENE-4199: Remove comments only left in for backporting support
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359230 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 15:46:39 +00:00
Uwe Schindler
e3813f8030
LUCENE-4199: Add a new target "check-forbidden-apis", that parses all generated .class files for use of APIs that use default charset, default locale, or default timezone and fail build if violations found. This ensures, that Lucene / Solr is independent on local configuration options
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359202 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 15:03:56 +00:00
Uwe Schindler
33deddabf1
LUCENE-4199: Add some additional checks and better error messages to task, so it fails on empty signature list or empty class file set.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359173 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 13:54:37 +00:00
Uwe Schindler
e7437a7d0c
LUCENE-4199: cleanup filesets to check; disable Solr's DIH checking, as Locale/Charset support is broken (SOLR-1916)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359167 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 13:35:34 +00:00
Robert Muir
7332ceac17
LUCENE-4199: fix todo, do this the same as other processors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359154 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 13:16:31 +00:00
Uwe Schindler
dcab2d6d53
LUCENE-3312: Reverse merged revision(s) 1-0 from lucene/dev/trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1359151 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 13:13:18 +00:00
Robert Muir
5fea62f7c8
LUCENE-4199: allow setting of tz used for date range parsing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359149 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 13:12:41 +00:00
Uwe Schindler
00d53046db
LUCENE-3312: Apply lucene-3312-patch-07.patch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1359139 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 13:06:35 +00:00
Uwe Schindler
e4b8dc640e
LUCENE-4199: Reverse merged revision(s) 1-0 from lucene/dev/trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359007 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 09:49:58 +00:00
Dawid Weiss
9381a771ab
Typo in class name corrected.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358994 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 09:26:47 +00:00
Robert Muir
9df919c5ba
LUCENE-4199: fix more charset/locale usages
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358890 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 01:17:15 +00:00
Robert Muir
9c742d4de4
LUCENE-4199: fix more locale violations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358791 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 17:27:56 +00:00
Robert Muir
9e7880eaa4
LUCENE-4199: add more violations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358774 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 16:16:48 +00:00
Robert Muir
3d964bea63
LUCENE-4199: fix more default Locale uses
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358761 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 15:44:41 +00:00
Uwe Schindler
700f867c7e
LUCENE-4199: Next usecase of FastCharStream for HTMLParser
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358760 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 15:33:29 +00:00
Uwe Schindler
88da536d39
LUCENE-4199: Remove stupid System.out in FastCharStream (this class is hand-written, not generated!)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358756 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 15:26:31 +00:00
Uwe Schindler
581f0c8afc
LUCENE-4199: Hide InputStream ctors from JFlex generated code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358754 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 15:02:39 +00:00
Robert Muir
571faf7aa5
add missing assert
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358751 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 14:50:59 +00:00
Robert Muir
256214c4b5
improve the assert to make this easier to debug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358748 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 14:41:58 +00:00
Robert Muir
8bc95251ae
LUCENE-4199: this is ok, just make it explicit what we are doing and add comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358747 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 14:24:27 +00:00
Robert Muir
671473eb5c
LUCENE-4199: add more default-locale-using methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358745 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 14:10:02 +00:00
Uwe Schindler
0ca4f678ed
LUCENE-4199: update javadocs and printout for no longer method-only checks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358653 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 22:03:22 +00:00
Yonik Seeley
e61e9134a8
SOLR-2702: add replication support to NRTCachingDirectoryFactory and make it the default
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358650 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 21:48:19 +00:00
Uwe Schindler
c728aca01b
LUCENE-4199: fix flexible standard query parser by cloning the user CharStream implementation without unicode bugs from classic
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358649 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 21:41:51 +00:00
Uwe Schindler
860ef9cea9
LUCENE-4199: Fix XML QueryParser XML handling (don't use ByteArrayOutputStream). But it should still suppress xml header with encoding when transformed to string... (TODO)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358638 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 20:55:08 +00:00
Robert Muir
7b6d126f0b
LUCENE-4199: fix test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358636 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 20:24:09 +00:00
Robert Muir
73a7da17ab
LUCENE-4199: more default locale/encoding fixes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358635 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 20:18:56 +00:00
Robert Muir
5f38c1d4de
LUCENE-4199: fix more violations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358600 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 16:41:50 +00:00
Robert Muir
b6a4748f21
make Locale.ENGLISH/US -> ROOT for locale-independent operations, now that we are on java6
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358594 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 15:42:40 +00:00
Robert Muir
79cb46698e
LUCENE-4199: fix more violations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358587 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 15:12:23 +00:00
Robert Muir
2b4f7762cd
LUCENE-4199: fix some String.formats
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358575 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 14:30:52 +00:00
Uwe Schindler
a79a551305
LUCENE-4199: add some hundreds more :-)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358566 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 13:54:00 +00:00
Robert Muir
8834e675ca
LUCENE-4199: fix more charset/locale violations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358564 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 13:30:52 +00:00
Robert Muir
5a6a9e7f80
LUCENE-4199: more test fixes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358561 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 13:10:20 +00:00
Robert Muir
1590b5f7b8
LUCENE-4199: fix more default charset uses
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358558 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 12:53:07 +00:00
Robert Muir
bc91650ae8
LUCENE-4199: fix more default charset uses
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358557 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 12:48:02 +00:00
Uwe Schindler
50ede4050e
LUCENE-4199: update list again
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358556 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 12:41:02 +00:00
Robert Muir
d69c73c027
LUCENE-4199: fix more default charset uses
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358555 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 12:25:16 +00:00
Uwe Schindler
6e9890c9ed
LUCENE-4199: fix of my broken list: add more discouraged APIs -> new bugs found (ran test in wrong checkout *g*)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358554 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 12:23:41 +00:00
Uwe Schindler
0ef38dd020
LUCENE-4199: add more discourages APIs (no new bugs found by that)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358552 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 12:16:09 +00:00
Robert Muir
ff5244ca3a
LUCENE-4199: don't use default charset
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358551 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 12:12:13 +00:00
Robert Muir
f91f2e9cdb
LUCENE-4199: commit uwe's patch with check-forbidden-apis task
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358549 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 12:04:22 +00:00
Robert Muir
fcfaf3f0f5
also add a nice param name 'strategy' instead of p0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358386 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 19:58:08 +00:00
David Wayne Smiley
6104f180a1
LUCENE-4197 SpatialArgs.toString() shouldn't be overloaded with a ctx – not needed for its purpose.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358380 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 19:49:57 +00:00
Robert Muir
007b8d6a82
add clover hack
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358377 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 19:48:28 +00:00
Robert Muir
c746415d08
LUCENE-4174: tone down the now really slow analysis tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358149 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 11:56:47 +00:00
Robert Muir
4aa31b1e19
LUCENE-4174: tone down @Slow test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358123 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 11:13:24 +00:00
Dawid Weiss
bb1190c05d
LUCENE-4194: more solr default encoding fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358107 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 10:29:29 +00:00
Uwe Schindler
637fa5d715
did not help :(
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357952 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 21:46:30 +00:00
Uwe Schindler
1db6d571eb
Commit lucene-3312-patch-06.patch (merged to current trunk and formatting changes in IR removed)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3312@1357938 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 21:37:19 +00:00
Uwe Schindler
64608206d0
sorry, typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357707 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 15:59:21 +00:00
Uwe Schindler
b1328f9c66
Disable clover analysis in this test.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357703 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 15:53:45 +00:00
Dawid Weiss
8a0e3198ca
LUCENE-4194: more encoding fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357636 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 14:41:03 +00:00
Robert Muir
1713e0bcc5
LUCENE-4195: codec package documentation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357611 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 13:59:42 +00:00
Robert Muir
9c825c3184
LUCENE-4194: fix test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357595 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 13:24:30 +00:00
Dawid Weiss
64407ad2ff
LUCENE-4194: just a taste of what I mean by encoding-sensitive.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357565 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 11:46:33 +00:00
Dawid Weiss
83aa0d66a1
Always re-read ivy's configuration.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357552 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 11:06:08 +00:00
Dawid Weiss
9bbc6c7412
Fixup of file.encoding property.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357544 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 10:40:44 +00:00
Dawid Weiss
b57a83e50a
LUCENE-4094: Support overriding file.encoding on forked test JVMs
...
(force via -Drandomized.file.encoding=XXX). (Dawid Weiss)
LUCENE-4189: Test output should include timestamps (start/end for each
test/ suite). Added -Dtests.timestamps=[off by default]. (Dawid Weiss)
LUCENE-4110: Report long periods of forked jvm inactivity (hung tests/ suites).
Added -Dtests.heartbeat=[seconds] with the default of 60 seconds.
(Dawid Weiss)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357543 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 10:40:01 +00:00
Robert Muir
80c5475725
LUCENE-4190: revert. lucene isn't a file manager
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357532 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 09:55:16 +00:00
Dawid Weiss
e91e59af95
Correcting getByte() sensitive to local file.encoding.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357493 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 08:49:17 +00:00
David Wayne Smiley
c92eb67f6d
LUCENE-4099 remove SpatialFieldInfo (and corresponding generics) and put fieldName into Strategy instead of methods. Thus an instance of SpatialStrategy is now a per-field object, not per-fieldType.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357451 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 03:16:23 +00:00
Michael McCandless
7afaab4589
LUCENE-3892: fix compilation error
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1357354 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 18:01:28 +00:00
Michael McCandless
3fb11c875d
LUCENE-3892: small cleanups to For/PFor postings formats
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1357349 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 17:48:02 +00:00
Michael McCandless
0c670cbf4b
LUCENE-3892: revive BulkVInt postings format (from old bulk branch)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1357347 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 17:47:38 +00:00
Robert Muir
458cb4e59a
LUCENE-4190: don't delete files in the index directory unless they begin with an underscore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357346 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 17:46:28 +00:00
Michael McCandless
1e5b9e12d8
dead code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1357225 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 11:10:38 +00:00
Michael McCandless
4985b07040
rename set -> copyFrom in IntIndexInput.Index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1357220 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 10:38:36 +00:00
Michael McCandless
48d2049634
tighten up FixedIntBlockIndexInput
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1357217 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 10:32:51 +00:00
Adrien Grand
0c05cb7c48
LUCENE-4080: Make SegmentReader.numDeletedDocs() always reliable.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357195 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 09:39:47 +00:00
Adrien Grand
e96b143b6a
LUCENE-4161: Make packed int arrays usable by codecs.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357159 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 08:17:02 +00:00
Michael McCandless
21a6450e83
make some fields private/final; add whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1357026 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 00:43:04 +00:00
Michael McCandless
1616749915
remove dead code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1357024 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 00:33:19 +00:00
Michael McCandless
dae7f3e56a
use python3.2 for javadocs link checking (its builtin HTML parser is more strict than 2.7's)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356797 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 15:50:14 +00:00
Adrien Grand
1646750440
LUCENE-4184: Performance improvements to Packed64SingleBlock.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356640 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 09:35:06 +00:00
Uwe Schindler
d653fbc449
Merged revision(s) 1356608 from lucene/dev/branches/branch_4x:
...
LUCENE-4183: Cleanup CFS reader exeption handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356614 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 08:44:00 +00:00
David Wayne Smiley
0963bc09b3
Added some documentation to the spatial.query package. Some reformatting too.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356561 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 03:19:03 +00:00
Michael McCandless
5b4e1aea06
LUCENE-3892: add PForPostingsFormat
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1356531 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 00:43:06 +00:00
Robert Muir
8f323e2dea
merge this sentence back together
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356437 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 19:50:35 +00:00
Mark Robert Miller
38fc03163a
fix javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356435 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 19:43:52 +00:00
Adrien Grand
8134a36e82
PackedInts: backward-compatibility tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356228 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 13:55:45 +00:00
Uwe Schindler
9cb633d5ca
LUCENE-4155: Move remaining test to correct package.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356192 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 11:46:24 +00:00
David Wayne Smiley
2a05dbbb3d
removed @author
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356083 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 06:49:11 +00:00
David Wayne Smiley
132175856f
LUCENE-4157 Ported the Solr 3 spatial test to Lucene spatial. Did a few minor other things too.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356081 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 06:47:49 +00:00
Dawid Weiss
6407d49ae3
LUCENE-4160: don't take into account global tests.iters in this test.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355669 13f79535-47bb-0310-9956-ffa450edef68
2012-06-30 09:01:07 +00:00
Dawid Weiss
30e17530de
Ignoring until I figure out what the heck is happening.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355563 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 21:24:34 +00:00
Adrien Grand
2b3ee876a7
LUCENE-4171 entry was in the wrong section.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355352 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 13:03:07 +00:00
Adrien Grand
1e21e6ceec
LUCENE-4171: Performance improvements to Packed64 (Toke Eskildsen).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355346 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 12:52:54 +00:00
Robert Muir
32a7d50eb3
LUCENE-4178: default FieldType.tokenized to true
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355311 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 11:06:59 +00:00
Dawid Weiss
51c387731b
LUCENE-4181: Change the semantics of @Slow on tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355310 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 10:55:26 +00:00
Dawid Weiss
11f2885a12
LUCENE-3832: Port BasicAutomata.stringUnion from Brics to Lucene.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355302 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 10:02:37 +00:00
Sami Siren
f2afde8425
add missing header
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355276 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 09:01:02 +00:00
Dawid Weiss
b599cdf80f
LUCENE-4160: making tests more robust by restoring before-the-test number of failures.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355263 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 08:25:07 +00:00
Dawid Weiss
63eefa822f
LUCENE-4160: Bring back the functional equivalent of tests.iters.min. Added two properties: -Dtests.maxfailures=M and -Dtests.failfast=[true/false/yes/no/on/off] which control skipping tests after the first M failures have been hit or after the first failure (failfast is an alias for tests.maxfailures=1).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355258 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 08:07:56 +00:00
David Wayne Smiley
9349890f28
LUCENE-4167 migrate com.spatial4j.core.query to Lucene spatial. migrate UnsupportedSpatialOperation too.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355238 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 05:09:57 +00:00
Robert Muir
f008bba605
fixup changes entries that didnt make the alpha
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355204 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 01:48:24 +00:00
David Wayne Smiley
5de55e3ef4
Add ASL header
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355156 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 21:00:47 +00:00
David Wayne Smiley
9418494277
LUCENE-4169 LUCENE-4175 mark Lucene spatial classes as @lucene.experimental or @lucene.internal and did a little javadoc enhancement
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355126 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 19:32:24 +00:00
David Wayne Smiley
699b7c7843
LUCENE-4169 mark Lucene spatial classes as @lucene.experimental or @lucene.internal
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355120 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 19:20:06 +00:00
Ryan McKinley
8cd27eb9f7
LUCENE-4175: add missing package-info.java
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355071 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 16:41:47 +00:00
Steven Rowe
fd16190940
LUCENE-4172: clean up redundant throws clauses
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355069 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 16:39:25 +00:00
Robert Muir
93462313c3
LUCENE-4176: fix AnalyzingQueryParser to analyze range endpoints as bytes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355001 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 13:20:15 +00:00
Jan Høydahl
e709e713d2
Fixing Javadoc warnings to make javadocs-all succeed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354864 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 08:56:18 +00:00
Ryan McKinley
8107cff79c
fix javadoc error
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354850 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 08:10:06 +00:00
Ryan McKinley
26d3f1f813
LUCENE-4175: adding bbox strategy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354841 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 07:36:12 +00:00
Dawid Weiss
8127865e2d
LUCENE-4138: Update morfologik (polish stemming) to release 1.5.3. Changed the way morphosyntactic tags are exposed (a list of tags for a single lemma instead of a compound tag).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354840 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 07:35:36 +00:00
Dawid Weiss
25dd0dd17b
Updating test statistics.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354828 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 06:32:07 +00:00
David Wayne Smiley
42abb41cdd
LUCENE-4157 Improve TermQueryPrefixTreeStrategy and move makeQuery impl to SpatialStrategy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354826 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 06:26:59 +00:00
Christopher John Male
c4b08cf35c
LUCENE-4166: Fixed bad type checking of Circle shapes in TwoDoublesStrategy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354801 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 02:51:51 +00:00
Dawid Weiss
21f39d3e1e
LUCENE-4168: Allow storing test execution statistics in an external file.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354468 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 12:45:22 +00:00
Dawid Weiss
f348f0bb99
Replacing hackish with stylish...
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354361 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 08:16:37 +00:00
Mark Robert Miller
1fc4347e41
SOLR-1770: Move the default core instance directory into a collection1 folder
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354308 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 01:48:00 +00:00
Dawid Weiss
b399df8bed
LUCENE-4115: JAR resolution/ cleanup should be done automatically for ant clean/ eclipse/ resolve.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353967 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 11:47:31 +00:00
Shai Erera
82533898f2
LUCENE-4164: Improve IndexWriter.addIndexes(IndexReader) javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353843 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 07:26:44 +00:00
Robert Muir
0b4cae1b5e
fix wrong version number in changes entry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353702 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 19:10:04 +00:00
Simon Willnauer
7c26573fe3
LUCENE-4158: leave stall control on each wakeup call to prevent full flush starvation due to queued flushes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353433 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 08:46:29 +00:00
Uwe Schindler
fcc0fea1f3
LUCENE-4163: Improve concurrency of MMapIndexInput.clone() by using the new WeakIdentityMap on top of a ConcurrentHashMap to manage the cloned instances. WeakIdentityMap was extended to support iterating over its keys
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353101 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 09:38:02 +00:00
Uwe Schindler
a1962d37ba
Prevent incorrect usage of BytesRef as I have seen quite often on the net!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353097 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 09:20:27 +00:00
Michael McCandless
947979e3e5
reduce number of open files in tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353004 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 19:37:09 +00:00
Uwe Schindler
78f215f96e
LUCENE-4155: Javadocs fix (very strange this @see tag...)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352967 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 16:52:14 +00:00
Uwe Schindler
1be9fcd984
LUCENE-4155: Add missing import changes in Kumoroji Tools (unfortunately they are not in eclipse build path, should we fix?! - I have no idea how to do this)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352949 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 16:17:20 +00:00
Uwe Schindler
737bb84db3
LUCENE-4155: Move & hide oal.util classes to better packages to reduce import statements and too many public classes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352942 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 16:04:38 +00:00
Tommaso Teofili
7d3d213c04
[LUCENE-4159] - lucene queries review: adding final modifiers, removing trailing semicolons, using for each loops instead of index based iterations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352795 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 08:17:34 +00:00
Uwe Schindler
a2e8a95f6a
LUCENE-4162: Fix infinite loop on wrong argument in MathUtil.log
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352609 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 16:48:03 +00:00
Michael McCandless
580828461c
LUCENE-4147: fix thread safety issues when IndexWriter's rollback & commit are called simultaneously
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352600 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 16:28:57 +00:00
Simon Willnauer
c4e4b36037
LUCENE-4158: Simplify DocumentsWriterStallControl to prevent further deadlocks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352535 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 14:02:18 +00:00
Simon Willnauer
0ae03a37cf
allow junit tempDir property to be overwritten via system properties
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352504 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 11:49:56 +00:00
David Wayne Smiley
b4eb2841d8
LUCENE-4157 Improve Lucene Spatial testing: removed some base classes and added extensive geohash based test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352420 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 06:05:37 +00:00
Chris M. Hostetter
bc646011f5
LUCENE-4146: improvements to how -Dtests.iters works with -Dtests.method/-Dtestmethod
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352238 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 17:58:08 +00:00
Michael McCandless
c272f90605
add executable bit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1352207 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 16:44:21 +00:00
Michael McCandless
1441cae57c
LUCENE-3892: initial For patch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1352200 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 16:13:44 +00:00
Michael McCandless
6b42ac3cea
rely less on Thread.sleep
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352173 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 15:56:01 +00:00
Shai Erera
da7991ea92
LUCENE-4156: remove synchronization from DirectoryTaxonomyWriter.getSize()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352038 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 10:37:43 +00:00
Shai Erera
c62e24a4f3
remove incorrect comment from IndexSplitter javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351940 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 05:25:28 +00:00
Robert Muir
5cd8d27ba4
don't use assume here
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351879 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 22:03:38 +00:00
Chris M. Hostetter
90cdc559d8
SOLR-3548: Fixed a bug in the cachability of queries using the {!join} parser or the strdist() function, as well as some minor improvements to the hashCode implementation of {!bbox} and {!geofilt} queries
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351839 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 20:27:06 +00:00
Michael McCandless
40f69e143c
don't use Memory/SimpleText postings format when indexing too many tokens from random data
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351829 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 20:08:50 +00:00