Commit Graph

11900 Commits

Author SHA1 Message Date
Robert Muir 0ec321de3f LUCENE-3589: fix BytesRef.copy(short) to set its length and clean house on unused methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205836 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 14:09:56 +00:00
Shalin Shekhar Mangar 44fc56dc92 SOLR-2912 -- Fixed File descriptor leak in ShowFileRequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205774 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 10:11:06 +00:00
Uwe Schindler 1ba08eda03 * LUCENE-3588: Try harder to prevent SIGSEGV on cloned MMapIndexInputs: Previous versions of Lucene could SIGSEGV the JVM if you try to access the clone of an IndexInput retrieved from MMapDirectory. This security fix prevents this as best as it can by throwing AlreadyClosedException also on clones.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205430 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 15:13:50 +00:00
Simon Willnauer c83152ab64 SOLR-2911: add AS3ESS book to solr website
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205366 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 11:09:59 +00:00
Simon Willnauer 3238dc03dd SOLR-2911: add AS3ESS book to solr website
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205360 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 10:49:08 +00:00
Shalin Shekhar Mangar db391dfc79 SOLR-1565 -- StreamingUpdateSolrServer supports RequestWriter API and therefore, javabin update format
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205342 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 09:39:54 +00:00
Uwe Schindler 28c464c658 LUCENE-3200: Add extra safety to MMapDirectory (as it could still use unmapped curBuf)!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205152 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 20:18:43 +00:00
Steven Rowe 0546719498 LUCENE-2621: remove instantiated contrib from IntelliJ IDEA configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205064 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 16:26:29 +00:00
Erik Hatcher 387c0c00dd Fix typo, adjust formatting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205056 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 16:12:46 +00:00
Erik Hatcher 55e3696965 SOLR-2607: Remove deprecated client/ruby. RIP solr-ruby and flare
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205054 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 16:04:57 +00:00
Uwe Schindler bf853de71a fix javadoc typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1205021 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 14:40:55 +00:00
Uwe Schindler 01dbe51a3e Merged revision(s) 1204970 from lucene/dev/branches/branch_3x:
LUCENE-3464: Add javadocs about reopening FilterIndexReader

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204971 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 13:17:03 +00:00
Shalin Shekhar Mangar 25384f2098 SOLR-2904 -- Moving the changelog entry to the correct version 3.6 from 4.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204947 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 12:15:30 +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
Steven Rowe 705175cdcb LUCENE-3490: Maven configuration: put lucene-test-framework before lucene-core in the test classpath, via dependency ordering, to allow test-only read/write PreFlexRWCodec to fulfill Lucene3x codec requests instead of lucene-core's read-only Lucene3xCodec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204732 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 22:30:54 +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
Robert Muir baa92a6330 test javadocs in smoketester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204550 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 15:45:07 +00:00
Robert Muir 4656dfdb1e also check that loops are working in release candidates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204520 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 14:39:23 +00:00
Robert Muir abca92123b improve GPG checking to not emit bogus warning, and separately check trust
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204498 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 13:54:41 +00:00
Shalin Shekhar Mangar 20a43ad9dc SOLR-2904 -- BinaryUpdateRequestHandler should be able to accept multiple update requests from a stream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204453 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 11:32:53 +00:00
Simon Willnauer 356fa5d137 preparing Lucene 3.5 release adding 3.6 constants and changes sections
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204451 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 11:27:57 +00:00
Uwe Schindler cc050e725a merge the backwards changes to trunk (currently unused, but we will need those later)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204439 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 10:37:21 +00:00
Uwe Schindler 66ab542f2f LUCENE-3448: Make optimization for OpenBitSetIterator correctly exhaust iterator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204416 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 09:46:30 +00:00
Christopher John Male 2a68764f72 SOLR-1123: Added Uri to Changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204336 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 03:16:58 +00:00
Christopher John Male f55c72f928 SOLR-1123: Changed JSONResponseWriter content-type to be application/json by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204327 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 02:50:39 +00:00
Robert Muir b649e35381 fix documentation, this works fine with compound file now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204271 13f79535-47bb-0310-9956-ffa450edef68
2011-11-20 21:49:18 +00:00
Robert Muir 4a7da8e14e LUCENE-3580: fix broken DISIs in contrib/memory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204145 13f79535-47bb-0310-9956-ffa450edef68
2011-11-20 10:14:15 +00:00
Michael McCandless df8ece84c2 add some missing methods to NRTMgr; add sugar ctor not taking ES
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204009 13f79535-47bb-0310-9956-ffa450edef68
2011-11-19 16:15:08 +00:00
Uwe Schindler 4dc8f2c8b1 LUCENE-3582: Add javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203970 13f79535-47bb-0310-9956-ffa450edef68
2011-11-19 12:46:21 +00:00
Uwe Schindler eacfc1642d LUCENE-3582: Normalize NaN values in NumericUtils.floatToSortableInt() / NumericUtils.doubleToSortableLong(). Fix NumericRangeQuery to not falsely hit NaNs on half-open ranges (one bound is null)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203966 13f79535-47bb-0310-9956-ffa450edef68
2011-11-19 12:02:03 +00:00
Grant Ingersoll f91bf0bd48 SOLR-2037: hook in DocTransformer for QueryElevationComponent to mark documents that have been boosted
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203842 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 21:09:10 +00:00
Grant Ingersoll 00f5fef162 SOLR-2037: hook in DocTransformer for QueryElevationComponent to mark documents that have been boosted
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203839 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 21:07:13 +00:00
Michael McCandless 5267d23d46 LUCENE-3577: rename IW.expungeDeletes -> IW.forceMergeDeletes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203756 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 17:27:04 +00:00
Michael McCandless 74076d2ce8 fix a few cases where we fail to close IO if we hit exc during init
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203398 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 22:32:32 +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
Yonik Seeley 5a3b635239 example: commit by maxDocs normally doesn't make sense - remove from example, update descriptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203257 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 16:43:09 +00:00
Robert Muir eec8c92f9d LUCENE-3580: fix TVs to obey DISI contract for docID() before next/advance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203216 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 15:20:50 +00:00
Robert Muir 4548a5d3a3 LUCENE-3580: add check to AssertingIndexSearcher that scorers obey DISI contract before next/advance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1203206 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 14:45:23 +00:00
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