Commit Graph

11819 Commits

Author SHA1 Message Date
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
Uwe Schindler ac96d90b53 LUCENE-3652: Move org.apache.lucene.messages to QueryParser module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215480 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 12:57:41 +00:00
Grant Ingersoll 39f7791817 SOLR-1520: support trie types, fix issues with failing tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215352 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 23:51:12 +00:00
Uwe Schindler e9a2796c85 Add missing consistency check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215349 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 23:47:16 +00:00
Robert Muir a55f511a77 LUCENE-3650: move o.a.l.index.codecs to o.a.l.codecs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215245 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 19:03:12 +00:00
Simon Willnauer a6cbca19a0 Speed up SegementDocsEnum by making it more friendly for JIT optimizations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215060 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 08:43:35 +00:00
Robert Muir 18febd69e4 LUCENE-2208: improve charfilter offset testing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215038 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 04:37:47 +00:00
Robert Muir 5421461aba LUCENE-3374: sometimes turn on NRTCachingDirectory in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215018 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 01:52:41 +00:00
Chris M. Hostetter b3d2c99128 SOLR-2972: Fix JoinQParser so it doesn't force the 'lucene' parser to be used for the sub query
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215001 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 00:25:13 +00:00
Chris M. Hostetter 4d75ef3d42 SOLR-1520: revert r1214937 as it breaks several tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214997 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 00:01:38 +00:00
Grant Ingersoll fde5bdc871 SOLR-1520: support trie types
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214937 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 19:55:51 +00:00
Uwe Schindler 1ae0ccbcc9 LUCENE-3606: Remove more dead code from SegmentReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214867 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 17:06:21 +00:00
Michael McCandless fd7c848ef5 revert last commit; maybe there's a real but here...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214758 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 13:49:55 +00:00
Michael McCandless 909f6533fe don't use slow codecs for this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214747 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 13:36:46 +00:00
Uwe Schindler 51a8ec6037 LUCENE-3531: remove NOTICE.txt entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214555 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 23:44:36 +00:00
Uwe Schindler 0cc80b6e74 LUCENE-3531: Version 2 of the CachingWrapperFilter with deletes/acceptDocs caching
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214551 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 23:37:36 +00:00
Chris M. Hostetter 03762c4be5 SOLR-2956: Fixed inconsistencies in the flags (and flag key) reported by the LukeRequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214540 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 23:21:56 +00:00
Michael McCandless 69ed5533dd LUCENE-3638: add sugar to load only specific fields for document from IR/IS.document
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214449 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 20:28:08 +00:00
Steven Rowe 60929a5adb LUCENE-3645: Remove unnecessary array wrapping when calling varargs methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214413 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 19:15:47 +00:00