Commit Graph

399 Commits

Author SHA1 Message Date
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
Robert Muir 38fa222128 LUCENE-3559: remove IndexSearcher.maxDoc/docFreq
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1197458 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 09:35:15 +00:00
Shai Erera 23de4c514b LUCENE-3556: make DirectoryTaxonomyWriter's indexWriter private
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1196982 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 07:41:40 +00:00
Shai Erera 52ab4cb9a8 LUCENE-3552: rename LuceneTaxonomyReader/Writer to DirectoryTaxonomyReader/Writer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1196963 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 06:26:22 +00:00
Shai Erera cd9606a8b1 LUCENE-3549: remove DocumentBuilder from trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1196940 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 04:23:44 +00:00
Shai Erera 145d7503a3 LUCENE-3549: port to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1196474 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 07:07:07 +00:00
Simon Willnauer a4794c135b LUCENE-3542: Group expanded query terms to preserve parent boolean operator in StandardQueryParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1195275 13f79535-47bb-0310-9956-ffa450edef68
2011-10-30 23:14:50 +00:00
Robert Muir d5601eb371 SOLR-2276: Support for cologne phonetic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1195082 13f79535-47bb-0310-9956-ffa450edef68
2011-10-30 01:00:06 +00:00
Robert Muir f5ee5914b0 LUCENE-3527: Implement getDistance() on DirectSpellChecker.INTERNAL_LEVENSHTEIN
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1195081 13f79535-47bb-0310-9956-ffa450edef68
2011-10-30 00:36:32 +00:00
Steven Rowe e644d6f84c LUCENE-3536: lucene-join and lucene-facet artifacts now go where they belong under 'ant generate-maven-artifacts'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1188940 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 21:54:05 +00:00
Uwe Schindler 94f98ab7f3 LUCENE-1536: Filters can now be applied down-low, if their DocIdSet implements a new bits() method, returning all documents in a random access way
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1188624 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 12:11:15 +00:00
Uwe Schindler a91efbedd1 LUCENE-3530: Remove deprecated methods in CompoundTokenFilters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1188613 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 11:31:16 +00:00
Uwe Schindler ec186e7280 LUCENE-3508: Decompounders based on CompoundWordTokenFilterBase can now be used with custom attributes. All those attributes are preserved and set on all added decompounded tokens
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1188597 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 10:44:36 +00:00
Robert Muir f21ac2f58c LUCENE-3301: add workaround for jre breakiterator bugs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1187900 13f79535-47bb-0310-9956-ffa450edef68
2011-10-23 14:55:25 +00:00