Commit Graph

40 Commits

Author SHA1 Message Date
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
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
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
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 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
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
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
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
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
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
Christopher John Male 8d28270460 LUCENE-3470: Changed Field constructor signatures order to value, fieldtype
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176773 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 08:07:16 +00:00
Dawid Weiss eee77d22ef SOLR-2762: FSTLookup returns one less suggestion than it should when onlyMorePopular=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1172006 13f79535-47bb-0310-9956-ffa450edef68
2011-09-17 16:12:36 +00:00
Robert Muir edd8822929 LUCENE-3436: fix javadocs warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171582 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 14:16:33 +00:00
Robert Muir 28ae5a5763 LUCENE-3436: remove deprecations from trunk / dont use deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171570 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 14:05:46 +00:00
Robert Muir c0965ed3a2 LUCENE-3436: add spellchecker SuggestMode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171556 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 13:41:29 +00:00
Dawid Weiss 90b9f7cbe2 Typo.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171068 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 12:13:17 +00:00
Dawid Weiss e83e9dfbf3 SOLR-2762: Adding more unit tests, but can't reproduce or figure out where off-by-one could happen here.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171066 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 12:07:51 +00:00
Michael McCandless 3ed03b8488 LUCENE-3405: rename IOUtils.close methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1162394 13f79535-47bb-0310-9956-ffa450edef68
2011-08-27 16:25:46 +00:00
Michael McCandless 4dad0ba89f LUCENE-2308: cutover to FieldType
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1162347 13f79535-47bb-0310-9956-ffa450edef68
2011-08-27 13:27:01 +00:00
Michael McCandless b7846ffaa1 LUCENE-3030: add BlockTreeTermsReader/Writer, a more efficient tree-structure for the terms dictionary
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159905 13f79535-47bb-0310-9956-ffa450edef68
2011-08-20 19:20:45 +00:00
Robert Muir 31e3b272c5 LUCENE-3351: DirectSpellChecker throws NPE if field doesn't exist
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1152669 13f79535-47bb-0310-9956-ffa450edef68
2011-08-01 00:55:10 +00:00
Shai Erera 561723eca6 LUCENE-3307: don't require an analyzer, if all fields are NOT_ANALYZED
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1147530 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 05:30:50 +00:00
Robert Muir bbd85816c8 LUCENE-3306: disable positions for spellchecker ngram fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1145957 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 11:22:31 +00:00
Robert Muir 1c646d24c9 LUCENE-2048: omit positions but keep term freq
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1145594 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 13:31:22 +00:00
Michael McCandless fbf9f4ccad LUCENE-3289: add options to FST Builder to tradeoff RAM/CPU used during build vs how small the resulting FST is
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1145292 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:53:13 +00:00
Robert Muir 015ecfa0a0 LUCENE-3233: improve ram/perf of SynonymFilter, add wordnet parsing, nuke contrib/wordnet
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1145158 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 12:58:52 +00:00
Robert Muir 6f6b3cbc5a LUCENE-3250: remove contrib/misc,wordnet,suggest dependencies on modules/analysis
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1140394 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 01:44:15 +00:00
Michael McCandless cf0e5ec467 LUCENE-3225: add TermsEnum.seekExact(BytesRef); renamne existing methods to seekCeil/seekExact
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1139788 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 13:33:58 +00:00
Michael McCandless c039e210b0 LUCENE-2548: don't intern field names
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138058 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 15:42:54 +00:00
Dawid Weiss 7614bedc9d LUCENE-3202: Add DataInput/DataOutput subclasses that delegate to an InputStream/OutputStream.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135506 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 12:03:56 +00:00
Simon Willnauer 2007a4b4e0 Remove @Version tags from JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1133805 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 11:43:35 +00:00
Robert Muir fb4c480591 add missing LICENSE/NOTICE for modules
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1130620 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 16:00:04 +00:00
Michael McCandless 150d8b3089 LUCENE-3140: move fst to .. on trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1128871 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 13:12:32 +00:00
Shai Erera c5f5f67b25 LUCENE-3147: MockDirectoryWrapper should track open file handles of IndexOutput
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1128830 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 05:48:36 +00:00
Steven Rowe d4aaf0ce3d LUCENE-2995: specialize the dist-maven target for the new suggest module so that the generate-maven-artifacts target can succeed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1128121 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 23:32:56 +00:00
Simon Willnauer 68a840c2b7 SOLR-2530: Remove Noggit CharArr from FieldType
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1127326 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 22:44:36 +00:00
Robert Muir f5048293b5 LUCENE-2995: factor out a shared spellchecking module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1126642 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 18:33:53 +00:00