Commit Graph

11610 Commits

Author SHA1 Message Date
Robert Muir 4597d97e68 LUCENE-3580: fix postingsreaders to obey DISI contract
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203190 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 13:58:59 +00:00
Simon Willnauer 87ac7de453 SOLR-2902: List of collations are wrong parsed in SpellCheckResponse
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203114 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 08:55:10 +00:00
Chris M. Hostetter 2a94133a2c SOLR-2578: ReplicationHandler's backup command now supports a 'numberToKeep' param that can be used to delete all but the most recent N backups.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202969 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 01:33:21 +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
Michael McCandless 0605da2de1 LUCENE-3575: remove sops / dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202718 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 14:28:34 +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
Chris M. Hostetter 3508d03220 SOLR-2813: Fix HTTP error codes returned when requests contain strings that can not be parsed as numbers for Trie fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202499 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 01:27:26 +00:00
Yonik Seeley 67478264b5 SOLR-2895: call commit tracker after doc is added
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202428 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 21:26:54 +00:00
Michael McCandless f865f7935e LUCENE-3578: don't allow string field DocValue sort with SlowMultiReaderWrapper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202394 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 19:36:27 +00:00
Michael McCandless d4c8f29e23 LUCENE-3572: throw exc if you try to sort by term/ord on doc values field, yet it exists but cannot provide a sorted source
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202384 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 19:17:08 +00:00
Simon Willnauer 54e30039cd fixed changes.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202157 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 12:32:31 +00:00
Simon Willnauer 0c11dd55d3 SOLR-1023: added Changes.txt entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202152 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 12:20:36 +00:00
Simon Willnauer 25731ea3f7 SOLR-2895: call CommitTracker#addedDocument after document is added
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1202107 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 09:28:46 +00:00
Michael McCandless 6121b823ea LUCENE-3575: SegmentMerger sometimes thought bulk merge was safe when it wasn't
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201973 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 00:12:32 +00:00
Michael McCandless a7c9644098 add comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201971 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 00:03:08 +00:00
Ryan McKinley ea4f87fd25 SOLR-2877: Adding explicit map constructor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201900 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 21:09:01 +00:00
Ryan McKinley 04a9b55618 SOLR-1023: StatsComponent can now support dates (and other non-numeric fields)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201855 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 19:58:04 +00:00
Robert Muir 5682889026 LUCENE-3533: nuke spanfilters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201787 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 17:02:30 +00:00
Steven Rowe f389654f9c SOLR-2382: Switch javadoc tag @solr.experimental to @lucene.experimental (the build's javadoc invocation does not include @solr.experimental, and @lucene.experimental is already used in many places in Solr's code)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201784 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 16:48:09 +00:00
Uwe Schindler c1f11fbb81 LUCENE-3574: Small fix: use the ident() hack to prevent inlining the constant into foreign class files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201758 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 15:46:04 +00:00
Uwe Schindler 627817bed3 Merged revision(s) 1201739 from lucene/dev/branches/branch_3x:
LUCENE-3574: Deprecate outdated constants in org.apache.lucene.util.Constants and add new ones for Java 6 and Java 7

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201741 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 15:08:57 +00:00
Michael McCandless 0a225a1cc2 can't sort by DocValues string field if reader is SlowMultiReaderWrapper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201701 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 13:46:07 +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
Noble Paul e7294aab77 SOLR-2382 Support pluggable caching implementations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201659 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 10:27:51 +00:00
Simon Willnauer 97a1a647cc fix spelling error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201645 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 09:25:32 +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
Erick Erickson 4145656bb5 Adding date tests to SOLR-2134
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201484 13f79535-47bb-0310-9956-ffa450edef68
2011-11-13 19:29:17 +00:00
Michael McCandless dbd48a72e4 LUCENE-3518: enable sorting by sorted source doc values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201440 13f79535-47bb-0310-9956-ffa450edef68
2011-11-13 15:26:36 +00:00
Robert Muir 2cdf3fa14d LUCENE-3314: disable check to prevent false fails and expand javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201393 13f79535-47bb-0310-9956-ffa450edef68
2011-11-13 02:12:56 +00:00
Uwe Schindler 82c51029f8 LUCENE-3205: Re-add missing extra test for empty enums, also fix distance, as only negative numbers were tested (because of reduced test document count)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201375 13f79535-47bb-0310-9956-ffa450edef68
2011-11-13 00:28:49 +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 c4be668e90 LUCENE-3454: add CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201266 13f79535-47bb-0310-9956-ffa450edef68
2011-11-12 14:09:54 +00:00
Simon Willnauer 36bb0c83ec fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201191 13f79535-47bb-0310-9956-ffa450edef68
2011-11-12 05:19:41 +00:00
Simon Willnauer 03cc612036 LUCENE-2822: prevent TimeLimitedCollector from starting a statically referenced thread
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201165 13f79535-47bb-0310-9956-ffa450edef68
2011-11-12 02:22:06 +00:00
Michael McCandless 789cb13f69 LUCENE-3454: missed a rename
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201129 13f79535-47bb-0310-9956-ffa450edef68
2011-11-12 00:43:15 +00:00
Michael McCandless dc7704b284 LUCENE-3454: fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201123 13f79535-47bb-0310-9956-ffa450edef68
2011-11-12 00:38:33 +00:00
Michael McCandless 70c58b9845 add comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201099 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 23:29:13 +00:00
Michael McCandless fd447cbaff fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201058 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 21:27:22 +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 a39e04bb08 fix build.xml bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200854 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 12:35:04 +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
Robert Muir 9eeece3338 add missing commitVectors for fields[0]
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200682 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 01:17:03 +00:00
Michael McCandless 53d75ec1ef LUCENE-3443: add comments & CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200676 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 01:07:46 +00:00
Robert Muir 43a9ab1672 fix test coverage regression (using preflex codec way too much)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200527 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 20:22:10 +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
Michael McCandless 8a1245cf41 fix thread safety issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200440 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 17:27:52 +00:00
Yonik Seeley 32bfbfe380 add more asserts to catch EOF, ensure that tlog files start at pos 0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200438 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 17:23:42 +00:00
Shai Erera 969afcf642 rename LTC.registerTempFile to registerTempDir, clarified javadocs. Also fixed _TestUtil.rmDir() to not throw NPE if a 'file' is given
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200403 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 16:16:50 +00:00