11787 Commits

Author SHA1 Message Date
Michael McCandless
cc7c0ea962 also delete broken segments.gen file if thread is interrupted
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1226821 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 15:28:30 +00:00
Michael McCandless
560ffefcf7 add assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1226801 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 15:05:25 +00:00
Robert Muir
6fb676d1a2 test analyzers with multiple threads in BaseTokenStreamTestCase.checkRandomData
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1226793 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 14:50:36 +00:00
Michael McCandless
8b751984d7 close in/out before deleting from cache
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1226471 13f79535-47bb-0310-9956-ffa450edef68
2012-01-02 16:48:05 +00:00
Robert Muir
a4fc20d91e LUCENE-3667: fix broken test optimization (when n > 1000)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1226455 13f79535-47bb-0310-9956-ffa450edef68
2012-01-02 16:16:34 +00:00
Simon Willnauer
33a3c50b02 LUCENE-3665: Make WeightedSpanTermExtractor extensible to handle custom query implemenations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1226417 13f79535-47bb-0310-9956-ffa450edef68
2012-01-02 13:49:23 +00:00
Shai Erera
d5932e1149 LUCENE-3649: port changes from 3x to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1226236 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 11:41:30 +00:00
Yonik Seeley
29fc70c15d tests: fix prepareCommit test - optimize to ensure a single segment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1226198 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 22:33:47 +00:00
Yonik Seeley
c0600cc6dc fix javadoc tag
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1226000 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 00:50:52 +00:00
Yonik Seeley
52a47d09ba SOLR-2992: Add support for IndexWriter.prepareCommit()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225954 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 22:41:50 +00:00
Robert Muir
f5d1e967db LUCENE-3667: make tests reasonable if you dont have a supercomputer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225920 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 21:14:15 +00:00
Martijn van Groningen
5906546f00 LUCENE-3509: Added fasterButMoreRam option for docvalues.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225779 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 09:40:45 +00:00
Steven Rowe
76d1662cb7 - Added license declaration
- Removed unused 'length' param to combine()

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225615 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 18:53:10 +00:00
Robert Muir
b2970db4bc LUCENE-2906: filter to process output of Standard/ICUTokenizer and create overlapping bigrams for CJK
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225433 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 05:04:49 +00:00
Robert Muir
a1a8eda2cd SOLR-2982: increase commons-codec version
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225233 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 16:59:19 +00:00
Robert Muir
b685c0baaa SOLR-2982: add CHANGES.txt entries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225231 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 16:55:15 +00:00
Robert Muir
e2f81e84f2 SOLR-2982: workaround bug in sun javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225228 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 16:51:23 +00:00
Robert Muir
f3869ef3ce SOLR-2982: add Beider-Morse phonetic filter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225211 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 16:00:52 +00:00
Koji Sekiguchi
21822811a9 SOLR-2346: Add a chance to set content encoding explicitly via content type of stream.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225120 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 07:17:55 +00:00
Robert Muir
7c7c7bd077 LUCENE-3662: add note
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1224823 13f79535-47bb-0310-9956-ffa450edef68
2011-12-26 21:36:16 +00:00
Robert Muir
b096910a82 LUCENE-3662: extend LevenshteinAutomata to support transpositions as primitive a edit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1224817 13f79535-47bb-0310-9956-ffa450edef68
2011-12-26 21:18:36 +00:00
Robert Muir
17438c9eac don't allocate 128MB of ram in this assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1223047 13f79535-47bb-0310-9956-ffa450edef68
2011-12-25 04:24:06 +00:00
Steven Rowe
742a565253 Javadoc: Remove redundant method reference.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1223040 13f79535-47bb-0310-9956-ffa450edef68
2011-12-25 02:34:45 +00:00
Michael McCandless
8d55326344 LUCENE-3605: don't sleep in retry loop in SegmentInfos.read
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1222368 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 17:39:33 +00:00
Robert Muir
53fef3a0ac LUCENE-3660: release write lock if IW hits a non-ioexception from IR.indexExists
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1222367 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 17:36:24 +00:00
Grant Ingersoll
6a6d33257e SOLR-2977: add 'fake' excludes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1222234 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 13:59:11 +00:00
Uwe Schindler
8913ecf0aa LUCENE-3631: Remove useless nullcheck; don't call doClose from ctor (it's protected and this violates style)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1221840 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 19:19:32 +00:00
Yonik Seeley
b323c54f6a SOLR-2950: QEC comparator bug fixes, including deleted docs handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1221826 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 18:05:52 +00:00
Uwe Schindler
e14cda1489 LUCENE-3631: Move thread locals to SegmentCoreReaders.java to enable reuse on reopen/NRT.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1221677 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 11:08:27 +00:00
Uwe Schindler
dd7caf4d3a LUCENE-3631: Remove code complexity and make all thread locals look identical. Maybe we need a ThreadLocal for DocValues, too?
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1221653 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 09:06:51 +00:00
Uwe Schindler
9538cce83f LUCENE-3631: Remove dead code (thanks to Clover)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1221632 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 07:06:09 +00:00
Michael McCandless
45f5e829eb LUCENE-3631: just return numDocs from numDocs(); fix wrong IOContext; remove unnecessary final modifier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1221414 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 18:37:03 +00:00
Michael McCandless
4d51b9012b LUCENE-3631: make SegmentReader read-only (IndexWriter now privately tracks the pending deletes against a segment)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1221404 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 18:17:33 +00:00
Uwe Schindler
d1ea4f76f1 LUCENE-3656: Change data type used for Core-/ReaderClosedListener from ConcurrentHashMap to simple synchronized HashSet
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1221369 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 17:59:10 +00:00
Michael McCandless
b13b9ab632 LUCENE-3658: fix bad asserts and concurrency issue in NRTCachingDir
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1221368 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 17:52:00 +00:00
Uwe Schindler
4dc3278d0d Make test not so expensive nightly (we want to test only our ref cleanup functionality not concurrency of the backingMap)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1221195 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 10:53:17 +00:00
Grant Ingersoll
f42b2ffd63 SOLR-2950: Improve QEC performance by dropping field cache use and keeping a local smaller map
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1220983 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 22:39:01 +00:00
Michael McCandless
daa97d0be4 make test more evil
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1220922 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 19:52:52 +00:00
Michael McCandless
4eec465c37 scale back how many docs the test runs to try to avoid OOME
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1220912 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 19:40:02 +00:00
Shai Erera
76ee67257d LUCENE-3635: Allow setting arbitrary objects on PerfRunData
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1220795 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 15:26:42 +00:00
Uwe Schindler
baefbd33ba LUCENE-3653: Remove extra useless thread in weak CHM test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1220705 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 12:14:50 +00:00
Steven Rowe
a6702464b3 add resources directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1220589 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 02:00:28 +00:00
Uwe Schindler
9d8ba277b6 LUCENE-3653: Use no reference queue for get/remove/contains operations, only put (improves pref)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1220555 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 22:31:00 +00:00
Uwe Schindler
3ccd4f4e03 LUCENE-3653: Improve the sophisticated™ backwards layers (VirtualMethod) and instantiation cost in AttributeSource/AttributeFactory (new reflection cache using ConcurrentHashMap has lockless get)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1220458 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 17:11:06 +00:00
Michael McCandless
aee83bf7ee LUCENE-3639: fix a few bugs in shard searching; add basic shard search test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1220426 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 15:24:58 +00:00
Michael McCandless
8472b04326 add missing sync
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1220383 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 12:37:15 +00:00
Erick Erickson
1ff2096aef Fixes for SOLR-2971, valType now optional for
ExternalFileFields and, if present, types float, pfloat, tfloat 
all accepable.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215503 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 14:53:36 +00:00
Uwe Schindler
9b938f0dcd LUCENE-3652: Fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215497 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 14:27:04 +00:00
Erick Erickson
2208b499fa Fix for SOLR-2975, fix tests that failed occasionally
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215487 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 13:46:35 +00:00
Uwe Schindler
53801a53e9 Merged revision(s) 1215483 from lucene/dev/branches/branch_3x: CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215484 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 13:18:04 +00:00