Commit Graph

751 Commits

Author SHA1 Message Date
Uwe Schindler f252c064f2 LUCENE-3735: Fix PayloadProcessorProvider to no longer use Directory for lookup, instead AtomicReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239052 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 10:51:40 +00:00
Uwe Schindler 3f99c3c2fd LUCENE-3733: simplier way to test for closed reader...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238892 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 01:00:03 +00:00
Michael McCandless 8e40ea5bf8 LUCENE-3742: fix token offset for hangs-off-end output in SynonymFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238851 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 23:01:55 +00:00
Uwe Schindler 6b51b542b7 Remove redundant cast
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238119 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 00:50:58 +00:00
Uwe Schindler 1648670485 LUCENE-2858: Fix remaining TODO: Re-add FieldCache insanity checking, got lost as tricky to implement
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238112 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 00:33:19 +00:00
Uwe Schindler 57e33cf135 LUCENE-2858: fix remaining nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1238050 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 22:31:51 +00:00
Uwe Schindler 18533af348 LUCENE-2858: Fix Javadoc warnings, still missing some text for new classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1238026 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 21:45:08 +00:00
Uwe Schindler 9a6e69cf8d LUCENE-2858: Add a workaround for the broken PayloadProcessorProvider API that behaves like before our change (IR.directory() threw UOE for all non-directory based readers). I will open an issue to make PayloadProcessorProvider to get an AtomicReader instance as selection criteria for the processor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237692 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 14:56:02 +00:00
Uwe Schindler 721de54e8c LUCENE-2858: Fix facets module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237618 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 12:19:21 +00:00
Uwe Schindler bfa1dec595 LUCENE-2858: Move the ReaderContexts out of their enclosing classes and make top-level classes. Makes import statements not so verbose and its much easier to understand. Prevent subclassing of IndexReader and IndexReaderContext directly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237596 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 10:46:30 +00:00
Uwe Schindler 20fde71669 LUCENE-2858: Hide ReaderContext ctors for users. You should only get top contexts from the reader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237512 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 00:35:08 +00:00
Uwe Schindler 2d4c738067 LUCENE-2858: Rename AtomicIndexReader -> AtomicReader, CompositeIndexReader -> CompositeReader. Contexts not yet changed!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237508 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 23:50:54 +00:00
Uwe Schindler 10ba9abeb2 Reverse merged revision(s) from lucene/dev/trunk up to 1237502
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237505 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 23:19:05 +00:00
Michael McCandless d1165b1972 LUCENE-3725: add optional packing to FSTs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237500 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 22:48:45 +00:00
Robert Muir adf080e451 LUCENE-2858: fix benchmarks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237335 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 16:42:21 +00:00
Robert Muir acefe212c1 LUCENE-2858: fix modules facet (partially)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237330 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 16:34:57 +00:00
Robert Muir 4ef047b892 LUCENE-2858: fix grouping module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237325 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 16:24:30 +00:00
Robert Muir f38af41141 LUCENE-2858: fix join module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237321 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 16:03:40 +00:00
Robert Muir 45c377007f LUCENE-2858: fix queries module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237320 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 16:00:32 +00:00
Robert Muir 6d4484cb4a LUCENE-2858: fix qp module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237314 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 15:25:35 +00:00
Robert Muir 1906da16d0 LUCENE-2858: fix spellchecker
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237313 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 15:17:43 +00:00
Robert Muir d7fe56ddae LUCENE-2858: fix analyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1237312 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 15:16:04 +00:00
Steven Rowe 97d62cc383 Fix offset array assertion off-by-one
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236912 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 22:43:48 +00:00
Robert Muir f640687877 LUCENE-3720: add warning+experimental and disable test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236341 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 18:26:07 +00:00
Martijn van Groningen 5644c6aa18 LUCENE-3602: Fixed documentation error.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236143 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 11:21:26 +00:00
Robert Muir a2443fa4ff missing license headers in suggest package
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236012 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 01:10:31 +00:00
Shai Erera 640741783d minor jdoc fixes for PerfTask
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235714 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 10:42:00 +00:00
Robert Muir 6edfe4f157 LUCENE-3717: add tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235199 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 10:40:46 +00:00
Robert Muir 35a73d5f55 LUCENE-3717: fix broken offsets in ngramtokenizers, and check return value of Reader.read
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235187 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 09:50:21 +00:00
Robert Muir 7fafdd3576 LUCENE-3717: add checkRandomData to more analyzers and fix more offsets bugs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234850 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 15:19:58 +00:00
Steven Rowe 059410d424 LUCENE-3690: fix handling of unpaired numeric character entity UTF-16 surrogates to output U+FFFD REPLACEMENT CHARACTER; and add handling of properly paired numeric character entity UTF-16 surrogates, to output the corresponding pair of code units.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234687 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 07:36:38 +00:00
Robert Muir c754c1c9c8 LUCENE-3717: add better offsets testing to BaseTokenStreamTestCase, fix offsets bugs in ThaiWordFilter and ICUTokenizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234652 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 00:08:52 +00:00
Robert Muir a7cfee6b07 SOLR-2891: fix CompoundWordTokenFilter to not create invalid offsets when the length of the text was changed by a previous filter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234546 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 16:41:06 +00:00
Steven Rowe f3a363708f LUCENE-3690: Re-implemented HTMLStripCharFilter as a JFlex-generated scanner. Fixes LUCENE-2208, SOLR-882, and SOLR-42.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234452 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 05:20:46 +00:00
Shai Erera 17fe719bb5 LUCENE-3703: Calling DirectoryTaxonomyReader.refresh() could mess up reference counting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234451 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 05:14:45 +00:00
Uwe Schindler af9b4d816f LUCENE-3671: Add TypeTokenFilter that filters tokens based on their TypeAttribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234396 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 19:02:44 +00:00
Martijn van Groningen ac8befe5c3 LUCENE-3602: Fixed some typos.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1233918 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 14:15:42 +00:00
Robert Muir dea4b911da LUCENE-3646: throw exception for fieldcache on non-atomic reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232444 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 15:34:43 +00:00
Robert Muir e869b1fbf7 LUCENE-3700: give enough ram so that you can build naist-jdic with java 5
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232274 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 02:27:31 +00:00
Robert Muir f562a8a0dc LUCENE-3700: optionally support naist-jdic for kuromoji
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232268 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 02:20:24 +00:00
Robert Muir 48c01e5a2b LUCENE-3699: share baseform with surface and flag if the reading can be computed from surface
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232265 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 02:12:27 +00:00
Robert Muir c902f63125 unbreak clover/nightly builds until we do this right
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232254 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 01:37:28 +00:00
Martijn van Groningen ac6679a7b6 - Added licence and notice files to join module.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232228 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 23:31:57 +00:00
Martijn van Groningen 6d4f6b0978 - Removed changes.txt from grouping module and moved the entries to the changes.txt in Lucene contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232227 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 23:30:16 +00:00
Martijn van Groningen 7cdb8028c1 LUCENE-3602: Added query time joining.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232223 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 23:16:35 +00:00
Robert Muir 12c9b8b4bf LUCENE-3699: simplify dictionary access and reduce tokeninfodictionary 1.5MB
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232120 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 19:19:48 +00:00
Robert Muir 354a3be78f LUCENE-3696: fix dictionary construction to work on java5
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232012 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 14:50:09 +00:00
Michael McCandless 87bc4521c2 LUCENE-3695: move some confusing FST sugar out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231795 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 23:25:38 +00:00
Michael McCandless 11f33ee521 LUCENE-3684: add offsets to postings APIs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231794 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 23:17:45 +00:00
Michael McCandless 9de01b56eb LUCENE-3453: simplify DocValues/Field API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231791 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 23:05:13 +00:00
Robert Muir fbd34b4390 cleanups to 4.x CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231552 13f79535-47bb-0310-9956-ffa450edef68
2012-01-14 18:24:48 +00:00
Yonik Seeley b2a0040e98 tests: silliness
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231526 13f79535-47bb-0310-9956-ffa450edef68
2012-01-14 16:59:36 +00:00
Michael McCandless 5ca66287ea woops
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231513 13f79535-47bb-0310-9956-ffa450edef68
2012-01-14 15:20:58 +00:00
Michael McCandless d584f6361d LUCENE-3685: add ToChildBlockJoinQuery, to join from parent to child
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231512 13f79535-47bb-0310-9956-ffa450edef68
2012-01-14 15:17:04 +00:00
Robert Muir 8b8c2b4dee LUCENE-3690: since this filter handles all kinds of bad partial and wierd input, this should be fine to enable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231272 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 19:46:30 +00:00
Robert Muir 2ff4bdb04f enable assertions when executing various tools
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1231013 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 11:36:50 +00:00
Robert Muir 05a65507af LUCENE-3305: optimization, don't retrieve the base form twice in this filter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1230769 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 20:36:58 +00:00
Robert Muir 4ebdc0872a LUCENE-3305: sorry Mike (thanks for the help with the FST optimization)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1230756 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 20:24:40 +00:00
Robert Muir cd372bdc83 LUCENE-3305: add Kuromoji Japanese morphological analyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1230748 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 20:10:48 +00:00
Shai Erera d74db06ddf LUCENE-3686: CategoryEnhancement must override Object.equals()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1230431 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 07:43:42 +00:00
Simon Willnauer 3b8458f6de use TEST_VERSION_CURRENT instead of 4_0 in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1229523 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 12:46:38 +00:00
Simon Willnauer f19317d318 SOLR-3020: Add KeywordAttribute support to HunspellStemFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1229519 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 12:33:29 +00:00
Michael McCandless cdb2ee8a7b LUCENE-3679: replace IR.getFieldNames with IR.getFieldInfos
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1229401 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 22:29:40 +00:00
Michael McCandless defd51a11b fix syn test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1228704 13f79535-47bb-0310-9956-ffa450edef68
2012-01-07 19:28:07 +00:00
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
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
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
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
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
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 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
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
Grant Ingersoll f42b2ffd63 SOLR-2950: Improve QEC performance by dropping field cache use and keeping a local smaller map
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1220983 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 22:39:01 +00:00
Shai Erera 76ee67257d LUCENE-3635: Allow setting arbitrary objects on PerfRunData
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1220795 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 15:26:42 +00:00
Uwe Schindler 9b938f0dcd LUCENE-3652: Fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215497 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 14:27:04 +00:00
Uwe Schindler ac96d90b53 LUCENE-3652: Move org.apache.lucene.messages to QueryParser module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215480 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 12:57:41 +00:00
Robert Muir a55f511a77 LUCENE-3650: move o.a.l.index.codecs to o.a.l.codecs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215245 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 19:03:12 +00:00
Robert Muir 18febd69e4 LUCENE-2208: improve charfilter offset testing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215038 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 04:37:47 +00:00
Steven Rowe 60929a5adb LUCENE-3645: Remove unnecessary array wrapping when calling varargs methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1214413 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 19:15:47 +00:00
Robert Muir eb173852ba LUCENE-3622: merge trunk (1213324:1213812)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1213825 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 18:23:22 +00:00
Robert Muir 701000cf27 LUCENE-3622: function DocValues -> FunctionValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1213426 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 20:33:26 +00:00
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
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
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
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
Michael McCandless bc84eb4df2 LUCENE-3522: fix NPE in TermsFilter when field is missing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1185120 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 12:22:19 +00:00
Robert Muir 7af9fbd16d LUCENE-3521: upgrade icu jar to 4.8.1.1 / remove lucenetestcase hack
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1183738 13f79535-47bb-0310-9956-ffa450edef68
2011-10-15 21:48:50 +00:00
Michael McCandless a7997c549f LUCENE-3519: BlockJoinCollector shouldn't return null for 2nd BlockJoinQuery's TopGroups
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1183458 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 18:34:45 +00:00
Robert Muir 9ba4ce2ed5 javadocs fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1182505 13f79535-47bb-0310-9956-ffa450edef68
2011-10-12 18:20:41 +00:00
Doron Cohen bd067ee329 LUCENE-3501: random sampler was not random (and so facet SamplingWrapperTest occasionally failed)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1181760 13f79535-47bb-0310-9956-ffa450edef68
2011-10-11 12:54:45 +00:00
Doron Cohen 664a7191dd LUCENE-3261: Facet benchmarking - indexing support - ported from 3x.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1180674 13f79535-47bb-0310-9956-ffa450edef68
2011-10-09 18:01:36 +00:00
Martijn van Groningen 70a7363fdb LUCENE-3483: Move Function grouping collectors from Solr to grouping module.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1179808 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 20:09:36 +00:00
Robert Muir 026f36a734 LUCENE-3495: BlockJoinQuery doesnt implement boost, but other parts of lucene expect this works
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1179762 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 18:52:37 +00:00
Jan Høydahl 22dcd39d9e SOLR-2792: Allow case insensitive Hunspell stemming
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1179459 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 22:08:55 +00:00
Shai Erera 7576b7c2c3 rename two private members in LuceneTaxonomyReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1179214 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 13:23:01 +00:00
Michael McCandless 86124e2667 small cleanups to TestGrouping to try to make it easier to understand
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1179203 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 12:52:23 +00:00
Shai Erera e910534b7a LUCENE-3485: port 3x to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1179194 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 12:24:05 +00:00
Doron Cohen e1560a8e81 LUCENE-3484: Fix NPE in TaxonomyWriter: parents array creation was not thread safe.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1178923 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 19:30:05 +00:00
Michael McCandless ae43014041 LUCENE-3464: rename IR.reopen -> IR.openIfChanged, and return null (not old reader) if there are no changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1178612 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 22:07:00 +00:00
Robert Muir b4ff06f88e LUCENE-3474: pass Bits to weight.scorer instead of weights pulling their own from the reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177879 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 01:03:35 +00:00
Michael McCandless ec2b654231 LUCENE-3477: add explicit breaks in jflex sources so we don't hit compiler warnings; fix a couple other warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177723 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 16:23:24 +00:00
Martijn van Groningen 7cbcf2a2de LUCENE-3468: Replaced last() and remove() with pollLast() in FirstPassGroupingCollector
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1177008 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 18:40:22 +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
Christopher John Male 67c13bd2fe LUCENE-3455: Renamed Analyzer.reusableTokenStream to Analyzer.tokenStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176728 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 05:26:54 +00:00
Robert Muir 34220d0e1f LUCENE-3469: move DocumentStoredFieldVisitor to o.a.l.document
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176494 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 18:06:19 +00:00
Robert Muir dc4450207f remove dead code: Document.getFields(String) cannot return null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176389 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 14:04:44 +00:00
Christopher John Male fe3982c746 LUCENE-3455: Moved remaining Analysis consumers over to using reusableTokenStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176191 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 04:07:38 +00:00
Chris M. Hostetter 9bdaa028d6 SOLR-2757: min/max functions now take unlimited number of arguments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1176097 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 22:03:31 +00:00
Christopher John Male 0bed3142bb LUCENE-3455: Test Analysis consumers now use reusableTokenStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175670 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 04:58:48 +00:00
Doron Cohen e57f2ca698 LUCENE-3457: Upgrade commons-compress to 1.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175475 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 18:15:18 +00:00
Michael McCandless 2028a88d4f add assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175397 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 14:10:42 +00:00
Uwe Schindler f0ca4c49ef LUCENE-3458: Change BooleanFilter to have only a single clauses ArrayList (so toString() works in order). It now behaves more like BooleanQuery, implements Iterable<FilterClause>, and allows adding Filters without creating FilterClause. Also cleaned up formatting and Test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175385 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 12:48:56 +00:00
Shai Erera 151c26e7d9 LUCENE-3261: Faceting module userguide
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175341 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 09:20:59 +00:00
Christopher John Male 4ff0b2f82c LUCENE-3396: Collapsing Analyzer and ReusableAnalyzerBase together, mandating use of TokenStreamComponents
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175297 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 05:10:25 +00:00
Christopher John Male 5d4502ad0a LUCENE-2309: Moved to Field.tokenStream(Analyzer)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1174506 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 03:16:37 +00:00
Uwe Schindler 573ecd5d7b LUCENE-3446: Fix NPE in BooleanFilter when DocIdSet/DocIdSetIterator is null. Converted code to FixedBitSet and simplified.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1174380 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 20:49:00 +00:00
Robert Muir e182c59b9d LUCENE-2215: add IndexSearcher.searchAfter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1173423 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 23:26:09 +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
Martijn van Groningen 96c4bb7074 SOLR-2066: Added support for distributed grouping.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171970 13f79535-47bb-0310-9956-ffa450edef68
2011-09-17 12:48:27 +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
Christopher John Male 318911200d LUCENE-3434: Removed state changing setters in ShingleAnalyzerWrapper and PerFieldAnalyzerWrapper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1170942 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 03:21:17 +00:00
Christopher John Male 94028fe11a LUCENE-3431: Removed deprecated addStopwords methods in QueryAutoStopWordAnalyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1170424 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 03:33:50 +00:00
Christopher John Male 3597bc4bf4 LUCENE-3396: Converted simple Analyzers which got lost in merging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1169654 13f79535-47bb-0310-9956-ffa450edef68
2011-09-12 09:00:42 +00:00
Christopher John Male 4c5606ee29 LUCENE-3396: Converted most Analyzers over to using ReusableAnalyzerBase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1169607 13f79535-47bb-0310-9956-ffa450edef68
2011-09-12 05:50:26 +00:00
Robert Muir a027a35583 nocommit -> TODO
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1169474 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 16:39:59 +00:00
Robert Muir cfaf91c739 LUCENE-2959: add state of the art ranking to Lucene
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1169470 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 15:47:21 +00:00
Christopher John Male ffb3cbee57 LUCENE-2308: Moved over to using IndexableFieldType interface
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1167668 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 04:07:52 +00:00
Christopher John Male e3172b9239 LUCENE-3414: Added Hunspell for Lucene
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1167467 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 06:00:39 +00:00
Koji Sekiguchi 9e15eeaa86 LUCENE-1889: add MultiTermQuery support for FVH
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1166954 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 01:36:53 +00:00
Uwe Schindler 31495a1d2c LUCENE-1768: Cleanup in trunk (removal of deprecated stuff, unused subclasses in between)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1166789 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 16:47:50 +00:00
Robert Muir 128aaf8387 LUCENE-3410: move changes to 3.5 and nuke deprecated code in trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1166770 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 15:56:01 +00:00
Robert Muir b265d499f2 LUCENE-3417: DictionaryCompoundWordFilter did not properly add tokens from the end compound word
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1166728 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 14:59:15 +00:00
Erik Hatcher 8c973d1a5e Relocate changes for surround query parser to new queryparser-specific CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1166708 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 14:24:16 +00:00
Christopher John Male c0f05e7b37 LUCENE-3419: Added epsilons and fixed deprecated junit assertion usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1166582 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 09:24:40 +00:00
Uwe Schindler 5ec2a2289a LUCENE-1768: Add missing changes.txt entries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1166457 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 22:55:25 +00:00
Erik Hatcher 35e7439ca4 LUCENE-2945: Fix equals/hashCode for surround query parser generated queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1166156 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 13:04:29 +00:00
Christopher John Male 4b44bd7d83 LUCENE-3410: Deprecated multi-int constructors in WordDelimiterFilter. Now uses int bitfield
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1165995 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 04:43:10 +00:00
Christopher John Male 7f90632562 LUCENE-3286: Consolidated XML QP into queryparser module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1165174 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 05:53:28 +00:00
Michael McCandless 5e4944b84b LUCENE-2308: more cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1163251 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 15:05:14 +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
Christopher John Male 0f2d7ad556 LUCENE-3397: Cleaned up remaining test TSs and PatterAnalyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1161986 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 04:16:19 +00:00
Christopher John Male 0f443840c4 LUCENE-3397: Cleaned up test TokenStream reusability
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1161488 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 10:42:29 +00:00
Christopher John Male 1057d24e7f LUCENE-3400: Removed DutchAnalyzer.setStemDictionary
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1161484 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 10:32:21 +00:00
Christopher John Male 0ef9c3c25f LUCENE-3376: Moved ReusableAnalyzerBase to core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1160117 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 06:01:31 +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
Christopher John Male 993ce74121 LUCENE-3381: Sandboxed remaining contrib queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159846 13f79535-47bb-0310-9956-ffa450edef68
2011-08-20 04:57:58 +00:00
Christopher John Male 4f2fc58301 LUCENE-3271: Moved 'good' queries into queries module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158997 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 02:36:32 +00:00
Robert Muir ed387369dd LUCENE-3330: revise Scorer visitor API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158916 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 21:12:39 +00:00
Robert Muir caf468b938 LUCENE-3378: add a QPTestBase for shared QP test methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158861 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 18:34:04 +00:00
Robert Muir a5d2d78cec LUCENE-3378: nuke another useless custom test-classpath
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158857 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 18:21:41 +00:00
Robert Muir efbdae6dd2 LUCENE-3378: remove unneeded special test-classpaths in build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158821 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 16:45:37 +00:00
Robert Muir 99ac972281 LUCENE-3378: move collationtestbase to tests-framework
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158819 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 16:43:13 +00:00
Robert Muir 8a0578dfe2 LUCENE-3378: move VocabularyAssert to test-framework
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158730 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 14:19:15 +00:00
Robert Muir 7eab19aff7 LUCENE-3375: fix synonyms bug where keepOrig=false would discard unmatched inputs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158342 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 16:01:05 +00:00
Robert Muir f7237cb165 LUCENE-3361: remove api deprecations in trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1154943 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 12:17:33 +00:00
Robert Muir ef56f5d551 LUCENE-3361: port url+email tokenizer to standardtokenizerinterface, fix combining marks bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1154936 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 11:57:59 +00:00
Martijn van Groningen 0bc43983c4 SOLR-2665: Added post group faceting.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1154676 13f79535-47bb-0310-9956-ffa450edef68
2011-08-07 09:02:33 +00:00
Robert Muir 2dda5bc35f LUCENE-3358: StandardTokenizer wrongly discarded combining marks attached to Han/Hiragana
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1154005 13f79535-47bb-0310-9956-ffa450edef68
2011-08-04 20:49:47 +00:00
Adriano Crestani Campos cffd01664b -committing patch from LUCENE-3343 and LUCENE-3338 to trunk
-fixed javadoc reference to QueryNode in StandardSyntaxParser.jj

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1152892 13f79535-47bb-0310-9956-ffa450edef68
2011-08-01 18:57:05 +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
Koji Sekiguchi 149d3de96d LUCENE-3129: fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1152417 13f79535-47bb-0310-9956-ffa450edef68
2011-07-30 02:46:21 +00:00
Steven Rowe 23d22e4d47 LUCENE-3337: avoid building jar files unless necessary in build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1151720 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 04:02:09 +00:00
Martijn van Groningen 198ec93b4e LUCENE-3097: Fixed documentation error. FixedBitSet is now used instead of OpenBitSet.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150794 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 17:22:46 +00:00
Uwe Schindler b6c1db99d3 LUCENE-1768: Javadocs (week-8)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150671 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 12:45:41 +00:00
Martijn van Groningen de074e9535 LUCENE-3097: Fixed documentation error. FixedBitSet is now used instead of OpenBitSet.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150663 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 12:22:42 +00:00
Martijn van Groningen 708101f91e LUCENE-3097: Fix for build failure.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150613 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 10:01:56 +00:00
Uwe Schindler 014dee7cf5 revert accidental commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150488 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 21:22:07 +00:00
Uwe Schindler 9c73f9d03b LUCENE-3336: Speed up javadocs-all builds by minimizing compile costs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150486 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 21:19:42 +00:00
Martijn van Groningen 49075985fb LUCENE-3097: Added a new grouping collector that can be used to retrieve all most relevant documents per group.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150470 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 19:06:51 +00:00
Robert Muir 3626220146 use a different character for test, one that is still enclosing mark in 6.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150091 13f79535-47bb-0310-9956-ffa450edef68
2011-07-23 12:18:48 +00:00
Robert Muir 4af23c6d84 fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1147887 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 14:15:10 +00:00
Robert Muir 07bfe50eda LUCENE-3326: MoreLikeThis reuses a reader after it has already closed it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1147881 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 13:56:49 +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
Uwe Schindler 2e14617e19 LUCENE-1768: Fix DateFormat handling, don't lowercase numeric terms. Improve test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1146984 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 07:08:37 +00:00
Christopher John Male a684f6d497 LUCENE-3285: Moved flexible queryparser to queryparser module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1146548 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 02:56:54 +00:00
Christopher John Male 6b700e1183 LUCENE-3271: Moved MoreLikeThis to queries module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1146542 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 02:07:11 +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
Christopher John Male b3671752f2 LUCENE-3285: Moved analyzing, complexphrase, etx and surround queryparsers to qp module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1145430 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 02:22:24 +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
Michael McCandless a17df303e9 LUCENE-3280: add FixedBitSet and cutover most of Lucene
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1145239 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 16:52:11 +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
Koji Sekiguchi 6b1e514df9 fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1145133 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 12:07:13 +00:00
Christopher John Male 5f30bedccc LUCENE-3283: Moved core QueryParsers to queryparser module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1145016 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 03:37:00 +00:00
Shai Erera b23bafce93 enforce in-order merges
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144781 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 05:47:55 +00:00
Steven Rowe 9e020991ef Merged with trunk up to r1144714
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr2452@1144715 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 18:50:54 +00:00
Christopher John Male f16f395a30 LUCENE-3284: Decoupled remaining module/contrib tests from QueryParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144566 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 01:11:18 +00:00
Steven Rowe 88fe5d121f Merged with trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr2452@1144510 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 21:02:20 +00:00
Simon Willnauer 6c5621f16c fixed dead store variable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144269 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 11:26:03 +00:00
Simon Willnauer feb9739bf7 merged with trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/LUCENE2793@1144189 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 08:09:32 +00:00
Steven Rowe 4505c08643 SOLR-2452: merged with trunk up r1144161; applied the svn movement script and the latest version of the post-svn-movement patch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr2452@1144174 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 06:41:23 +00:00
Robert Muir ea67cd8b2c LUCENE-2392: decouple vector space scoring from Query/Weight/Scorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144158 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 05:08:05 +00:00
Simon Willnauer 4be688e68d merged with trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/LUCENE2793@1143719 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:03:58 +00:00
Michael McCandless b55eeb510d LUCENE-3246: invert getDelDocs to getLiveDocs as pre-cursor for LUCENE-1536
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143415 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 13:54:38 +00:00
Christopher John Male 36330b50b4 LUCENE-3274: Collapsed common module into lucene core util, removed module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143234 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 00:28:34 +00:00
Robert Muir 6e25bef3ef LUCENE-3269: speed up top-k sampling tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143122 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 16:13:15 +00:00
Yonik Seeley 06a3778905 SOLR-1932: add sumtotaltermfreq
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1143091 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 15:06:24 +00:00
Shai Erera d04561c703 LUCENE-3268: make TestScoredDocIDsUtils more robust to document deletions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1142676 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 14:06:38 +00:00
Yonik Seeley 3f5c0eca5b SOLR-1932: add totaltermfreq to relevancy functions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1142481 13f79535-47bb-0310-9956-ffa450edef68
2011-07-03 19:02:57 +00:00
Shai Erera b1afef02f9 remove references to old bug tracking system numbers from facet code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1142388 13f79535-47bb-0310-9956-ffa450edef68
2011-07-03 07:49:58 +00:00
Shai Erera e92db313d4 LUCENE-3268: fixed TestScoredDocIDsUtils to use log-merge policy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1142386 13f79535-47bb-0310-9956-ffa450edef68
2011-07-03 07:44:01 +00:00
Christopher John Male 08b8b9b789 LUCENE-3267: Consolidated Lucene core's function impls into new module. Removed remainder
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141747 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 23:20:31 +00:00
Dawid Weiss 796fa6def3 JavaDoc warnings squashed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141689 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 19:52:31 +00:00
Dawid Weiss dab351a096 Changing the licensing from CC-SA (approved by Apache anyway, but we don't want any issues) to MPL (we've got an agreement from Marcin Milkowski; the license statement has been updated in Morfologik's repository too.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141673 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 19:16:32 +00:00
Dawid Weiss 29b09032d3 LUCENE-2341: integrating morfologik (Polish stemming/ morphosyntactic dictionary) as an analysis module.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141671 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 19:12:54 +00:00
Robert Muir cec86dbc06 LUCENE-3264: crank up faceting module tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141629 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 17:16:36 +00:00
Michael McCandless 9285e08bce LUCENE-3260: fix wrong result from MultiTermsEnum.next() after seekExact
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141593 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 16:05:42 +00:00
Uwe Schindler 988b53e499 Facets: Remove stupid array->List method and use Array.asList in example
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141518 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 12:53:13 +00:00
Robert Muir 295706f9f8 LUCENE-3239: remove use of slow Arrays.copyOf
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141510 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 12:42:17 +00:00
Simon Willnauer b843dfe839 LUCENE-3239: Drop Java 5 support on trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141501 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 12:14:36 +00:00
Doron Cohen e1d37f5e09 LUCENE-3142: benchmark/stats package is obsolete and unused - remove it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141465 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 10:00:52 +00:00
Steven Rowe cfcf3a249d Put join in its place in the alphabetically sorted module lists.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141396 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 05:03:59 +00:00
Christopher John Male 2266c70ce4 LUCENE-3256: Consolidated CustomScoreQuery and BoostedQuery into Queries module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141366 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 02:31:22 +00:00
Robert Muir 4291f52c70 LUCENE-3079: faceting module (port to trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141246 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 21:02:07 +00:00
Michael McCandless 2b8ef42a5c LUCENE-3171: fixup CHANGES, add missing @Override
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141170 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 17:14:13 +00:00
Dawid Weiss f85c4e7c88 Reverting 1141022 (needs to wait for 1.6 support).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141032 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 10:00:36 +00:00
Dawid Weiss d188d3df90 LUCENE-2341: integrating morfologik (Polish stemming/ morphosyntactic dictionary) as an analysis module.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141022 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 09:24:14 +00:00
Christopher John Male a993ae9032 LUCENE-3249: Moved FunctionQuery impls to new Queries module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1140906 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 23:32:27 +00:00
Michael McCandless 4a3b510739 LUCENE-3171: add modules/join to enable joining parent + child documents when indexed as a doc block
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1140851 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 21:20:18 +00:00
Robert Muir dc328b0714 add placeholder to stop eclipse whining
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1140658 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 14:45:55 +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
Christopher John Male b3f0ae9b7a LUCENE-3240: Moved FunctionQuery, ValueSource and DocValues to new queries module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1140379 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 23:45:18 +00:00
Robert Muir b5f676b992 add empty tests dir, to stop eclipse whining
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1139985 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 00:55:55 +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
Christopher John Male 06653e0e62 LUCENE-3232: Fixed duplicate ant project name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1139489 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 04:08:55 +00:00
Christopher John Male f37c1aaead LUCENE-3232: Added missing overview.html
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1139480 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 02:11:31 +00:00
Christopher John Male 9bf4c3fd8f LUCENE-3232: Moved MutableValues to common module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1139467 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 00:03:35 +00:00
Yonik Seeley a7a7108ec8 SOLR-2564: add pollLast to deal with performance regression due to Java5/Java6 difference between modules and Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1138735 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 05:05:54 +00:00