Commit Graph

412 Commits

Author SHA1 Message Date
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
Uwe Schindler a363e9b564 LUCENE-3606: Merge up to trunk r1212007
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1212008 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 18:01:13 +00:00
Martijn van Groningen b3a07fad1f LUCENE-3496: Replaced generating simple string with realistic unicode strings.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1211993 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 17:18:19 +00:00
Robert Muir 1ae93d3697 LUCENE-3606: javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1210498 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 15:33:15 +00:00
Robert Muir 8e77a1e5e1 LUCENE-3606: fix faceting tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1210489 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 15:05:26 +00:00
Robert Muir 1dc3a251c4 LUCENE-3606: remove indexreader modification tasks from benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1210486 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 14:57:44 +00:00
Robert Muir 3843ac5b8b LUCENE-3606: fix more tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1210308 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 01:59:11 +00:00
Michael McCandless 961b820e53 LUCENE-2929: specify up front if you need freqs from DocsEnum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1210176 13f79535-47bb-0310-9956-ffa450edef68
2011-12-04 18:50:58 +00:00
Dawid Weiss 3408defc8d JavaDoc clarifications. Removed unused parameter from one of the constructors.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1210173 13f79535-47bb-0310-9956-ffa450edef68
2011-12-04 18:38:32 +00:00
Michael McCandless c9ad724c19 sssshhhh
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1210116 13f79535-47bb-0310-9956-ffa450edef68
2011-12-04 14:35:46 +00:00
Martijn van Groningen 5037d1d5d2 Moved TestBlockJoin test into join package.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1209874 13f79535-47bb-0310-9956-ffa450edef68
2011-12-03 09:53:17 +00:00
Dawid Weiss 92de7e8848 SOLR-2888: FSTSuggester refactoring: internal storage is now UTF-8,
external sorting (on disk) prevents OOMs even with large data sets
(the bottleneck is now FST construction), code cleanups and API cleanups.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1209265 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 21:49:27 +00:00
Uwe Schindler 277c4a1a5d Merged revision(s) 1208375 from lucene/dev/branches/branch_3x:
LUCENE-3609: Fix regression in BooleanFilter, introduced in Lucene 3.5, to correctly handle minShouldMatch behaviour of previous versions

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1208381 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 11:08:45 +00:00
Chris M. Hostetter 3ed5106920 SOLR-2819: Improved speed of parsing hex entities in HTMLStripCharFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1208032 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 19:15:54 +00:00
Simon Willnauer 9a513f82dc LUCENE-3592: Make BytesRef#startsWith & BytesRef#endsWith static
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1207564 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 20:15:17 +00:00
Shai Erera 94dda4dcaa update facet/build.xml#jar-examples to include the source files as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1207012 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 08:21:21 +00:00
Doron Cohen ec660c7997 LUCENE-3596: DirectoryTaxonomyWriter extensions can now set internal index writer config attributes such as info stream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206996 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 07:05:44 +00:00
Michael McCandless dda0cd73a2 LUCENE-3600: close searchers in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206817 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 19:52:40 +00:00
Michael McCandless 3187a7a26b LUCENE-3600: fix BJQ to not trip assert when parent doc has no children
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206807 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 19:30:17 +00:00
Erick Erickson 098371446a SOLR-2438, allow an analysis chain to be created for multiterm query terms or synthesize one if not defined explicitly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206229 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 15:46:26 +00:00
Robert Muir 6870592252 LUCENE-3590: unbreak directspellchecker string handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206186 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 14:20:00 +00:00
Robert Muir 7f766cf603 LUCENE-3590: nuke BytesRef.utf8ToChars
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206174 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 13:55:41 +00:00
Robert Muir 233a289a66 LUCENE-3590: cut over new DV grouping collectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206156 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 13:28:43 +00:00
Robert Muir 3b6da22aa7 LUCENE-3590: clearly mark bogus deep-copying apis in BytesRef
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1206143 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 12:50:13 +00:00
Martijn van Groningen 9dd60fe58f LUCENE-3496: Support grouping by IndexDocValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205960 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 19:07:59 +00:00
Shai Erera abd95277d3 LUCENE-3583: LineDocSourceTest could still fail to delete some files - add more protection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204859 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 08:41:31 +00:00
Shai Erera cfe863797c LUCENE-3583: more safety changes to benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204851 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 08:14:50 +00:00
Shai Erera 67db0ed9d1 LUCENE-3583: port changes from 3x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204828 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 06:32:55 +00:00
Shai Erera b4f13d3915 port facet/userguide changes from 3x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204569 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 16:05:50 +00:00
Michael McCandless 9e27723b37 LUCENE-3562: stop caching thread-private TermsEnums in Terms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203294 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 17:35:42 +00:00
Robert Muir 873f199924 LUCENE-2621: move TermVectors,FieldInfos,SegmentInfos to codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202842 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 19:09:35 +00:00
Doron Cohen 0780806efe LUCENE-3573: TaxonomyReader.refresh() was broken if taxonomy index recreated since taxo reader last opened or refreshed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202754 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 15:59:43 +00:00
Robert Muir 598920d7bd LUCENE-3571: nuke IndexSearcher(Directory)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202657 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 12:19:41 +00:00
Shai Erera 5408d4d36c LUCENE-3579: DirectoryTaxonomyWriter should throw a proper exception if it was closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202593 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 08:56:31 +00:00
Shai Erera 9dd296a662 LUCENE-3269: speed up facet tests by creating indexing once per testcase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201678 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 12:16:31 +00:00
Shai Erera 5a38782c85 simplify CategoryListIteratorTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201626 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 08:13:01 +00:00
Uwe Schindler 19b9b3c96f LUCENE-3205: Remove MultiTermQuery get/inc/clear totalNumberOfTerms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201329 13f79535-47bb-0310-9956-ffa450edef68
2011-11-12 21:13:20 +00:00
Michael McCandless 19889d6873 LUCENE-3454: rename IW.optimize -> IW.forceMerge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201036 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 19:50:51 +00:00
Shai Erera 7b4eed2664 fix ContentItemsSource.printStatistics to print only if verbose
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200756 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 07:58:54 +00:00
Michael McCandless 5200e8e38f LUCENE-3443: port 3.x's FieldCache.getDocsWithField to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200480 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 19:13:50 +00:00
Simon Willnauer ee293e7e7d fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200111 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 03:32:33 +00:00
Simon Willnauer c0a7abbec0 LUCENE-2564: Cut over WordListLoader to CharArrayMap/Set and use CharSetDecoder to detect encoding problems early
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200091 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 01:52:48 +00:00
Simon Willnauer dc6b4b6533 LUCENE-2564: Cut over WordListLoader to CharArrayMap/Set and use CharSetDecoder to detect encoding problems early
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200080 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 01:21:25 +00:00
Robert Muir dc716ad4eb LUCENE-2621: javadocs warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1199839 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 16:44:17 +00:00
Robert Muir 7877d1ff07 LUCENE-2621: fix codec to own the filenames and merging of stored fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1199779 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 14:52:33 +00:00
Erick Erickson 130ec534c5 Fix for SOLR-2829. False-positives on cache hits.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1198024 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 19:20:37 +00:00
Michael McCandless f014029aa5 LUCENE-3539: try to include resource desc (file path for Dir impls based on file system) when we throw IOExc, for better transparency/debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1197690 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 17:48:11 +00:00
Robert Muir fa6500fa6c LUCENE-3490: restructure codec hierarchy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1197603 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 15:43:35 +00:00
Robert Muir 369a07a196 LUCENE-3557: SpellChecker should take IWC, remove sneaky silent optimize() methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1197469 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 09:54:55 +00:00