Commit Graph

12298 Commits

Author SHA1 Message Date
Robert Muir b15b981081 LUCENE-3622: merge trunk (1212830:1213323)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1213405 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 20:13:02 +00:00
Robert Muir 7dc025bdce LUCENE-3642: fix invalid offsets from CharTokenizer, [Edge]NGramFilters, SmartChinese, add sanity check to BaseTokenStreamTestCase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213329 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 17:28:09 +00:00
Robert Muir 3899e18ca3 LUCENE-3640: Remove IndexSearcher.close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213117 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 00:21:40 +00:00
Uwe Schindler 3c00042ca0 LUCENE-3641: Fixed MultiReader to correctly propagate readerFinishedListeners to clones/reopened readers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213106 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 23:32:13 +00:00
Uwe Schindler 50cbfec8ff fix javadocs to no longer mention IR's commit().
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213099 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 23:02:50 +00:00
Michael McCandless 9a8bde3c8b LUCENE-3598: always call InfoStream.isEnabled before InfoStream.message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213085 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 21:55:45 +00:00
Robert Muir 118005d308 add closeable to SearcherManager
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213044 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 19:23:45 +00:00
Shai Erera 9e193b62bc LUCENE-3637: change IndexReader.decRef to call decrementAndGet
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213033 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 17:52:52 +00:00
Robert Muir 503097ac71 LUCENE-3636: make it possible to use SearcherManager with distributed stats
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213020 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 17:07:47 +00:00
Uwe Schindler 377332e696 LUCENE-3633: Improve DirectoryReader and MultiReader to use IOUtils when IOExceptions occur during opening segments; minor tweaks in BaseMultiReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213016 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 15:43:34 +00:00
Uwe Schindler bf13918e16 fix generics violation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213013 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 15:30:23 +00:00
Uwe Schindler 77ee519468 LUCENE-3633: Remove more code duplication -> readerIndex is already available in ReaderUtil. Also fix bug in docId checking. Moved the check to implementation, so its also done if DocFieldVisitor is used.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1213006 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 14:44:32 +00:00
Uwe Schindler 1757f192ac Remove invalid use of Exception for something it was not intended to
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212994 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 11:25:06 +00:00
Uwe Schindler f4128bd21a Nuke useless too specialized Exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212990 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 11:08:57 +00:00
Uwe Schindler 757c98346d More dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212946 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 00:43:58 +00:00
Uwe Schindler 1d478ab5e3 nuke dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212945 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 00:39:19 +00:00
Uwe Schindler 73f5aad250 Merge changes in contrib/CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212909 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 22:39:51 +00:00
Uwe Schindler ad7cb17bc9 LUCENE-3626: Make PKIndexSplitter and MultiPassIndexSplitter work per segment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212894 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 22:07:32 +00:00
Robert Muir 9460775d26 LUCENE-3622: add some sanity checks for docvalues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1212888 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 21:44:34 +00:00
Robert Muir 0afa9de4e9 LUCENE-3622: move SortedBytesMergeUtils to index package (to eventually hook into MultiDocValues)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1212854 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 19:38:04 +00:00
Uwe Schindler 764059147f LUCENE-3633: Remove code duplication in MultiReader and DirectoryReader; make everything finally final :-)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212844 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 19:00:13 +00:00
Robert Muir 124728c974 LUCENE-3622: PerFieldDocValues -> DocValue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1212833 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 18:17:34 +00:00
Uwe Schindler 00e5695f20 Fix hidden bug in ReaderContextBuilder, as we never checked the context of a MultiReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212831 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 18:06:57 +00:00
Robert Muir 5627b52e70 LUCENE-3622: merge trunk (1212397:1212829)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1212830 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 18:05:08 +00:00
Robert Muir d0453d820c LUCENE-3606: use MultiDocValues in PR
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1212829 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 17:54:46 +00:00
Robert Muir 75d6217091 LUCENE-3622: PerDocValues -> PerDocProducer (privately used only by SegmentCoreReaders), simplify IR API and MultiDocValues, remove MultiPerDocValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1212828 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 17:43:00 +00:00
Robert Muir 39c2ae5268 remove dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212825 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 16:50:54 +00:00
Uwe Schindler 481d3b1cd3 LUCENE-3606: After reviewing clover output, add missing clone tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212790 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 13:28:27 +00:00
Uwe Schindler dd9cc8d4d0 Merged revision(s) 1212754 from lucene/dev/branches/branch_3x:
LUCENE-3630: Fixed naming of the internal method MultiReader.doOpenIfChanged(boolean doClone) that was overriding IndexReader.doOpenIfChanged(boolean readOnly), so changing the contract of the overridden method

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212755 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 09:51:42 +00:00
Yonik Seeley fd468d4e6b SOLR-2481: docs - move to 4.0 CHANGES section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212735 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 05:38:01 +00:00
Yonik Seeley 55be28de90 SOLR-2481: Add support for commitWithin in DataImportHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212731 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 05:33:30 +00:00
Uwe Schindler c720f4da78 LUCENE-3606: changes again
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212555 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 18:05:53 +00:00
Uwe Schindler 36b5e7447c LUCENE-3606: merge changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212545 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 17:54:08 +00:00
Robert Muir 4387ff6161 LUCENE-3622: fix naming issues, IDV->DV, ValueType -> DV.Type, move all DV user-facing api into .index, TypePromoter pkg-private, etc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1212506 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 16:43:45 +00:00
Stanisław Osiński cefa85954d SOLR-2942: ClassCastException when passing non-textual field for clustering
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212495 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 16:04:58 +00:00
Stanisław Osiński 97777fc0ec Adding newly supported fields to the list of fields to load.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212494 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 16:04:17 +00:00
Stanisław Osiński 011c812804 SOLR-2941: NullPointerException on clustering component initialization when schema does not have a unique key field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212493 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 16:03:42 +00:00
Stanisław Osiński 72637d6c1c SOLR-2940: Passing values for custom Carrot2 fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212492 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 16:02:09 +00:00
Stanisław Osiński 4d56384744 SOLR-2939: Clustering of multilingual search results
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212490 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 16:00:40 +00:00
Stanisław Osiński 4004e2abee SOLR-2938: Clustering on multiple fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212489 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 15:58:42 +00:00
Stanisław Osiński 8e52925f74 SOLR-2937: Configuring the number of contextual snippets used for search results clustering
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212488 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 15:57:36 +00:00
Stanisław Osiński 3e4748671a Tabs to spaces.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212486 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 15:54:39 +00:00
Robert Muir 2698e09434 LUCENE-3622: move DirectSource under codec, its specific to that format (indexinput etc)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1212447 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 14:42:21 +00:00
Martijn van Groningen 8a4104be28 SOLR-2955: Fixed IllegalStateException when querying with group.sort=score desc in sharded environment.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212420 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 13:49:03 +00:00
Robert Muir a9011dbd91 merge trunk (1211241:1212396)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1212405 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 13:30:38 +00:00
Martijn van Groningen 5e8c223baa SOLR-1499: Added SolrEntityProcessor that imports data from another Solr core or instance based on a specified query.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212394 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 13:17:12 +00:00
Uwe Schindler c59a66679a LUCENE-3606: Make IndexReader really read-only - hide an accidentally visible method again, fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212294 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 09:19:52 +00:00
Uwe Schindler 905a0f211c LUCENE-3606: Make IndexReader really read-only
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212292 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 09:13:39 +00:00
Robert Muir 9b15b1d3b0 consolidate assumes in ThaiAnalyzer test so we don't miss it for individual tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212141 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 21:47:12 +00:00
Michael McCandless 6a205c57ff LUCENE-3627: don't corrupt index from an errant 0-byte segments_N
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1212085 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 20:20:42 +00:00