Commit Graph

11802 Commits

Author SHA1 Message Date
Michael McCandless ed9f0fd5ef LUCENE-3668: if there's only 1 output for a synonym rule then set start/endOffset to match the full span of the input tokens
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1228650 13f79535-47bb-0310-9956-ffa450edef68
2012-01-07 16:26:15 +00:00
Simon Willnauer 40b3b75a6e LUCENE-3676: Support SortedSource in MultiDocValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1228293 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 17:27:07 +00:00
Erick Erickson c957cbea88 Added notes for SOLR-1931, speeding up the LukeRequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1227934 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 02:15:26 +00:00
Erick Erickson c0959adbfc SOLR-1931, speeding up the LukeRequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1227924 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 01:25:12 +00:00
Robert Muir 033efd7f10 LUCENE-3678: fix TestAddIndexes fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1227845 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 21:21:54 +00:00
Robert Muir fd7664d92b LUCENE-3628: consolidate exceptional cases and move comment to where it should be
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1227832 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 20:58:05 +00:00
Robert Muir bbfc831d52 LUCENE-3677: remove old byte[] norms api from IndexReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1227755 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 18:55:20 +00:00
Simon Willnauer 1f2f29ce48 LUCENE-3628: add missing getValueSource impl to Norm DocValues and fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1227704 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 17:15:35 +00:00
Simon Willnauer e4cb8e3a17 LUCENE-3628: Cut over Norms to DocValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1227676 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 16:21:17 +00:00
Steven Rowe d44531d05f LUCENE-3634: Maven configuration: Added ICU dependency to benchmark module.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1227659 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 16:02:38 +00:00
Steven Rowe d4505e65e3 LUCENE-3634: IntelliJ IDEA configuration: Added ICU dependency to benchmark contrib.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1227654 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 15:56:41 +00:00
Chris M. Hostetter 5fc8181c59 SOLR-1843: moving changes entry for 3x backport
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1227439 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 02:06:49 +00:00
Yonik Seeley 3fbe085a11 LUCENE-3667: re-enable replication test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1227201 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 16:00:27 +00:00
Michael McCandless 9ed760c624 move package name up
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1226895 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 17:44:54 +00:00
Michael McCandless ec3c3f81d9 LUCENE-3634: remove some old static main methods and other dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1226871 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 17:08:19 +00:00
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